We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1226a19 commit 12aa267Copy full SHA for 12aa267
src/azul/plugins/repository/tdr_hca/__init__.py
@@ -74,8 +74,8 @@
74
MutableJSON,
75
MutableJSONs,
76
)
77
-from humancellatlas.data.metadata.api import (
78
- Entity,
+from humancellatlas.data.metadata import (
+ api,
79
80
81
log = logging.getLogger(__name__)
@@ -187,7 +187,7 @@ def file_from_row(cls, row: BigQueryRow) -> HCAFile:
187
descriptor = json.loads(row['descriptor'])
188
# FIXME: Move validation of descriptor to the metadata API
189
# https://github.com/DataBiosphere/azul/issues/6299
190
- Entity.validate_described_by(descriptor)
+ api.Entity.validate_described_by(descriptor)
191
return HCAFile.from_descriptor(descriptor,
192
uuid=descriptor['file_id'],
193
name=row['file_name'],
0 commit comments