Brian Donald
07/16/2024, 4:19 PMMarvin
07/16/2024, 4:19 PM12:45:28.610 | INFO | Flow run 'intrepid-coua' - Submitted task run 'get_url-4' for execution.
12:45:28.624 | INFO | Flow run 'intrepid-coua' - Created task run 'get_url-5' for task 'get_url'
12:45:28.625 | INFO | Flow run 'intrepid-coua' - Submitted task run 'get_url-5' for execution.
12:45:28.640 | INFO | Flow run 'intrepid-coua' - Created task run 'get_url-6' for task 'get_url'
12:45:28.641 | INFO | Flow run 'intrepid-coua' - Submitted task run 'get_url-6' for execution.
This is an indication that tasks are being generated and executed recursively, and they should ideally reflect in the UI.
5. Github Issues:
- Feeding Data After EOF: There are related issues where logs show attempts to feed data after EOF, which could indicate logging issues (__assert not self._eof, 'feed_data after feed_eof'__). This might affect how recursive tasks are visualized.
- Test Failures: Some test failures show connections not finishing in time, which could be analogous to task visibility failures in the UI.
For more detailed insights and specific fixes, consider checking out these links:
- Prefect Documentation: https://docs.prefect.io/latest/tutorial/tasks/
- Prefect Server & UI Configuration: https://docs.prefect.io/latest/guides/settings/
- Migration Guide: https://docs.prefect.io/latest/guides/migration-guide/
Finally, if the issue persists, it might be worth raising it on the Prefect GitHub issues page.Brian Donald
07/16/2024, 4:20 PMBrian Donald
07/16/2024, 4:20 PMMarvin
07/16/2024, 4:21 PMset_upstream
method. Here's an example:
python
from prefect import task, Flow
@task
def task_A():
pass
@task
def task_B():
pass
@task
def task_C():
pass
with Flow("manual dependencies") as flow:
a = task_A()
b = task_B()
c = task_C()
# Manually setting task dependencies
b.set_upstream(a)
c.set_upstream(b)
# Register/Run Flow as per requirements
flow.register(project_name="your-project")
flow.run()
### Additional Resources
- Specifying Upstream Dependencies
- Task Dependencies in Prefect
By manually setting these dependencies, you will ensure that the UI properly reflects the connections between your tasks.
For more information, you can also check the GitHub issue regarding manually specifying task connections.
If you have further specific questions or need more help, referring to these resources or raising an issue might be helpful.