render-lab-tasks-workos
Unreleased Python port: 12 registered tasks from render-lab/render-tasks. Python 3.12+, Render SDK 1.0.1. Requires core 0.1.1 or later.
From the repository root:
uv sync --all-packages --locked
Import render_lab_tasks_workos.tasks to register tasks. The package root is inert.
Compose the exported app with Workflows.from_workflows; call tasks through
ctx.run. Every operation also exports *_impl(ctx, input, *, deps=None) for
injection. Client(http, env) accepts a caller-owned HTTPX client, and
Deps(workos=client) injects it. Default dependencies open and close the HTTP
client per invocation; credentials are read lazily at use. No HTTP retries or
background vendor polling occur; retry.py owns the durable retry policies.
Task surface
| Registered task | Python export |
|---|---|
workos.awaitEvent |
await_event |
workos.createInvitation |
create_invitation |
workos.createOrganization |
create_organization |
workos.createPortalLink |
create_portal_link |
workos.getDirectoryUser |
get_directory_user |
workos.listDirectories |
list_directories |
workos.listDirectoryGroups |
list_directory_groups |
workos.listDirectoryUsers |
list_directory_users |
workos.listEvents |
list_events |
workos.listGroupUsers |
list_group_users |
workos.revokeInvitation |
revoke_invitation |
workos.updateOrganization |
update_organization |
Typed JSON inputs and results are in types.py. Task names and JSON field names
match the pinned source; Python function names use snake_case.
Environment
| Variable | Requirement |
|---|---|
WORKOS_API_KEY |
Required at first API call. |
Behavior and limits
Directory pages preserve before/after cursors, validate limits 1–100, and omit embedded group expansion from directory-user DTOs. Event filters use repeated query keys. await_event reads at most 100 events and returns the first matching event plus its ID as the resume cursor. Organization/invitation/portal creates disable retries; revoke treats 404 as success. Directory resources and event fixtures need a real test organization.
Verification
All registered tasks have hermetic contract fixtures executed independently against
the pinned TS implementation. SDK-backed tasks also have explicit HTTP request
fixtures. See tests/test_batch3_contracts.py and tests/test_batch3_edges.py.
These are not live vendor results.
Vendor webhooks subpaths and other registration-free TS exports are outside this batch unless explicitly listed above. Full registered-task coverage does not imply all supporting exports are ported.
Pending scopes, test resources, replay, and hosted checks are in the live-testing backlog and verification tracker.
Webhook adapter
render_lab_tasks_workos.webhooks.workos_adapter(on_event, ...) returns a
registration-free adapter for render_lab_triggers. The callback receives the
verified event and returns {"task": "namespace.task", "args": [event]} or None.
The signing credential WORKOS_WEBHOOK_SECRET is read inside verification unless
provided explicitly. Importing this module does not register tasks. Signature
checks use the raw body; live delivery remains in the testing backlog.
Installation
pip install render-lab-tasks-workos==0.1.0
Metadata
Release files for render-lab-tasks-workos 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| render_lab_tasks_workos-0.1.0.tar.gz | 8.8 kB | With provenance | Details for render_lab_tasks_workos-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| render_lab_tasks_workos-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for render_lab_tasks_workos-0.1.0-py3-none-any.whl |
Total release size: 24.7 kB
Release files / render_lab_tasks_workos-0.1.0.tar.gz
| Download URL | render_lab_tasks_workos-0.1.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a9244690d7a8aafcc36a016962fb9147d56f6c0e1e83e0c6c9df1b1980782f4
|
|
BLAKE2b-256 checksum How to use checksums |
83ef4406098c28c7de41113398fc1305c73f5badca6926c941da9c1461c9612a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logRelease files / render_lab_tasks_workos-0.1.0-py3-none-any.whl
| Download URL | render_lab_tasks_workos-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26375c88d82b05d271e30093be06f6bc71d948530c4ea48059e30ef37a23b2f3
|
|
BLAKE2b-256 checksum How to use checksums |
9e7b2f12bc99fcbedeb1558edf3592e88cc6ad8cb29e28c12fc4a72ba0dcef8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logSecurity for render-lab-tasks-workos 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for render_lab_tasks_workos-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.