Skip to content

Commit

Permalink
Rules: Fix type annotations and formatting style; #6454
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio committed Mar 13, 2024
1 parent f18cab9 commit 36356db
Show file tree
Hide file tree
Showing 3 changed files with 381 additions and 220 deletions.
8 changes: 4 additions & 4 deletions lib/rucio/common/types.py
Expand Up @@ -166,11 +166,11 @@ class RuleDict(TypedDict):
copies: int
rse_expression: str
grouping: Literal['ALL', 'DATASET', 'NONE']
weight: str
lifetime: int
weight: Optional[str]
lifetime: Optional[int]
locked: bool
subscription_id: str
subscription_id: Optional[str]
source_replica_expression: Optional[str]
activity: str
notify: Optional[Literal['Y', 'N', 'C']]
notify: Optional[Literal['Y', 'N', 'C', 'P']]
purge_replicas: bool

0 comments on commit 36356db

Please sign in to comment.