Skip to content

Commit d8b0b44

Browse files
zoobalmazuel
authored andcommitted
Fixes warning about session reuse. (#3613)
1 parent 7ebacd6 commit d8b0b44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-batch/azure/batch/batch_auth.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ def __init__(self, account_name, key):
116116
super(SharedKeyCredentials, self).__init__()
117117
self.auth = SharedKeyAuth(self.header, account_name, key)
118118

119-
def signed_session(self):
119+
def signed_session(self, session=None):
120120

121-
session = super(SharedKeyCredentials, self).signed_session()
121+
session = super(SharedKeyCredentials, self).signed_session(session=session)
122122
session.auth = self.auth
123123

124124
return session
125-
125+

0 commit comments

Comments
 (0)