Skip to content

Commit

Permalink
Testing: Add type annotations to utils.py; rucio#6588
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio committed Mar 25, 2024
1 parent bed3f05 commit 9b64331
Show file tree
Hide file tree
Showing 2 changed files with 139 additions and 86 deletions.
8 changes: 8 additions & 0 deletions lib/rucio/common/types.py
Expand Up @@ -178,3 +178,11 @@ class RuleDict(TypedDict):
class DIDDict(TypedDict):
name: str
scope: InternalScope


class IPDict(TypedDict):
ip: str
fqdn: str
site: str
latitude: Optional[float]
longitude: Optional[float]

0 comments on commit 9b64331

Please sign in to comment.