Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lineapy.save to support multiple variables/side-effects #448

Open
yifanwu opened this issue Dec 8, 2021 · 0 comments
Open

lineapy.save to support multiple variables/side-effects #448

yifanwu opened this issue Dec 8, 2021 · 0 comments

Comments

@yifanwu
Copy link
Contributor

yifanwu commented Dec 8, 2021

Note: This is lifted out of #447 since the solution is different.

What: when lifting workflows out of a notebook/script, people might want to capture multiple side-effects (or even variables) because they conceptually group them in the same job.

Why: @marov's use case for exporting both to_csv and to_sql.

Possible Approaches:

  • save to accept a set of variables/side-effects, so here it would be .save([lineapy.db, lineapy.file_system], "external writes").
  • create a new abstraction similar to lineapy.db and lineapy.file_system but for all external side effects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant