Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update api version for Bulk API to 60.0 #55

Merged
merged 2 commits into from
Feb 22, 2024
Merged
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
2 changes: 1 addition & 1 deletion tap_salesforce/salesforce/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def __init__(self,
self.default_start_date = default_start_date
self.rest_requests_attempted = 0
self.jobs_completed = 0
self.data_url = "{}/services/data/v53.0/{}"
self.data_url = "{}/services/data/v60.0/{}"
self.pk_chunking = False

self.auth = SalesforceAuth.from_credentials(credentials, is_sandbox=self.is_sandbox)
Expand Down
2 changes: 1 addition & 1 deletion tap_salesforce/salesforce/bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def find_parent(stream):

class Bulk():

bulk_url = "{}/services/async/53.0/{}"
bulk_url = "{}/services/async/60.0/{}"

def __init__(self, sf):
# Set csv max reading size to the platform's max size available.
Expand Down
2 changes: 1 addition & 1 deletion tap_salesforce/salesforce/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _query_recur(
end_date=None,
retries=MAX_RETRIES):
params = {"q": query}
url = "{}/services/data/v53.0/queryAll".format(self.sf.instance_url)
url = "{}/services/data/v60.0/queryAll".format(self.sf.instance_url)
headers = self.sf.auth.rest_headers

sync_start = singer_utils.now()
Expand Down
Loading