<@ULVA73B9P> the two word name that prefect assign...
# marvin-ai
r
@Marvin the two word name that prefect assigns to a flow, is it a task name?
m
thought for 22.7 seconds
No, the two-word name (like "elegant-hedgehog") is specifically for flows, not tasks. It's an automatically generated identifier that Prefect assigns to flows when they're created. Tasks, on the other hand, are typically named after their function names by default, though you can customize their names if you want. This auto-generated flow name helps identify flows during development and experimentation without requiring you to explicitly name every flow. It's particularly useful when looking at flow runs in the UI or logs, as these whimsical combinations (like "graceful-penguin" or "determined-walrus") are both unique and memorable. If you need more control, you can always override this auto-generated name by explicitly setting the flow name when you define it:
Copy code
python
@flow(name="my-custom-flow-name")
def my_flow():
    pass