import os
os.environ['PREFECT__LOGGING__LEVEL'] = "WARNING"
from prefect import Flow, task

@task 
def hw():
    print('Hello World')

with Flow('hello') as flow:
    hw()

flow.run()