We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 413a47d commit e29cef8Copy full SHA for e29cef8
tests/fixtures/codegen_snapshot_fixtures.py
@@ -20,6 +20,7 @@ def validate_codegen(
20
target_path: str,
21
client_name: str,
22
protocol_version: Literal["v1.1", "v2.0"],
23
+ typeddict_inputs: bool = True,
24
) -> None:
25
snapshot.snapshot_dir = snapshot_dir
26
files: dict[Path, UnclosableStringIO] = {}
@@ -35,7 +36,7 @@ def file_opener(path: Path) -> TextIO:
35
36
target_path=target_path,
37
client_name=client_name,
38
file_opener=file_opener,
- typed_dict_inputs=True,
39
+ typed_dict_inputs=typeddict_inputs,
40
method_filter=None,
41
protocol_version=protocol_version,
42
)
0 commit comments