-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: 🐝 Update SDK - Generate (#57)
# SDK update Based on: - OpenAPI Doc 0.0.1 - Speakeasy CLI 1.201.1 (2.277.0) https://github.com/speakeasy-api/speakeasy ## PYTHON CHANGELOG --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: hubert.rutkowski <[email protected]>
- Loading branch information
1 parent
6ab44e9
commit 6091d9e
Showing
10 changed files
with
43 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
from .sdkhooks import * | ||
from .types import * | ||
from .registration import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from .types import Hooks | ||
|
||
|
||
# This file is only ever generated once on the first generation and then is free to be modified. | ||
# Any hooks you wish to add should be registered in the init_hooks function. Feel free to define them | ||
# in this file or in separate files in the hooks folder. | ||
|
||
|
||
def init_hooks(hooks: Hooks): | ||
# pylint: disable=unused-argument | ||
"""Add hooks by calling hooks.register{sdk_init/before_request/after_success/after_error}Hook | ||
with an instance of a hook that implements that specific Hook interface | ||
Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters