sfq 0.0.5__tar.gz → 0.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sfq
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: Python wrapper for the Salesforce's Query API.
5
5
  Author-email: David Moruzzi <sfq.pypi@dmoruzi.com>
6
6
  Keywords: salesforce,salesforce query
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sfq"
3
- version = "0.0.5"
3
+ version = "0.0.6"
4
4
  description = "Python wrapper for the Salesforce's Query API."
5
5
  readme = "README.md"
6
6
  authors = [{ name = "David Moruzzi", email = "sfq.pypi@dmoruzi.com" }]
@@ -13,7 +13,7 @@ class SFAuth:
13
13
  instance_url,
14
14
  client_id,
15
15
  refresh_token,
16
- api_version="v62.0",
16
+ api_version="v63.0",
17
17
  token_endpoint="/services/oauth2/token",
18
18
  access_token=None,
19
19
  token_expiration_time=None,
@@ -47,9 +47,7 @@ def _interactive_shell(sf: SFAuth, dry_run: bool, disable_fuzzy_completion: bool
47
47
  host = sf.instance_url.split("://")[1].split("/")[0]
48
48
  conn = http.client.HTTPSConnection(host)
49
49
  uri = f"/services/data/{sf.api_version}/sobjects/"
50
- token = sf._refresh_token_if_needed()
51
- headers = {'Authorization': f'Bearer {token}'}
52
- print(f'token: {token}')
50
+ headers = {'Authorization': f'Bearer {sf._refresh_token_if_needed()}'}
53
51
  conn.request("GET", uri, headers=headers)
54
52
  response = conn.getresponse()
55
53
 
@@ -16,7 +16,7 @@ wheels = [
16
16
 
17
17
  [[package]]
18
18
  name = "sfq"
19
- version = "0.0.5"
19
+ version = "0.0.6"
20
20
  source = { editable = "." }
21
21
  dependencies = [
22
22
  { name = "prompt-toolkit" },
File without changes
File without changes
File without changes
File without changes
File without changes