David Flores
04/15/2023, 7:00 AMfrom prefect import flow, task, get_run_logger
from minio import Minio
@task
def bucket_creation(bucket_name: str = "name-entries"):
logger = get_run_logger()
<http://logger.info|logger.info>(f"Creating bucket name: [bold red]{bucket_name} ==> MINIO_ENDPOINT: {os.getenv('MINIO_ENDPOINT')}[/]")
client = Minio(
...
The above <http://logger.info|logger.info>
is using Rich’s markup and these are the output I have on the Prefect Server flow run and at the agent levelmarkup
at the Prefect UI level on a flow run?