Skip to main content

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

render_lab_tasks_snowflake-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

render_lab_tasks_snowflake-0.1.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file render_lab_tasks_snowflake-0.1.0.tar.gz.

File metadata

File hashes

Hashes for render_lab_tasks_snowflake-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8f96f4d67da18d785401d8c210d5e3b6d50e55a7be9fa7f7e7281c51cb0e94e
MD5 c0d27dcd87c38289c1317b4e5fad7640
BLAKE2b-256 eee4f366983701c91c9506ee3b9424e10b4019c95813bbe851cee43f1d6901b1

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file render_lab_tasks_snowflake-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for render_lab_tasks_snowflake-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e43c3d2a690d45c7d1e8200b4736b4d1bafb144a87ced77482e0bb160171a64
MD5 e9d15f14c20ca09349f8566bf8f8aa4b
BLAKE2b-256 42ac94703715eea83abc4124ec3bb7f06fdaa8d2ee861163e09a8b407b45a055

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page