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
6 changes: 3 additions & 3 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"cliVersion": "4.32.2",
"cliVersion": "4.42.1",
"generatorName": "fernapi/fern-python-sdk",
"generatorVersion": "4.61.5",
"generatorConfig": {
"client_class_name": "PhenomlClient"
},
"originGitCommit": "e3a7239a17a8ebeed78568e37a8bd984ce481838",
"sdkVersion": "9.2.0"
"originGitCommit": "529fd3587f1939a037d76bdad7d3c03614995ddc",
"sdkVersion": "9.2.1"
}
11 changes: 11 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 9.2.1 - 2026-03-23
* docs: update parameter documentation for auth methods
* Clarify that username and password parameters in authentication methods
* represent API credential client ID and client secret respectively, rather
* than user login credentials.
* Key changes:
* Update username parameter description from "The user's username or email" to "The API credential client ID"
* Update password parameter description from "The user's password" to "The API credential client secret"
* Apply changes consistently across both sync and async auth clients
* 🌿 Generated with Fern

## 9.2.0 - 2026-03-17
* The SDK now supports "meditech" as a FHIR provider option, enabling integration with Meditech healthcare systems.

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 = "9.2.0"
version = "9.2.1"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1513,15 +1513,15 @@ client.authtoken.auth.generate_token(
<dl>
<dd>

**username:** `str` — The user's username or email
**username:** `str` — The API credential client ID

</dd>
</dl>

<dl>
<dd>

**password:** `str` — The user's password
**password:** `str` — The API credential client secret

</dd>
</dl>
Expand Down
8 changes: 4 additions & 4 deletions src/phenoml/authtoken/auth/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ def generate_token(
Parameters
----------
username : str
The user's username or email
The API credential client ID

password : str
The user's password
The API credential client secret

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Expand Down Expand Up @@ -134,10 +134,10 @@ async def generate_token(
Parameters
----------
username : str
The user's username or email
The API credential client ID

password : str
The user's password
The API credential client secret

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Expand Down
8 changes: 4 additions & 4 deletions src/phenoml/authtoken/auth/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def generate_token(
Parameters
----------
username : str
The user's username or email
The API credential client ID

password : str
The user's password
The API credential client secret

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Expand Down Expand Up @@ -203,10 +203,10 @@ async def generate_token(
Parameters
----------
username : str
The user's username or email
The API credential client ID

password : str
The user's password
The API credential client secret

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
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/9.2.0",
"User-Agent": "phenoml/9.2.1",
"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": "9.2.0",
"X-Fern-SDK-Version": "9.2.1",
**(self.get_custom_headers() or {}),
}
token = self._get_token()
Expand Down
Loading