Hi all! Prefect sometimes spends over 10 minutes i...
# ask-community
s
Hi all! Prefect sometimes spends over 10 minutes inspecting a task parameter, and the documentation shows that we can turn this off using the
quote
annotation. This doesnt seem to work for us, as we're using a scheduler and so we get Futures instead of objects, and wrapping quote around a future and then trying to access the data in the future (the same way without the quote) by using
task_future.data
raises:
Copy code
AttributeError: 'PrefectFuture' object has no attribute 'data'
Does anyone know how to combine
quote
and futures where you launch tasks via
submit
?
m
@Samuel Hinton did you find a workaround? experiencing this as well and Marvin didn't really help.
s
Yes, we rewrote out entire flow and changed out infrastructure layout to no longer use dask workers, running now as process workers, so we dont use submit. Its a workaround, but not a simple one