-
I receive error:
My code: @flow
def scrapy_site(site_name:str, auth:tuple[str, str], codes:Sequence) -> dict:
site_dump = scrapy(auth, codes)
return site_dump
@flow
def flow_getsite():
codes_from_base = load_codes()
csv_raw = scrapy_site(SITE_NAME, auth=AUTH, codes=codes_from_base) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not the answer you are looking for, but you may workaround it by storing those big params and pass a link to them in flows. |
Beta Was this translation helpful? Give feedback.
-
Per the documentation: "Flow run parameters cannot exceed 512kb in size" (https://docs.prefect.io/2.14.3/concepts/flows/?h=parameter#parameters). Is this a "necessary evil" kind of situation? It would be much better if flow parameters were size unconstrained, similar to what we can do with task parameters... If it is a hard constraint limit, maybe there's room for a prefect solution to generating and managing links to these large files automatically (with local and cloud storage options)? |
Beta Was this translation helpful? Give feedback.
Not the answer you are looking for, but you may workaround it by storing those big params and pass a link to them in flows.