Thomas Fredriksen10/05/2021, 9:26 AM
will patch the SSL-library and requires the following lines to be added before
is imported in order to avoid an infinite import recursion:
I am trying to deploy my flow to a Prefect Server instance, but it seems I am not able to monkey-patch early enough, as I am seeing this infinite recursion error in one of my tasks. Is there any way of forcing the server to do this monkey-patch before executing the flow?
import gevent.monkey gevent.monkey.patch_all()
Kevin Kho10/05/2021, 2:55 PM
Thomas Fredriksen10/05/2021, 5:32 PM
Kevin Kho10/06/2021, 2:47 PM