Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"cliVersion": "4.17.0",
"cliVersion": "4.21.0",
"generatorName": "fernapi/fern-python-sdk",
"generatorVersion": "4.61.5",
"generatorConfig": {
"client_class_name": "PhenomlClient"
},
"sdkVersion": "8.1.0"
"sdkVersion": "9.0.0"
}
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 9.0.0 - 2026-03-10
* The `ErrorResponse` type has been removed from the `phenoml.summary` module. If your code imports or uses this type, you will need to remove those references as it was not used by any public API methods.

## 8.1.0 - 2026-03-09
* feat: add ServiceUnavailableError and TooManyRequestsError handling
* Add comprehensive error handling for HTTP 429 (Too Many Requests) and HTTP 503 (Service Unavailable) status codes across all FHIR client methods. This improves the client's robustness by properly handling rate limiting and temporary service unavailability scenarios.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]

[tool.poetry]
name = "phenoml"
version = "8.1.0"
version = "9.0.0"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/phenoml/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ def get_headers(self) -> typing.Dict[str, str]:
import platform

headers: typing.Dict[str, str] = {
"User-Agent": "phenoml/8.1.0",
"User-Agent": "phenoml/9.0.0",
"X-Fern-Language": "Python",
"X-Fern-Runtime": f"python/{platform.python_version()}",
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
"X-Fern-SDK-Name": "phenoml",
"X-Fern-SDK-Version": "8.1.0",
"X-Fern-SDK-Version": "9.0.0",
**(self.get_custom_headers() or {}),
}
token = self._get_token()
Expand Down
3 changes: 0 additions & 3 deletions src/phenoml/summary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
CreateSummaryRequestMode,
CreateSummaryResponse,
CreateSummaryTemplateResponse,
ErrorResponse,
FhirBundle,
FhirBundleEntryItem,
FhirResource,
Expand All @@ -28,7 +27,6 @@
"CreateSummaryRequestMode": ".types",
"CreateSummaryResponse": ".types",
"CreateSummaryTemplateResponse": ".types",
"ErrorResponse": ".types",
"FhirBundle": ".types",
"FhirBundleEntryItem": ".types",
"FhirResource": ".types",
Expand Down Expand Up @@ -71,7 +69,6 @@ def __dir__():
"CreateSummaryRequestMode",
"CreateSummaryResponse",
"CreateSummaryTemplateResponse",
"ErrorResponse",
"FhirBundle",
"FhirBundleEntryItem",
"FhirResource",
Expand Down
3 changes: 0 additions & 3 deletions src/phenoml/summary/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from .create_summary_request_mode import CreateSummaryRequestMode
from .create_summary_response import CreateSummaryResponse
from .create_summary_template_response import CreateSummaryTemplateResponse
from .error_response import ErrorResponse
from .fhir_bundle import FhirBundle
from .fhir_bundle_entry_item import FhirBundleEntryItem
from .fhir_resource import FhirResource
Expand All @@ -24,7 +23,6 @@
"CreateSummaryRequestMode": ".create_summary_request_mode",
"CreateSummaryResponse": ".create_summary_response",
"CreateSummaryTemplateResponse": ".create_summary_template_response",
"ErrorResponse": ".error_response",
"FhirBundle": ".fhir_bundle",
"FhirBundleEntryItem": ".fhir_bundle_entry_item",
"FhirResource": ".fhir_resource",
Expand Down Expand Up @@ -62,7 +60,6 @@ def __dir__():
"CreateSummaryRequestMode",
"CreateSummaryResponse",
"CreateSummaryTemplateResponse",
"ErrorResponse",
"FhirBundle",
"FhirBundleEntryItem",
"FhirResource",
Expand Down
23 changes: 0 additions & 23 deletions src/phenoml/summary/types/error_response.py

This file was deleted.

Loading