Skip to content

Commit

Permalink
docs: Add comment to related issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 1, 2024
1 parent d31ac9c commit 4094a57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions process/management/commands/file_worker.py
Expand Up @@ -256,6 +256,7 @@ def _store_data(collection_file, package, releases_or_records, data_type, upgrad
if upgrade:
with create_logger_note(collection_file.collection, "ocdskit"):
# upgrade_10_11() requires an OrderedDict. simplejson is used for native decimal support.
# This requirement can be removed: https://github.com/open-contracting/ocdskit/issues/164
release_or_record = upgrade_10_11(
json.loads(json.dumps(release_or_record, use_decimal=True), object_pairs_hook=OrderedDict)
)
Expand Down

0 comments on commit 4094a57

Please sign in to comment.