David Flores

04/15/2023, 7:00 AM
Hello!, wondering if someone has issues applying markups in logs?. I have the following code and settings on the Prefect server, but I cannot seem to make it work.
Copy code
from prefect import flow, task, get_run_logger
from minio import Minio

def bucket_creation(bucket_name: str = "name-entries"):
    logger = get_run_logger()
    <|>(f"Creating bucket name: [bold red]{bucket_name} ==> MINIO_ENDPOINT: {os.getenv('MINIO_ENDPOINT')}[/]")
    client = Minio(
The above
is using Rich’s markup and these are the output I have on the Prefect Server flow run and at the agent level
One thing to not is that the agent is running in a docker environment, the same as the server. Also should I expect that
at the Prefect UI level on a flow run?