Skip to content

Commit

Permalink
Merge pull request #196 from vantaboard/fix/asana-configuration
Browse files Browse the repository at this point in the history
fix: GCP not recognizing access token
  • Loading branch information
jv-asana authored Mar 25, 2024
2 parents f56a3ec + 5606aa9 commit f66170e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions asana/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 0 additions & 2 deletions codegen/templates/configuration.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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}}")
Expand Down

0 comments on commit f66170e

Please sign in to comment.