Skip to content

Commit

Permalink
fix(web_api): allows empty layer groups (no layers)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh committed Jan 14, 2025
1 parent e0c99fb commit 0e36859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetta_utils/db_annotations/layer_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def from_dict(layer_group_id: str, raw_dict: Mapping) -> LayerGroupDBEntry:
created_by=raw_dict["created_by"],
modified_by=raw_dict.get("modified_by"),
collection=raw_dict["collection"],
layers=raw_dict["layers"],
layers=raw_dict.get("layers", []),
)


Expand Down

0 comments on commit 0e36859

Please sign in to comment.