Thomas Fredriksen
10/05/2021, 9:26 AMgevent
package. gevent
will patch the SSL-library and requires the following lines to be added before ssl
is imported in order to avoid an infinite import recursion:
import gevent.monkey
gevent.monkey.patch_all()
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?Thomas Fredriksen
10/05/2021, 9:28 AMKevin Kho
Thomas Fredriksen
10/05/2021, 5:32 PMThomas Fredriksen
10/05/2021, 5:34 PMThomas Fredriksen
10/05/2021, 5:39 PMKevin Kho