Skip to content

Commit

Permalink
simplify type signature of PermissionScope fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Sep 29, 2023
1 parent 89f99ed commit b32f5ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dsp_permissions_scripts/models/scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@


class PermissionScope(BaseModel):
CR: list[str | BuiltinGroup] | None = None
D: list[str | BuiltinGroup] | None = None
M: list[str | BuiltinGroup] | None = None
V: list[str | BuiltinGroup] | None = None
RV: list[str | BuiltinGroup] | None = None
CR: list[str | BuiltinGroup] = []
D: list[str | BuiltinGroup] = []
M: list[str | BuiltinGroup] = []
V: list[str | BuiltinGroup] = []
RV: list[str | BuiltinGroup] = []


class StandardScope:
Expand Down

0 comments on commit b32f5ad

Please sign in to comment.