-
Notifications
You must be signed in to change notification settings - Fork 6
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
Added protocol plugins - continuation of #958 #959
Conversation
- include utility programs like dlite-getuuid - include storages - include README.md and LICENSE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, I am still missing a bit clearer description of which methods that must be implemented in a plugin and under which conditions.. See my suggestion. Something like this could (should) be added to the template, I think. Otherwise it seem OK.
Co-authored-by: Francesca L. Bleken <[email protected]>
Good suggestion. I committed it. |
Description
Continuation of PR #958, but with PR #939 merged in.
Added protocol plugins to separate protocol from storage driver. The protocol plugins are currently only implemented in Python.
Currently 3 protocols plugins has been added: file, http and sftp.
Suggestions from review:
dlite.Instance.from_url()
now support the following forms:- driver://netloc/path?options#id # old form
- protocol+driver://netloc/path?options#id
- protocol://netloc/path?driver=driver;options#id
from_bytes()
orto_bytes()
class methodsType of change
Checklist for the reviewer
This checklist should be used as a help for the reviewer.