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.
ruff
1 parent 7dafe7c commit 79feb13Copy full SHA for 79feb13
openapi_python_client/templates/endpoint_macros.py.jinja
@@ -18,8 +18,8 @@ headers = {}
18
{% endmacro %}
19
20
{% macro cookie_params(endpoint) %}
21
-cookies = {}
22
{% if endpoint.cookie_parameters %}
+cookies = {}
23
{% for parameter in endpoint.cookie_parameters.values() %}
24
{% if parameter.required %}
25
cookies["{{ parameter.name}}"] = {{ parameter.python_name }}
pyproject.toml
@@ -30,7 +30,7 @@ attrs = ">=21.3.0"
30
python-dateutil = "^2.8.1"
31
httpx = ">=0.20.0,<0.26.0"
32
PyYAML = "^6.0"
33
-ruff = "^0.0.292 || ^0.1.0"
+ruff = "^0.1.0"
34
typing-extensions = "^4.8.0"
35
36
[tool.poetry.scripts]
0 commit comments