Skip to content

Commit

Permalink
add inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-maschler committed Sep 27, 2023
1 parent 0a721a3 commit f0942c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stac_pydantic/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def validate_extensions(
if isinstance(stac_obj, dict):
stac_dict = stac_obj
else:
# can't use `stac_obj.model_dump()` here
# b/c jsonschema expects pure string representations, not python types
stac_dict = json.loads(stac_obj.model_dump_json())

try:
Expand Down

0 comments on commit f0942c3

Please sign in to comment.