Skip to content

Commit 2a1f209

Browse files
committed
fix: add property for metadata import from external file
1 parent 9d2eb14 commit 2a1f209

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eodag/api/collection.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ class Collection(BaseModel):
9191
repr=False,
9292
)
9393

94+
# path to external collection metadata file
95+
eodag_stac_collection: Optional[str] = Field(
96+
default=None, alias="stacCollection", exclude=True, repr=False
97+
)
98+
9499
# Private property to store the eodag internal id value. Not part of the model schema.
95100
_id: str = PrivateAttr()
96101
_dag: Optional[EODataAccessGateway] = PrivateAttr(default=None)

0 commit comments

Comments
 (0)