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

Make IrodsPath usable with open() function #170

Closed
qubixes opened this issue May 28, 2024 · 0 comments · Fixed by #241
Closed

Make IrodsPath usable with open() function #170

qubixes opened this issue May 28, 2024 · 0 comments · Fixed by #241
Assignees
Labels
enhancement New feature or request not urgent No need to fix immediately or soon
Milestone

Comments

@qubixes
Copy link
Collaborator

qubixes commented May 28, 2024

I think it would be really nice with we could do:

with open(ipath, "w") as handle:
     handle.write("...")

And read as well of course. I don't know how much would be involved with this, but it could stimulate our users to not download files. The feature is already present in the python-irodsclient I think, but it would be nice if this could be directly exposed through the irods path. Given that it's already implemented upstream, perhaps it would not be too much work.

Edit:

After looking at this for a bit, the easier solution would be to use a similar system as PRC, so ipath.open(...).

@qubixes qubixes added enhancement New feature or request not urgent No need to fix immediately or soon labels May 28, 2024
@qubixes qubixes added this to the v1.x milestone Jun 20, 2024
@qubixes qubixes self-assigned this Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not urgent No need to fix immediately or soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant