Skip to content

Commit

Permalink
add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias committed Sep 24, 2024
1 parent eebf62e commit 0056d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixlib/fixlib/core/model_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def node_to_dict(node: BaseResource, changes_only: bool = False, include_revisio
if changes_only:
node_dict.update(node.changes.get())
else:
metadata = {"python_type": type_str(node), "categories": node.categories()}
metadata: Json = {"python_type": type_str(node), "categories": node.categories()}
if node.cleaned:
metadata["cleaned"] = True
if node.protected:
Expand Down

0 comments on commit 0056d1b

Please sign in to comment.