Created
October 24, 2019 14:43
-
-
Save loeti82/389262f3cf1e37338a0efbc68cdad3f6 to your computer and use it in GitHub Desktop.
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
def __init__(self): | |
self.openapi_config = Configuration() | |
self.openapi_instance = ApiApi(ApiClient(self.openapi_config)) | |
def configure_openapi(self, host, access_token, debug: bool = True): | |
try: | |
self.openapi_config.host = host | |
self.openapi_config.access_token = access_token | |
self.openapi_config.debug = debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment