diff --git a/pyproject.toml b/pyproject.toml index 98709950..6024960b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "MergePythonClient" -version = "1.0.5" +version = "1.0.6" description = "" readme = "README.md" authors = [] diff --git a/src/merge/core/client_wrapper.py b/src/merge/core/client_wrapper.py index 79379ac5..c99ea863 100644 --- a/src/merge/core/client_wrapper.py +++ b/src/merge/core/client_wrapper.py @@ -21,7 +21,7 @@ def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", "X-Fern-SDK-Name": "MergePythonClient", - "X-Fern-SDK-Version": "1.0.5", + "X-Fern-SDK-Version": "1.0.6", } if self._account_token is not None: headers["X-Account-Token"] = self._account_token diff --git a/src/merge/resources/ats/resources/candidates/client.py b/src/merge/resources/ats/resources/candidates/client.py index 0423d67b..2fff9852 100644 --- a/src/merge/resources/ats/resources/candidates/client.py +++ b/src/merge/resources/ats/resources/candidates/client.py @@ -269,7 +269,7 @@ def ignore_create(self, model_id: str, *, reason: ReasonEnum, message: typing.Op message="deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39", ) """ - _request: typing.Dict[str, typing.Any] = {"reason": reason} + _request: typing.Dict[str, typing.Any] = {"reason": reason.value} if message is not OMIT: _request["message"] = message _response = self._client_wrapper.httpx_client.request( @@ -586,7 +586,7 @@ async def ignore_create(self, model_id: str, *, reason: ReasonEnum, message: typ message="deletion request by user id 51903790-7dfe-4053-8d63-5a10cc4ffd39", ) """ - _request: typing.Dict[str, typing.Any] = {"reason": reason} + _request: typing.Dict[str, typing.Any] = {"reason": reason.value} if message is not OMIT: _request["message"] = message _response = await self._client_wrapper.httpx_client.request(