diff --git a/azure-batch/azure/batch/batch_auth.py b/azure-batch/azure/batch/batch_auth.py index 7e5dc803fb1f..928a3c15f846 100644 --- a/azure-batch/azure/batch/batch_auth.py +++ b/azure-batch/azure/batch/batch_auth.py @@ -116,10 +116,10 @@ def __init__(self, account_name, key): super(SharedKeyCredentials, self).__init__() self.auth = SharedKeyAuth(self.header, account_name, key) - def signed_session(self): + def signed_session(self, session=None): - session = super(SharedKeyCredentials, self).signed_session() + session = super(SharedKeyCredentials, self).signed_session(session=session) session.auth = self.auth return session - \ No newline at end of file +