render-lab-tasks-snowflake
Nine SQL API tasks: query, execute, insertRows, executeMany, submitStatement,
getStatementStatus, awaitStatement, getStatementResults, and cancelStatement.
Import render_lab_tasks_snowflake.tasks for explicit registration. Raw operations
also export injectable async *_impl(ctx, input, *, deps=...) functions.
| Environment variable | Contract |
|---|---|
| SNOWFLAKE_ACCOUNT_URL | Required account HTTPS URL |
| SNOWFLAKE_TOKEN | Required ready-to-use token |
| SNOWFLAKE_TOKEN_TYPE | OAUTH (default), KEYPAIR_JWT, or PROGRAMMATIC_ACCESS_TOKEN |
| SNOWFLAKE_DATABASE / SCHEMA / WAREHOUSE / ROLE | Optional statement defaults; input overrides |
All credentials are lazy. The client neither mints JWTs nor refreshes OAuth. Submissions require a caller-generated UUID requestId, sent with retry=true. Keep this UUID stable across retries and unique for each intended submission. Parameters use positional bindings; returned cells remain strings/null, including wide decimal values. Quote helpers escape table/column identifiers for inserts.
Each attempt makes one request. Await polls by throwing; the durable policy is one hour at 10-second intervals. Other operations retry three times with 1-second exponential backoff. Terminal await errors still use the inherited retry policy.
Query returns the first partition, capped at maxRows (10,000 by default). getStatementResults enforces maxBytes (3,500,000 default) after reading the response. The source query/submit paths do not enforce a byte cap; callers should bound SQL results, and this inherited gap is tracked for both repos. query accepts caller SQL and does not parse or enforce read-only statements. Cancellation treats 404/422 as converged, matching the source. Live SQL API checks remain unverified.
Installation
pip install render-lab-tasks-snowflake==0.1.0
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_snowflake-0.1.0.tar.gz.
File metadata
- Download URL: render_lab_tasks_snowflake-0.1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8f96f4d67da18d785401d8c210d5e3b6d50e55a7be9fa7f7e7281c51cb0e94e
|
|
| MD5 |
c0d27dcd87c38289c1317b4e5fad7640
|
|
| BLAKE2b-256 |
eee4f366983701c91c9506ee3b9424e10b4019c95813bbe851cee43f1d6901b1
|
Provenance
The following attestation bundles were made for render_lab_tasks_snowflake-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_snowflake-0.1.0.tar.gz -
Subject digest:
f8f96f4d67da18d785401d8c210d5e3b6d50e55a7be9fa7f7e7281c51cb0e94e - Sigstore transparency entry: 2767984664
- 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_snowflake-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_tasks_snowflake-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.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 |
1e43c3d2a690d45c7d1e8200b4736b4d1bafb144a87ced77482e0bb160171a64
|
|
| MD5 |
e9d15f14c20ca09349f8566bf8f8aa4b
|
|
| BLAKE2b-256 |
42ac94703715eea83abc4124ec3bb7f06fdaa8d2ee861163e09a8b407b45a055
|
Provenance
The following attestation bundles were made for render_lab_tasks_snowflake-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_snowflake-0.1.0-py3-none-any.whl -
Subject digest:
1e43c3d2a690d45c7d1e8200b4736b4d1bafb144a87ced77482e0bb160171a64 - Sigstore transparency entry: 2767984718
- 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: