sfq 0.0.31__tar.gz → 0.0.32__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.31 → sfq-0.0.32}/.github/workflows/publish.yml +2 -0
- {sfq-0.0.31 → sfq-0.0.32}/PKG-INFO +1 -1
- {sfq-0.0.31 → sfq-0.0.32}/pyproject.toml +1 -1
- {sfq-0.0.31 → sfq-0.0.32}/src/sfq/__init__.py +11 -1
- {sfq-0.0.31 → sfq-0.0.32}/uv.lock +1 -1
- {sfq-0.0.31 → sfq-0.0.32}/.gitignore +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/.python-version +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/README.md +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/src/sfq/_cometd.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/src/sfq/py.typed +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_cdelete.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_cquery.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_create.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_cupdate.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_debug_cleanup.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_limits_api.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_log_trace_redact.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_open_frontdoor.py +0 -0
- {sfq-0.0.31 → sfq-0.0.32}/tests/test_query.py +0 -0
@@ -78,6 +78,8 @@ jobs:
|
|
78
78
|
sed -i -E "s/(user_agent: str = \"sfq\/)[0-9]+\.[0-9]+\.[0-9]+(\")/\1$VERSION\2/" src/sfq/__init__.py
|
79
79
|
sed -i -E "s/(default is \"sfq\/)[0-9]+\.[0-9]+\.[0-9]+(\")/\1$VERSION\2/" src/sfq/__init__.py
|
80
80
|
|
81
|
+
echo "Updating src/sfq/__init__.py __version__ to $VERSION"
|
82
|
+
sed -i -E "s/(self.__version__ = \")[0-9]+\.[0-9]+\.[0-9]+(\")/\1$VERSION\2/" src/sfq/__init__.py
|
81
83
|
- name: Run tests
|
82
84
|
run: pytest --verbose --strict-config
|
83
85
|
env:
|
@@ -100,7 +100,7 @@ class SFAuth:
|
|
100
100
|
access_token: Optional[str] = None,
|
101
101
|
token_expiration_time: Optional[float] = None,
|
102
102
|
token_lifetime: int = 15 * 60,
|
103
|
-
user_agent: str = "sfq/0.0.
|
103
|
+
user_agent: str = "sfq/0.0.32",
|
104
104
|
sforce_client: str = "_auto",
|
105
105
|
proxy: str = "_auto",
|
106
106
|
) -> None:
|
@@ -170,6 +170,16 @@ class SFAuth:
|
|
170
170
|
* 📖 [Salesforce OAuth Flows Documentation](https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_flows.htm&type=5)
|
171
171
|
"""
|
172
172
|
|
173
|
+
self.__version__ = "0.0.32"
|
174
|
+
"""
|
175
|
+
### `__version__`
|
176
|
+
|
177
|
+
**The version of the sfq library.**
|
178
|
+
- Schema: `MAJOR.MINOR.PATCH`
|
179
|
+
- Used for debugging and compatibility checks
|
180
|
+
- Updated to reflect the current library version via CI/CD automation
|
181
|
+
"""
|
182
|
+
|
173
183
|
self.api_version = api_version
|
174
184
|
"""
|
175
185
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|