sfq 0.0.17__py3-none-any.whl → 0.0.19__py3-none-any.whl
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.
sfq/__init__.py
CHANGED
@@ -84,7 +84,7 @@ class SFAuth:
|
|
84
84
|
access_token: Optional[str] = None,
|
85
85
|
token_expiration_time: Optional[float] = None,
|
86
86
|
token_lifetime: int = 15 * 60,
|
87
|
-
user_agent: str = "sfq/0.0.
|
87
|
+
user_agent: str = "sfq/0.0.19",
|
88
88
|
sforce_client: str = "_auto",
|
89
89
|
proxy: str = "_auto",
|
90
90
|
) -> None:
|
@@ -100,7 +100,7 @@ class SFAuth:
|
|
100
100
|
:param access_token: The access token for the current session (default is None).
|
101
101
|
:param token_expiration_time: The expiration time of the access token (default is None).
|
102
102
|
:param token_lifetime: The lifetime of the access token in seconds (default is 15 minutes).
|
103
|
-
:param user_agent: Custom User-Agent string (default is "sfq/0.0.
|
103
|
+
:param user_agent: Custom User-Agent string (default is "sfq/0.0.19").
|
104
104
|
:param sforce_client: Custom Application Identifier (default is user_agent).
|
105
105
|
:param proxy: The proxy configuration, "_auto" to use environment (default is "_auto").
|
106
106
|
"""
|
@@ -826,7 +826,8 @@ class SFAuth:
|
|
826
826
|
if not sobject and not sobject_prefixes:
|
827
827
|
sobject_prefixes = self.get_sobject_prefixes()
|
828
828
|
|
829
|
-
|
829
|
+
if not sobject:
|
830
|
+
sobject = str(sobject_prefixes.get(str(key[:3]), None))
|
830
831
|
|
831
832
|
compositeRequest_payload.append(
|
832
833
|
{
|
@@ -0,0 +1,6 @@
|
|
1
|
+
sfq/__init__.py,sha256=LG7TFJ1ga4iGhODUQnj4L6kDW2z81AJr7GBYIdRiMCI,35377
|
2
|
+
sfq/_cometd.py,sha256=XimQEubmJwUmbWe85TxH_cuhGvWVuiHHrVr41tguuiI,10508
|
3
|
+
sfq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
+
sfq-0.0.19.dist-info/METADATA,sha256=TyPht3bZTts5MUTPPGHL5_Ob2evC3z6kac6ItcRk8HE,6899
|
5
|
+
sfq-0.0.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
6
|
+
sfq-0.0.19.dist-info/RECORD,,
|
sfq-0.0.17.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
sfq/__init__.py,sha256=qtXrbjzTQL1nU2RaMbxWUDRFt4CAUKAkwwp-_9lqavE,35361
|
2
|
-
sfq/_cometd.py,sha256=XimQEubmJwUmbWe85TxH_cuhGvWVuiHHrVr41tguuiI,10508
|
3
|
-
sfq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
sfq-0.0.17.dist-info/METADATA,sha256=XgKcuglHsZ1dN1rqNSgaWb-A-wf8-bStAMt2Gmj4GlE,6899
|
5
|
-
sfq-0.0.17.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
6
|
-
sfq-0.0.17.dist-info/RECORD,,
|
File without changes
|