Changeset 9f0f35e for buildhelpers/codegen/templates/controller.mustache
- Timestamp:
- May 19, 2020, 8:59:28 PM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 24617e1
- Parents:
- d5199c9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
buildhelpers/codegen/templates/controller.mustache
rd5199c9 r9f0f35e 5 5 {{/imports}} 6 6 from {{packageName}} import util 7 from {{packageName}}_impl.controllers import {{classFilename}} 7 8 {{#operations}} 8 9 {{#operation}} 9 10 from {{packageName}}_impl.controllers import {{classname}}11 10 12 11 def {{operationId}}({{#allParams}}{{paramName}}{{^required}}=None{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}): # noqa: E501 … … 109 108 {{/isMapContainer}} 110 109 {{/allParams}} 111 return {{class name}}.{{operationId}}({{#allParams}}{{paramName}}{{^required}}={{paramName}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})110 return {{classFilename}}.{{operationId}}({{#allParams}}{{paramName}}{{^required}}={{paramName}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) 112 111 {{/operation}} 113 112 {{/operations}}
Note:
See TracChangeset
for help on using the changeset viewer.
