Skip to content
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def generate_project(
if generator_config.custom_config is not None and "recursion_limit" in generator_config.custom_config:
recursion_limit = generator_config.custom_config.get("recursion_limit")

enable_wire_tests = False
enable_wire_tests = True
if generator_config.custom_config is not None and "enable_wire_tests" in generator_config.custom_config:
enable_wire_tests = generator_config.custom_config.get("enable_wire_tests")

Expand Down
2 changes: 1 addition & 1 deletion generators/python/src/fern_python/codegen/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(
filepath: str,
relative_path_to_project: str,
python_version: str = "^3.8",
enable_wire_tests: bool,
project_config: Optional[ProjectConfig] = None,
sorted_modules: Optional[Sequence[str]] = None,
flat_layout: bool = False,
Expand All @@ -52,7 +53,6 @@ def __init__(
exclude_types_from_init_exports: Optional[bool] = False,
lazy_imports: bool = True,
recursion_limit: Optional[int] = None,
enable_wire_tests: bool = False,
generator_exec_wrapper: Optional[GeneratorExecWrapper] = None,
) -> None:
relative_path_to_project = relative_path_to_project.replace(".", "/")
Expand Down
4 changes: 2 additions & 2 deletions generators/python/src/fern_python/codegen/pyproject_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def __init__(
pypi_metadata: Optional[PypiMetadata],
github_output_mode: Optional[GithubOutputMode],
license_: Optional[LicenseConfig],
enable_wire_tests: bool,
extras: typing.Dict[str, List[str]] = {},
enable_wire_tests: bool = False,
user_defined_toml: Optional[str] = None,
):
self._name = name
Expand Down Expand Up @@ -198,7 +198,7 @@ class DependenciesBlock(Block):
dependencies: Set[Dependency]
dev_dependencies: Set[Dependency]
python_version: str
enable_wire_tests: bool = False
enable_wire_tests: bool

def deps_to_string(self, dependencies: Set[Dependency]) -> str:
deps = ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class SDKCustomConfig(pydantic.BaseModel):
# the recursion limit is at least this value.
recursion_limit: Optional[int] = pydantic.Field(None, gt=1000)

enable_wire_tests: bool = False
enable_wire_tests: bool = True

custom_pager_name: Optional[str] = None

Expand Down
201 changes: 200 additions & 1 deletion seed/pydantic/accept-header/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/accept-header/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/alias-extends/no-custom-config/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/alias-extends/no-custom-config/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/alias/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/alias/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/any-auth/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/any-auth/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/api-wide-base-path/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/api-wide-base-path/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/audiences/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/audiences/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/auth-environment-variables/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/auth-environment-variables/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/basic-auth-environment-variables/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/basic-auth-environment-variables/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

201 changes: 200 additions & 1 deletion seed/pydantic/basic-auth/poetry.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions seed/pydantic/basic-auth/pyproject.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading