Skip to content

Commit

Permalink
Fix type error on mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMwangi21 committed Dec 24, 2024
1 parent bbdeab6 commit bcaafda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def get(self, req, lookup) -> ListCursor:

async def merge_planning_type(self, planning_type: dict[str, Any], default_planning_type: dict[str, Any]):
# Update schema fields with database schema fields
default_type = {"schema": {}, "editor": {}}
default_type: dict[str, Any] = {"schema": {}, "editor": {}}
updated_planning_type = deepcopy(default_planning_type or default_type)

updated_planning_type.setdefault("groups", {})
Expand Down

0 comments on commit bcaafda

Please sign in to comment.