Merge remote-tracking branch 'origin/master' into 5.1.x

This commit is contained in:
William Cheng
2021-02-06 17:52:32 +08:00
314 changed files with 1406 additions and 7175 deletions

View File

@@ -82,6 +82,7 @@ class Configuration(object):
def __init__(self, host=None,
api_key=None, api_key_prefix=None,
access_token=None,
username=None, password=None,
discard_unknown_keys=False,
disabled_client_side_validations="",
@@ -106,6 +107,7 @@ class Configuration(object):
"""Temp file folder for downloading files
"""
# Authentication Settings
self.access_token = access_token
self.api_key = {}
if api_key:
self.api_key = api_key