We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac22f25 commit a61ae8bCopy full SHA for a61ae8b
nats/contrib/claims/models.py
@@ -19,7 +19,7 @@ class Claims(FlatteningModel):
19
20
# Nats Data
21
nats: Optional[Union[User, Account, Operator]]
22
- issuer_account: Optional[str | bytes]
+ issuer_account: Optional[Union[str, bytes]]
23
24
def __init__(
25
self,
@@ -31,7 +31,7 @@ def __init__(
31
nbf: Optional[int] = None,
32
sub: Optional[str] = None,
33
nats: Optional[Union[User, Account, Operator]] = None,
34
- issuer_account: Optional[str | bytes] = None,
+ issuer_account: Optional[Union[str, bytes]] = None,
35
):
36
self.exp: Optional[int] = exp
37
self.jti: Optional[str] = jti
0 commit comments