gdscript.partials.api_method_params.handlebars Maven / Gradle / Ivy
{{#each allParams}}
# {{paramName}}{{#if dataType}}: {{dataType}}{{/if}}{{#if defaultValue}} = {{{defaultValue}}}{{/if}}{{#if example}} Eg: {{{example}}}{{/if}}
{{~#if description}}
# {{{description}}}{{/if}}
{{paramName}}{{#if required}}{{#if dataType}}: {{{dataType}}}{{/if}}{{/if}}{{#unless required}} = {{#if defaultValue}}{{{defaultValue}}}{{/if}}{{#unless defaultValue}}null{{/unless}}{{/unless}},
{{/each}}
on_success: Callable = Callable(), # func(response: {{>partials/api_response_class_name}})
on_failure: Callable = Callable(), # func(error: {{>partials/api_error_class_name}})
© 2015 - 2024 Weber Informatics LLC | Privacy Policy