Skip to content

Conversation

@alhendrickson
Copy link
Collaborator

The args/kwargs cause the save function to error out. I didnt test it before assuming they were probably just empty... but anyway this reverts #300

[medcattrainer]   File "/home/api/api/models.py", line 140, in save
[medcattrainer]     super().save(*args, update_fields=['concept_db', 'vocab'], **kwargs)
[medcattrainer]   File "/usr/local/lib/python3.11/site-packages/django/db/models/base.py", line 852, in save
[medcattrainer]     raise ValueError("Cannot force both insert and updating in model saving.")
[medcattrainer] ValueError: Cannot force both insert and updating in model saving.

@alhendrickson alhendrickson marked this pull request as ready for review January 21, 2026 12:29
@alhendrickson alhendrickson marked this pull request as draft January 21, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants