Skip to content

Commit

Permalink
Make pylance happy with explicit type
Browse files Browse the repository at this point in the history
  • Loading branch information
terjekv committed Apr 22, 2024
1 parent b8fbce5 commit eb37282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mreg_cli/api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

def get_field_aliases(field_info: FieldInfo) -> Set[str]:
"""Get all aliases for a Pydantic field."""
aliases = set()
aliases: set[str] = set()

if field_info.alias:
aliases.add(field_info.alias)
Expand Down

0 comments on commit eb37282

Please sign in to comment.