datahq / dataflows

DataFlows is a simple, intuitive lightweight framework for building data processing flows in python.
https://dataflows.org
MIT License
193 stars 39 forks source link

File remains locked after running flow in QtConsole on Windows #145

Closed as2875 closed 3 years ago

as2875 commented 3 years ago

Run the following in QtConsole on Windows (which is what the popular Spyder IDE does).

import dataflows

data = [
    {"data": "Hello"},
    {"data": "World"}
]

f = dataflows.Flow(
    data,
    dataflows.dump_to_zip("package.zip")
)

f.process()

The file package.zip remains locked after the code finishes running and can only be accessed after closing the console.

(@lwinfree, @sje30)

akariv commented 3 years ago

Thanks for reporting @as2875 !