Skip to content

Commit c3e20ce

Browse files
author
Lelia
committed
change kwargs
1 parent 2f2e810 commit c3e20ce

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

salesforce/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Client(object):
99
SALESFORCE_REQUEST_TOKEN_URL = 'https://login.salesforce.com/services/oauth2/token'
1010
SALESFORCE_AUTHORIZE_URL = 'https://login.salesforce.com/services/oauth2/authorize'
1111

12-
def __init__(self, client_id, client_secret, instance_url, version):
12+
def __init__(self, client_id, client_secret, version, instance_url=None):
1313
self.client_id = client_id
1414
self.client_secret = client_secret
1515
self.instance_url = self.BASE_URL.format(instance_url)

0 commit comments

Comments
 (0)