Skip to content

docs: import TaskiqScheduler from taskiq in schedule sources page - #734

Open
PRIMITIFA wants to merge 1 commit into
taskiq-python:masterfrom
PRIMITIFA:fix/docs-taskiq-scheduler-import
Open

PRIMITIFA wants to merge 1 commit into
taskiq-python:masterfrom
PRIMITIFA:fix/docs-taskiq-scheduler-import

Conversation

@PRIMITIFA

Copy link
Copy Markdown

Two snippets on the schedule sources page import TaskiqScheduler from taskiq.scheduler, but that package does not export it, so on 0.13.0 they fail with an ImportError. The class is exported from the top-level taskiq package, which is how the rest of this page and the docs examples import it. I changed both imports and ran the LabelScheduleSource snippet with an InMemoryBroker to confirm it works.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant