Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add Pydantic * refactor: Completely rework task models * docs: Improve types documentation * chore: Add aiohttp-retry lib * refactor: Refactor manager config to use aiohttp-retry * refactor: Rework manager client to only have the required functions and use Pydantic * refactor: Rework publisher client * feat: Add from_str method to TaskKind model * refactor: Slightly improve interface for brokers * docs: Fix error in Task docss * fix: Remove useless broker client interface code * refactor: Rework RabbitMQ clients so there exists one for the worker and one for the publisher * feat: Add durable and auto_delete config to BrokerConfig * chore: dependencies organization * fix: Fix broker to find exchanges and queues based on the published task * feat: Set prefetch count to 1 * docs: Simplify docs for worker app config * feat: Add worker kind registration to manager client * feat: Add worker kind broker info model * feat: Register worker kind on worker app init * refactor: Remove irrelevant fields from broker config * refactor: Remove broker instance create function Doesn't make sense to keep it given that we only support RabbitMQ * refactor: Rework broker clients to be more lightweight and only connect to exchanges and queues instead of creating them * docs: Add RabbitMQ to brokerconfig docs * refactor: Remove broker client interface * chore: add all brokers to __init__ export * rework: Refactor worker client to use new broker clients * chore: Fix inconsistent url name * docs: Update examples * refactor: Refactor publisher client to use new broker client * fix: Fix task status name * chore: Add new deps and settings for tests * chore: Update UV lock * chore: Remove outdated tests * chore: Update package info * fix: Fix multiple pydantic models to use proper pydantic inits * chore: Improve inits for exports * chore: Tune modal config to account for tests * test: Refactor worker client tests * test: Refactor publisher client tests * test: Refactor manager client tests * test: Simplify conftest * test: Temporarily disable benchmarks * fix: Improve pydantic model usage for WorkerApplication * feat: Completely remove task kind model * fix: Fix URL for mock manager client * docs: Fix examples to use new interfaces * docs: Inline worker app config example * docs: Tweak examples * feat: Add health check to local docker compose * chore: Move all tests into unit test folder * test: Add e2e test suite * feat: Move all queue setup logic back to client SDK * fix: Remove worker kind broker info model and references, make task result optional * feat: Create an auto-serializable exception. This must be improved in the future. * fix: Fix Rust queues to be compatible with Python ones * fix: Fix wrong default shutdown signal * feat: Make tasks only get ackowledged AFTER being completed
- Loading branch information