render-lab-tasks-salesforce
Python port of all 12 registered tasks in the pinned TypeScript pack at
45f9c2d44bd28e01ae9813e0d2ff56ee6c533816. Python 3.12+.
Install this distribution and its dependencies:
pip install render-lab-tasks-salesforce==0.1.0
Import definitions from render_lab_tasks_salesforce.tasks; combine app objects
with Workflows.from_workflows(...). JSON fields retain TS spelling; functions
use snake_case. Package root imports are inert.
Tasks
| Registered name | Python export (also exposes _impl) |
|---|---|
salesforce.awaitBulkJob |
await_bulk_job |
salesforce.cancelBulkJob |
cancel_bulk_job |
salesforce.createRecord |
create_record |
salesforce.deleteRecord |
delete_record |
salesforce.getBulkJob |
get_bulk_job |
salesforce.getBulkResults |
get_bulk_results |
salesforce.getRecord |
get_record |
salesforce.queryRecords |
query_records |
salesforce.submitBulkIngest |
submit_bulk_ingest |
salesforce.submitBulkQuery |
submit_bulk_query |
salesforce.updateRecord |
update_record |
salesforce.upsertRecord |
upsert_record |
Dependencies and retries
Raw implementations accept context first and keyword-only deps. The .client
module exports typed Port, Deps, and Client classes. Inject a fake port, or
pass a caller-owned httpx.AsyncClient to Client. Default dependencies close
their client after one operation. Credentials resolve at first use. Transport
retries are disabled; retry.py owns durable policies. DTO types are in .types.
Requires core >=0.1.1.
Environment
| Variable | Contract |
|---|---|
SALESFORCE_INSTANCE_URL |
Required Salesforce instance URL. |
SALESFORCE_ACCESS_TOKEN |
Required access token. No automatic refresh. |
Verification and limitations
REST and Bulk API 2.0 paths are pinned to v67.0. Access-token refresh is external. Record creates and bulk submissions disable retries. Ingest failures report the already-created job ID for inspection/abort before resubmission. CSV input is capped at 4,000,000 bytes; result pages default to 10,000 records/3,500,000 bytes. Python validates result-byte limits and sends application/json on JSON writes. awaitBulkJob checks once per attempt; Failed/Aborted raise under the inherited 240-retry policy. It does not cancel the job when workflow retries exhaust.
Shared fixtures execute the actual pinned TS implementations and compare Python outputs and requests. Sanity's SDK calls are translated into separately asserted REST requests. These are hermetic checks, not real account or hosted verification. See the testing backlog and the root verification tracker. Licensed under MIT.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file render_lab_tasks_salesforce-0.1.0.tar.gz.
File metadata
- Download URL: render_lab_tasks_salesforce-0.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b117f51bc65a4705b8f5e3f93cf02ab8895babd6bd5ed18d544a030b65afa4b5
|
|
| MD5 |
1fe7e84bff2599830d78eac168c55625
|
|
| BLAKE2b-256 |
3c8da811b317e52584a3484ab743ded5cb41b8ce2fba8176a5bd77a4e89d7460
|
Provenance
The following attestation bundles were made for render_lab_tasks_salesforce-0.1.0.tar.gz:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_salesforce-0.1.0.tar.gz -
Subject digest:
b117f51bc65a4705b8f5e3f93cf02ab8895babd6bd5ed18d544a030b65afa4b5 - Sigstore transparency entry: 2767940325
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file render_lab_tasks_salesforce-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_tasks_salesforce-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1abe4a0c970261ebdd6954cfc21c35d429e605e510b69292b43d74eb41d4e7b2
|
|
| MD5 |
dcc58c21c736ce4f6f17c33807564234
|
|
| BLAKE2b-256 |
170de683c3be9f7040d09c62847234fdfc908678f63521aa197b0d61cabc6a19
|
Provenance
The following attestation bundles were made for render_lab_tasks_salesforce-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_salesforce-0.1.0-py3-none-any.whl -
Subject digest:
1abe4a0c970261ebdd6954cfc21c35d429e605e510b69292b43d74eb41d4e7b2 - Sigstore transparency entry: 2767940338
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type: