From 5606aa9f139dba506c20ca8cec9e2d5d935176d1 Mon Sep 17 00:00:00 2001 From: Brighten Tompkins Date: Mon, 25 Mar 2024 11:31:07 -0700 Subject: [PATCH] fix: gcp not recognizing access token --- asana/configuration.py | 2 ++ codegen/templates/configuration.mustache | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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}}")