files: syncing metadata changes for uploaded files #1618
Annotations
2 errors
invenio_records_resources/records/systemfields/files/manager.py#L1
Black format check
--- /home/runner/work/invenio-records-resources/invenio-records-resources/invenio_records_resources/records/systemfields/files/manager.py 2024-08-08 14:30:26.483987+00:00
+++ /home/runner/work/invenio-records-resources/invenio-records-resources/invenio_records_resources/records/systemfields/files/manager.py 2024-08-08 14:33:19.570609+00:00
@@ -369,11 +369,14 @@
# Check for metadata and access changes
for key, dest_rf in self.entries.items():
if key in src_files:
src_rf = src_files[key]
- if src_rf.metadata != dest_rf.metadata or src_rf.access != dest_rf.access:
+ if (
+ src_rf.metadata != dest_rf.metadata
+ or src_rf.access != dest_rf.access
+ ):
obj_or_key = dest_rf.object_version
self[key] = obj_or_key, dict(src_rf)
@Property
def entries(self):
|
|
This job failed
Loading