Skip to content
Merged
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 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "MergePythonClient"

[tool.poetry]
name = "MergePythonClient"
version = "2.3.0"
version = "2.3.1"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/merge/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "MergePythonClient/2.3.0",
"User-Agent": "MergePythonClient/2.3.1",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "MergePythonClient",
"X-Fern-SDK-Version": "2.3.0",
"X-Fern-SDK-Version": "2.3.1",
**(self.get_custom_headers() or {}),
}
if self._account_token is not None:
Expand Down
6 changes: 3 additions & 3 deletions src/merge/resources/accounting/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,9 +834,9 @@ def linked_accounts(self):
@property
def passthrough(self):
if self._passthrough is None:
self._passthrough = resources_accounting_resources_passthrough_client_AsyncPassthroughClient(
client_wrapper=self._client_wrapper
)
from .resources.passthrough.client import AsyncPassthroughClient # noqa: E402

self._passthrough = AsyncPassthroughClient(client_wrapper=self._client_wrapper)
return self._passthrough

@property
Expand Down
6 changes: 3 additions & 3 deletions src/merge/resources/ats/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ def offices(self):
@property
def passthrough(self):
if self._passthrough is None:
self._passthrough = resources_ats_resources_passthrough_client_AsyncPassthroughClient(
client_wrapper=self._client_wrapper
)
from .resources.passthrough.client import AsyncPassthroughClient # noqa: E402

self._passthrough = AsyncPassthroughClient(client_wrapper=self._client_wrapper)
return self._passthrough

@property
Expand Down
6 changes: 3 additions & 3 deletions src/merge/resources/crm/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,9 @@ def opportunities(self):
@property
def passthrough(self):
if self._passthrough is None:
self._passthrough = resources_crm_resources_passthrough_client_AsyncPassthroughClient(
client_wrapper=self._client_wrapper
)
from .resources.passthrough.client import AsyncPassthroughClient # noqa: E402

self._passthrough = AsyncPassthroughClient(client_wrapper=self._client_wrapper)
return self._passthrough

@property
Expand Down
6 changes: 3 additions & 3 deletions src/merge/resources/filestorage/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,9 @@ def linked_accounts(self):
@property
def passthrough(self):
if self._passthrough is None:
self._passthrough = resources_filestorage_resources_passthrough_client_AsyncPassthroughClient(
client_wrapper=self._client_wrapper
)
from .resources.passthrough.client import AsyncPassthroughClient # noqa: E402

self._passthrough = AsyncPassthroughClient(client_wrapper=self._client_wrapper)
return self._passthrough

@property
Expand Down
6 changes: 3 additions & 3 deletions src/merge/resources/hris/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,9 @@ def locations(self):
@property
def passthrough(self):
if self._passthrough is None:
self._passthrough = resources_hris_resources_passthrough_client_AsyncPassthroughClient(
client_wrapper=self._client_wrapper
)
from .resources.passthrough.client import AsyncPassthroughClient # noqa: E402

self._passthrough = AsyncPassthroughClient(client_wrapper=self._client_wrapper)
return self._passthrough

@property
Expand Down
6 changes: 3 additions & 3 deletions src/merge/resources/ticketing/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,9 @@ def linked_accounts(self):
@property
def passthrough(self):
if self._passthrough is None:
self._passthrough = resources_ticketing_resources_passthrough_client_AsyncPassthroughClient(
client_wrapper=self._client_wrapper
)
from .resources.passthrough.client import AsyncPassthroughClient # noqa: E402

self._passthrough = AsyncPassthroughClient(client_wrapper=self._client_wrapper)
return self._passthrough

@property
Expand Down