Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__='0.6.1'
__version__ = "0.6.1"
4 changes: 2 additions & 2 deletions src/pyconnectwise/clients/connectwise_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _make_request( # noqa: C901
# I don't like having to cast the params to a dict, but it's the only way I can get mypy to stop complaining about the type.
# TypedDicts aren't compatible with the dict type and this is the best way I can think of to handle this.
if data:
response = requests.request( # noqa: S113
response = requests.request(
method,
url,
headers=headers,
Expand All @@ -80,7 +80,7 @@ def _make_request( # noqa: C901
stream=stream,
)
else:
response = requests.request( # noqa: S113
response = requests.request(
method,
url,
headers=headers,
Expand Down
2 changes: 2 additions & 0 deletions src/pyconnectwise/clients/manage_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def __init__(
# we need to except here
raise ManageCodebaseError()
self.codebase: str = codebase_request
else:
self.codebase: str = codebase

# Initializing endpoints
@property
Expand Down
4 changes: 3 additions & 1 deletion src/pyconnectwise/models/manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9883,7 +9883,9 @@ class Member(ConnectWiseModel):
invoice_screen_default_tab_format: Annotated[
Literal["ShowInvoicingTab", "ShowAgreementInvoicingTab"], Field(alias="invoiceScreenDefaultTabFormat")
]
invoice_time_tab_format: Annotated[Literal["SummaryList", "DetailList"] | None, Field(alias="invoiceTimeTabFormat")] = None
invoice_time_tab_format: Annotated[
Literal["SummaryList", "DetailList"] | None, Field(alias="invoiceTimeTabFormat")
] = None
invoicing_display_options: Annotated[
Literal["RemainOnInvoicingScreen", "ShowRecentInvoices"], Field(alias="invoicingDisplayOptions")
]
Expand Down