Skip to content

Commit 591b6a2

Browse files
committed
Remove DeprecationWarning: Creds parameter is deprecated. Set config.credentials instead.
1 parent c98d194 commit 591b6a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

azure-devops/azure/devops/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class Connection(object):
2424

2525
def __init__(self, base_url=None, creds=None, user_agent=None):
2626
self._config = ClientConfiguration(base_url)
27+
self._config.credentials = creds
2728
self._addition_user_agent = user_agent
2829
if user_agent is not None:
2930
self._config.add_user_agent(user_agent)

0 commit comments

Comments
 (0)