Skip to content

Commit

Permalink
refactor(imports): update field name
Browse files Browse the repository at this point in the history
Propagate Expression model field
rename from publication_date to
publication_date_manual_input to
import scripts.
  • Loading branch information
koeaw committed Apr 2, 2024
1 parent 9c97cb2 commit 9d80270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis_ontology/scripts/import_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def create_expression(
defaults={"data_source": source},
)
if pub_date:
expression.publication_date = pub_date
expression.publication_date_manual_input = pub_date
expression.save()

return expression, created
Expand Down

0 comments on commit 9d80270

Please sign in to comment.