We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85ab971 commit 43e3ed5Copy full SHA for 43e3ed5
openapi_python_client/templates/model.py.jinja
@@ -68,7 +68,6 @@ class {{ class_name }}:
68
{% for property in model.required_properties + model.optional_properties %}
69
{% if property.template %}
70
{% from "property_templates/" + property.template import transform %}
71
-{# Stopped here #}
72
{{ transform(property, "self." + property.python_name, property.python_name, multipart=multipart) }}
73
{% elif multipart %}
74
{{ property.python_name }} = self.{{ property.python_name }} if self.{{ property.python_name }} is UNSET else (None, str(self.{{ property.python_name }}).encode(), "text/plain")
0 commit comments