Is there any way to suppress the warning: ` ```/us...
# prefect-cloud
g
Is there any way to suppress the warning: `
Copy code
/usr/lib/python3.10/runpy.py:126: RuntimeWarning: 'prefect.engine' found in sys.modules after import of package 'prefect', but prior to execution of 'prefect.engine'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
b
Hi GDH, sorry that this one is driving you nuts. In regards to why this is happening, nate explained it well in this thread.
I believe there will be efforts on our end to clean this up, here's an open issue related to it
if you realllllllyyyy want to get this error out of your hair, there may be a way to filter it out of the logs by applying a filter to a custom logging.yml file. Here's an example of how to do that.