Files
hatchet/sdks/python
Jishnu e82915b626 feat: add pagination support for V1LogLineList (#2354)
* feat: pagination for v1 loglines list

* add: sqlc v1 query for loglines count

* add: generated rest-client changes for python sdk

* refactor: frontend logs UI with pagination elements

* add: ts-sdk logline pagination, py logline list pagination docstring

* feat: add since queryparam for v1logline, add infinitescroll pagination on FE

* add custom polling for logs refresh on FE, remove inefficient default refresh logic

* add since queryparam of v1logline to all rest-clients

* refactor: remove offset query param, add until query param(v1logline)

* remove pagination from v1loglinelist

* fix: inconsistent scroll behaviour, add pagination response schema on v1loglist

* add: infinite scroll behavior for smooth log scrolling; prefetch next page logs in advance

* fix: pagination scroll, when task is running, remove stale pagination data when logs tab inactive

* chore: lint

* chore: lint

---------

Co-authored-by: mrkaye97 <mrkaye97@gmail.com>
2025-11-07 17:38:29 +01:00
..
2025-11-06 16:04:39 +01:00
2025-03-11 14:57:13 -04:00
2025-03-11 14:57:13 -04:00
2025-03-11 14:57:13 -04:00
2025-04-03 11:27:19 -04:00

Hatchet Python SDK

PyPI version Documentation License: MIT

This is the official Python SDK for Hatchet, a distributed, fault-tolerant task queue. The SDK allows you to easily integrate Hatchet's task scheduling and workflow orchestration capabilities into your Python applications.

Installation

Install the SDK using pip:

pip install hatchet-sdk

Or using poetry:

poetry add hatchet-sdk

Quick Start

For examples of how to use the Hatchet Python SDK, including worker setup and task execution, please see our official documentation.

Features

  • 🔄 Workflow Orchestration: Define complex workflows with dependencies and parallel execution
  • 🔁 Automatic Retries: Configure retry policies for handling transient failures
  • 📊 Observability: Track workflow progress and monitor execution metrics
  • Scheduling: Schedule workflows to run at specific times or on a recurring basis
  • 🔄 Event-Driven: Trigger workflows based on events in your system

Documentation

For detailed documentation, examples, and best practices, visit:

Contributing

We welcome contributions! Please check out our contributing guidelines and join our Discord community for discussions and support.

License

This SDK is released under the MIT License. See LICENSE for details.