We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb6b71 commit 2078767Copy full SHA for 2078767
1 file changed
stac_fastapi/eodag/models/stac_metadata.py
@@ -94,6 +94,8 @@ def parse_instruments(cls, values: dict[str, Any]) -> dict[str, Any]:
94
values["instrument"] = (
95
",".join(instrument.split()).split(",") if isinstance(instrument, str) else instrument
96
)
97
+ if None in values["instrument"]:
98
+ values["instrument"].remove(None)
99
return values
100
101
@model_validator(mode="before")
0 commit comments