Skip to main content

render-lab-tasks-linear

Python port of all 12 registered tasks in the pinned TypeScript pack at 45f9c2d44bd28e01ae9813e0d2ff56ee6c533816. Python 3.12+.

From the repository, install this pack and its supporting core together:

pip install render-lab-tasks-linear==0.1.0

Import task definitions from render_lab_tasks_linear.tasks. Combine its app with other pack apps using Workflows.from_workflows(...) and call tasks with await ctx.run(task, input). Package roots do not register tasks. JSON fields retain the TS spelling; Python functions use snake_case.

Tasks

Registered name Python export (also exposes _impl)
linear.addLabel add_label
linear.assignIssue assign_issue
linear.commentOnIssue comment_on_issue
linear.createIssue create_issue
linear.createProject create_project
linear.getIssue get_issue
linear.linkPR link_pr
linear.listCycleIssues list_cycle_issues
linear.listTeams list_teams
linear.moveIssue move_issue
linear.searchIssues search_issues
linear.setPriority set_priority

Dependencies and retries

Raw implementations accept context first and keyword-only deps. The .client module exports typed Port, Deps, and Client classes (also vendor-named aliases). Inject a fake port, or pass a caller-owned httpx.AsyncClient to Client for custom transport/configuration. Default dependencies close their HTTP clients after the operation. Credentials resolve at first use. HTTP and SDK retries are disabled; retry.py owns durable retry settings. DTO types live in .types.

Environment

Variable Contract
LINEAR_API_KEY Required personal API key for GraphQL calls.

Verification and limitations

The adapter sends GraphQL directly and checks errors even on HTTP 200. addLabel reads and unions existing labels before updating; it is not atomic. An absent active cycle returns an empty list. The optional TS webhook adapter is deferred until the Python triggers contract is ported.

Shared JSON fixtures compare the Python task output with the actual pinned TS implementation. REST fixtures also compare HTTP requests; HubSpot and Linear fixtures compare source SDK arguments with HTTP payloads/GraphQL variables. No live vendor calls were made for this batch. Registered-task parity does not claim live readiness or all supporting TS exports. See the root verification tracker and docs/porting-batches.md. Licensed under MIT.

API reference.

Webhook adapter

render_lab_tasks_linear.webhooks.linear_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 LINEAR_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.

Metadata

Release files for render-lab-tasks-linear 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for render-lab-tasks-linear 0.1.0
File Size Uploaded Provenance Actions
render_lab_tasks_linear-0.1.0.tar.gz 7.9 kB With provenance Details for render_lab_tasks_linear-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for render-lab-tasks-linear 0.1.0
File Interpreter ABI Platform Actions
render_lab_tasks_linear-0.1.0-py3-none-any.whl Python 3 none any Details for render_lab_tasks_linear-0.1.0-py3-none-any.whl

Total release size: 22.6 kB

Release files / render_lab_tasks_linear-0.1.0.tar.gz

Download URL render_lab_tasks_linear-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
50929670a6140878d1589b5a3afcb5d51465b360f9dc549e6f76c012ec390cac
BLAKE2b-256 checksum
How to use checksums
0e998529c750f24a8dd308cd9640c83d743da15f221d16dd91c07991a4f8427b
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 log

Release files / render_lab_tasks_linear-0.1.0-py3-none-any.whl

Download URL render_lab_tasks_linear-0.1.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4ec87d1bb41e747423264f0ebe6c4119304810ef8eb1ad303486bdeb6529a7d
BLAKE2b-256 checksum
How to use checksums
4a96a9dc56dd383cf535ddc59ed6d8e74856aa94d09dd239b55eda58491bdd0d
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 log

Security for render-lab-tasks-linear 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.

Select from 2 files

Attestation for render_lab_tasks_linear-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 log

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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