
python.model_templates.schema_list.handlebars Maven / Gradle / Ivy
class {{> model_templates/classname }}(
schemas.ListSchema
):
{{#if this.classname}}
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
{{#if description}}
{{{unescapedDescription}}}
{{/if}}
"""
{{/if}}
{{#if isStub}}
{{#if items}}
class MetaOapg:
{{> model_templates/list_partial }}
{{/if}}
{{else}}
{{#or getItems hasValidation}}
class MetaOapg:
{{#if hasValidation}}
{{> model_templates/validations }}
{{/if}}
{{> model_templates/list_partial }}
{{/or}}
{{/if}}
{{> model_templates/new }}
def __getitem__(self, i: int) -> {{#with items}}{{#if complexType}}'{{complexType}}'{{else}}MetaOapg.items{{/if}}{{/with}}:
return super().__getitem__(i)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy