Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ conf = {{{packageName}}}.Configuration(
self.password = password
"""Password for HTTP basic authentication
"""
self.access_token = access_token
"""Access token
"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for oauth authentication scheme, we still need access_token. what about removing line 203-205 instead?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please PM me via Slack so that I can help you with the test.

{{#hasHttpSignatureMethods}}
if signing_info is not None:
signing_info.host = host
Expand All @@ -200,7 +197,7 @@ conf = {{{packageName}}}.Configuration(
{{/hasOAuthMethods}}
{{^hasOAuthMethods}}
{{#hasHttpBearerMethods}}
self.access_token = None
self.access_token = access_token
"""access token for OAuth/Bearer
"""
{{/hasHttpBearerMethods}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ def __init__(self, host=None,
self.password = password
"""Password for HTTP basic authentication
"""
self.access_token = access_token
"""Access token
"""
self.logger = {}
"""Logging Settings
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ def __init__(self, host=None,
self.password = password
"""Password for HTTP basic authentication
"""
self.access_token = access_token
"""Access token
"""
if signing_info is not None:
signing_info.host = host
self.signing_info = signing_info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ def __init__(self, host=None,
self.password = password
"""Password for HTTP basic authentication
"""
self.access_token = access_token
"""Access token
"""
if signing_info is not None:
signing_info.host = host
self.signing_info = signing_info
Expand Down