diff --git a/asana/configuration.py b/asana/configuration.py index ee406e6..f786156 100644 --- a/asana/configuration.py +++ b/asana/configuration.py @@ -61,6 +61,8 @@ def __init__(self): self.username = "" # Password for HTTP basic authentication self.password = "" + # access token for OAuth + self.access_token = "" # Logging Settings self.logger = {} self.logger["package_logger"] = logging.getLogger("asana") diff --git a/codegen/templates/configuration.mustache b/codegen/templates/configuration.mustache index 1074e77..62b5002 100644 --- a/codegen/templates/configuration.mustache +++ b/codegen/templates/configuration.mustache @@ -53,10 +53,8 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)): self.username = "" # Password for HTTP basic authentication self.password = "" -{{#authMethods}}{{#isOAuth}} # access token for OAuth self.access_token = "" -{{/isOAuth}}{{/authMethods}} # Logging Settings self.logger = {} self.logger["package_logger"] = logging.getLogger("{{packageName}}")