Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add doc strings for most of the public API. [PR #27](https://github.com/riverqueue/riverqueue-python/pull/27).
- Add `riverqueue.AttemptError` data class to represent errors on a job row. [PR #27](https://github.com/riverqueue/riverqueue-python/pull/27).

## [0.5.0] - 2024-07-06

### Changed
Expand Down
11 changes: 9 additions & 2 deletions src/riverqueue/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# Reexport for more ergonomic use in calling code.
from .client import (
MAX_ATTEMPTS_DEFAULT as MAX_ATTEMPTS_DEFAULT,
PRIORITY_DEFAULT as PRIORITY_DEFAULT,
QUEUE_DEFAULT as QUEUE_DEFAULT,
UNIQUE_STATES_DEFAULT as UNIQUE_STATES_DEFAULT,
AsyncClient as AsyncClient,
JobArgs as JobArgs,
JobArgsWithInsertOpts as JobArgsWithInsertOpts,
Client as Client,
InsertManyParams as InsertManyParams,
)
from .client import (
InsertOpts as InsertOpts,
InsertResult as InsertResult,
UniqueOpts as UniqueOpts,
)
from .model import (
InsertResult as InsertResult,
from .job import (
AttemptError as AttemptError,
Job as Job,
JobState as JobState,
)
Loading