Skip to content

Tasks modularization #78

Answered by Miksus
ayr-ton asked this question in Q&A
Aug 12, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I was searching for some .include_task in the documentation similar to the .include_router from FastAPIs APIRouter().

This is actually something I'm creating at the very moment. Though I thought maybe Grouper would be Rocketry's equivalent for Router from FastAPI and then there would be a method .include_group. I think I'll do a simple implementation at first in which the group cannot be interacted after including them to an app but it would nice if we could disable a whole group at once or set all tasks in a group running at once. There also could be some conditions related to these like all tasks of a group has finished etc.

But the short answer for current state of the framework is p…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ayr-ton
Comment options

Answer selected by ayr-ton
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants