Skip to content

Commit

Permalink
fix: union typing fix for old py
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Feb 28, 2024
1 parent fb48693 commit a73540e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netsuite/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class UsernamePasswordAuth(BaseModel):

class Config(BaseModel):
account: str
auth: TokenAuth | UsernamePasswordAuth
auth: t.Union[TokenAuth, UsernamePasswordAuth]

log_level: t.Optional[str] = None

Expand Down

0 comments on commit a73540e

Please sign in to comment.