-
Notifications
You must be signed in to change notification settings - Fork 1.6k
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement PIN 6 #915
Comments
@jlowin I have a different proposal for how to implement this, based on mapping over a constant list: add_one.map(x=[1, 2, 3]) With this use case in mind, it's easier to implement a special Implemented this way, the information is still contained entirely within the Flow, but it also allows for edges such as Edge(upstream_constant=[1, 2, 3], downstream_task=add_one, key='x', mapped=True) which handle mapping over constants. |
Following offline conversation in which we realized that any attempt to modify Edge objects would essentially reimplement Constant Tasks by another name, we've decided to decline PIN 6 (for now) -- See #917 |
Closed via #915 |
https://docs.prefect.io/guide/PINs/PIN-6-Remove-Constant-Tasks.html
Basically, to remove the auto-generation of "Constant" task and instead store constants in the flow object.
The text was updated successfully, but these errors were encountered: