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 ddec1fb commit 04f6b32Copy full SHA for 04f6b32
pystac/extensions/ext.py
@@ -406,7 +406,7 @@ def file(self) -> FileExtension[Asset]:
406
407
@property
408
def mlm(self) -> AssetGeneralMLMExtension[Asset] | AssetDetailedMLMExtension:
409
- if "mlm:name" in self.stac_object.extra_fields:
+ if "mlm:architecture" in self.stac_object.extra_fields:
410
return AssetDetailedMLMExtension.ext(self.stac_object)
411
else:
412
return AssetGeneralMLMExtension.ext(self.stac_object)
0 commit comments