sfq 0.0.2__tar.gz → 0.0.3__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.
- {sfq-0.0.2 → sfq-0.0.3}/PKG-INFO +2 -2
- {sfq-0.0.2 → sfq-0.0.3}/pyproject.toml +1 -1
- {sfq-0.0.2 → sfq-0.0.3}/src/sfq/__init__.py +4 -1
- {sfq-0.0.2 → sfq-0.0.3}/uv.lock +1 -1
- {sfq-0.0.2 → sfq-0.0.3}/.github/workflows/publish.yml +0 -0
- {sfq-0.0.2 → sfq-0.0.3}/.gitignore +0 -0
- {sfq-0.0.2 → sfq-0.0.3}/.python-version +0 -0
- {sfq-0.0.2 → sfq-0.0.3}/README.md +0 -0
- {sfq-0.0.2 → sfq-0.0.3}/src/sfq/py.typed +0 -0
{sfq-0.0.2 → sfq-0.0.3}/PKG-INFO
RENAMED
@@ -127,7 +127,10 @@ class SFAuth:
|
|
127
127
|
|
128
128
|
def _is_token_expired(self):
|
129
129
|
"""Check if the access token has expired."""
|
130
|
-
|
130
|
+
try:
|
131
|
+
return time.time() >= float(self.token_expiration_time)
|
132
|
+
except (TypeError, ValueError):
|
133
|
+
return False
|
131
134
|
|
132
135
|
def query(self, query, tooling=False):
|
133
136
|
"""Query Salesforce using SOQL or Tooling API, depending on the `tooling` parameter."""
|
{sfq-0.0.2 → sfq-0.0.3}/uv.lock
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|