Geert11/23/2023, 1:21 PM
if "SKIP_HEAVY_IMPORTS" not in os.environ:
but i don’t think that will suffice for your purposes. you can always hack things around like moving imports into the body of tasks, but fundamentally task signatures are inspected by flytekit and inspected for typetransformers, etc. i think we to establish a good pattern for this @Thomas Fan @Eduardo Apolinario (eapolinario)
Geert11/24/2023, 7:50 AM
, but I gather this is just something we have to deal with for now then? There is no way to not install task-specific Python requirements when registering. Flyte needs them all installed locally.
Thomas Fan11/27/2023, 4:15 PM
Geert11/27/2023, 5:01 PM