Skip to content

Commit

Permalink
Adding required models
Browse files Browse the repository at this point in the history
  • Loading branch information
AsabuHere committed Dec 3, 2024
1 parent 7fcfc8f commit c19fe84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/twilio-python/context.handlebars
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class {{apiName}}Context(InstanceContext):

{{#if nestedModels}}{{>modelClasses}}{{/if}}
def __init__(self, version: Version{{#instancePathParams}}, {{paramName}}: {{{dataType}}}{{/instancePathParams}}):
"""
Initialize the {{apiName}}Context
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/twilio-python/instance.handlebars
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class {{instanceName}}(InstanceResource):
{{#if nestedModels}}{{>modelClasses}}{{/if}}
{{>model}}
"""{{#vars}}
:ivar {{name}}: {{{description}}}{{/vars}}
Expand Down

0 comments on commit c19fe84

Please sign in to comment.