lemma-osu / gee-knn-python

0 stars 0 forks source link

Failed conversion to client-side `FeatureCollection` when attributes are missing #6

Closed grovduck closed 7 months ago

grovduck commented 7 months ago

Currently, the FeatureCollection class is a pydantic BaseModel that has optional attributes for version, id and properties. Because the implementation is not providing default values for these fields, ee.FeatureCollections without these properties do not validate. Likely need to provide default values for these attributes.