Skip to content

Commit c04402b

Browse files
author
Jordi Sanchez
committed
Merge branch 'add_components_parameters_support' of https://github.com/jsanchez7SC/openapi-python-client into add_components_parameters_support
2 parents da9af67 + 59f17fc commit c04402b

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

Diff for: openapi_python_client/templates/property_templates/union_property.py.jinja

-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ if isinstance({{ source }}, {{ inner_property.get_instance_type_string() }}):
7171
{% set ns.has_if = true %}
7272
{% elif not loop.last or ns.contains_properties_without_transform %}
7373
elif isinstance({{ source }}, {{ inner_property.get_instance_type_string() }}):
74-
{% set has_first_clause = true %}
7574
{% else %}
7675
else:
7776
{% endif %}

Diff for: poetry.lock

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ include = ["CHANGELOG.md", "openapi_python_client/py.typed"]
2121
[tool.poetry.dependencies]
2222
python = "^3.7"
2323
jinja2 = "^3.0.0"
24-
typer = "^0.4"
24+
typer = "^0.6"
2525
colorama = {version = "^0.4.3", markers = "sys_platform == 'win32'"}
2626
shellingham = "^1.3.2"
2727
black = "*"

0 commit comments

Comments
 (0)