Skip to content

Commit

Permalink
fix: optional log_level for real
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Oct 29, 2023
1 parent 5110138 commit f4b9a92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netsuite/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TokenAuth(BaseModel):
class Config(BaseModel):
account: str
auth: TokenAuth
log_level: t.Optional[str]
log_level: t.Optional[str] = None

# TODO: Support OAuth2
# auth: Union[OAuth2, TokenAuth]
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ python = ">=3.8"
authlib = ">=1,<3"
# As per httpx recommendation we will lock to a fixed minor version until 1.0 is released
httpx = "~0.25"
pydantic = ">=1,<3"
pydantic = "^2.4.2"
orjson = { version = "~3", optional = true }
ipython = { version = "~8", optional = true, python = "^3.8" }
zeep = { version = "~4", optional = true, extras = ["async"] }
Expand All @@ -38,6 +38,7 @@ odbc = ["pyodbc"]
soap_api = ["zeep"]
cli = ["ipython"]
orjson = ["orjson"]
# TODO doesn't --all-extras solve this for us?
all = ["zeep", "ipython", "orjson", "odbc"]

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit f4b9a92

Please sign in to comment.