From b5a6a38c0c7b7a7417608dfaca2a7ce75894f406 Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Fri, 23 Feb 2024 16:01:10 -0700 Subject: [PATCH] feat(odbc): adding odbc data source to config --- netsuite/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netsuite/config.py b/netsuite/config.py index 0924764..b616e85 100644 --- a/netsuite/config.py +++ b/netsuite/config.py @@ -19,8 +19,12 @@ class TokenAuth(BaseModel): class Config(BaseModel): account: str auth: TokenAuth + log_level: t.Optional[str] = None + # TODO ODBC is not yet fully supported, but this is the first step + odbc_data_source: t.Literal["NetSuite.com", "NetSuite2.com"] = "NetSuite.com" + # TODO: Support OAuth2 # auth: Union[OAuth2, TokenAuth]