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

as_something representation #4

Open
stuaxo opened this issue Jan 24, 2019 · 0 comments
Open

as_something representation #4

stuaxo opened this issue Jan 24, 2019 · 0 comments

Comments

@stuaxo
Copy link

stuaxo commented Jan 24, 2019

I wonder if, as well as toRepresentation and fromRepresentation, there could be asRepresentation to work in with statements - at the end of the block, the data could come back into its source path

with as_nodelist(path) as nodes:
    ... do stuff with nodes

# at end of with block path has been updated with data from nodes
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