Skip to content

0.10.15

Latest
Compare
Choose a tag to compare
@mscolnick mscolnick released this 20 Jan 17:01
· 14 commits to main since this release

Highlights

mo.download allows for (async) functions as that data arg

# JSON download with lazy loading
async def get_json_data():
    await asyncio.sleep(1)
    _data = {"message": "Hello", "count": 42}
    return json.dumps(_data).encode("utf-8")


download = mo.download(
    data=get_json_data,
    filename="data.json",
    label="Download JSON",
)
download

What's Changed

New Contributors

Full Changelog: 0.10.14...0.10.15