Skip to content

Commit 2a74ade

Browse files
l0lawrenceCopilot
andcommitted
docs(http-client-python): clarify generate_typeddict_only is not deprecated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c8b26a94-682b-4350-a424-97093fd1c183
1 parent 5b3caec commit 2a74ade

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/http-client-python/generator/pygen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, options: Optional[dict[str, Any]] = None) -> None:
5656

5757
@property
5858
def generate_typeddict_only(self) -> bool:
59-
"""Whether this is the deprecated TypedDict-only generation ('models-mode: none' + TypedDicts)."""
59+
"""Whether this is TypedDict-only generation ('models-mode: none' + TypedDicts)."""
6060
return is_typeddict_only(self)
6161

6262
def __getitem__(self, key: str) -> Any: # pylint: disable=too-many-return-statements

packages/http-client-python/generator/pygen/codegen/models/code_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_unique_types_alias(self, serialize_namespace: str, imported_namespace: s
177177

178178
@property
179179
def generate_typeddict_only(self) -> bool:
180-
"""Whether this is the deprecated TypedDict-only generation ('models-mode: none' + TypedDicts)."""
180+
"""Whether this is TypedDict-only generation ('models-mode: none' + TypedDicts)."""
181181
return is_typeddict_only(self.options)
182182

183183
@property

0 commit comments

Comments
 (0)