Axel Bock
02/26/2023, 10:16 AM@op
def unpack_zip():
# ... which zip?
...
@job
def handle_zip():
# no idea where zip_file should come from
dir = unpack_zip(zip_file)
for f in os.listdir(dir):
# now how do i create "smaller" assets (1 per CSV file)?
# is that the right approach?
...
@sensor(job=handle_zip)
def zip_file():
# should each found ZIP file not be an asset itself?
# also, what _is_ actually _run_ here?
yield RunRequest(run_key="1", run_config={"file": "./testdata/1.zip"})
so frankly iām kinda stuck and would appreciate any help here. please donāt just link to the docs without further explanation, i have read a lot of them and i really donāt see it ā¦ š (btw, i would be happy to help out with them, once i understand it)sandy
02/27/2023, 4:40 PM