# prefect-getting-started

Mario Vormstein

01/09/2023, 4:00 PM
I have a question quite similar to the one asked here: If I define a prefect flow inside a Jupyter Notebook
Copy code
from prefect import flow, get_run_logger, task, get_run_logger
def do_something():
    logger = get_run_logger()
    <|>('Executing from Jupyer') 
    <|>('More logs')
and I re-evaluate the cell, I get an UserWarning
Copy code
/opt/conda/lib/python3.10/site-packages/prefect/ UserWarning: A flow named 'flow_from_jupyter' and defined at '/tmp/ipykernel_166/' conflicts with another flow. Consider specifying a unique `name` parameter in the flow definition:

 `@flow(name='my_unique_name', ...)`
Everything still works but the Warning is annoying to users. Is there a real problem and could this warning be suppressed somehow?