Skip to content

Configuring tasks / using as CLI #301

Closed Answered by tobiasraabe
NickCrews asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, sounds like an interesting question and I have wondered whether there are use cases where you would use pytask in the backend of another application.

First, whether it is a good idea really depends on how many of pytask's features you need and how easy it would be for you to replicate them. For example, ...

  • If your underlying DAG does not really change, hardcoding it might be fine.
  • If you want to do some automatic error handling when some part of the data processing fails, maybe you have more control without pytask.
  • ...

Maybe there is also no harm in starting with pytask and, then, replacing it with your own code.

Secondly, is it feasible to do that? Here is one simple solution.

In …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NickCrews
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