Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[#465] introduce irods.experimental.client.http module#466

Draft
d-w-moore wants to merge 12 commits into
irods:mainirods/python-irodsclient:mainfrom
d-w-moore:prc_session_httpd-w-moore/python-irodsclient:prc_session_httpCopy head branch name to clipboard
Draft

[#465] introduce irods.experimental.client.http module#466
d-w-moore wants to merge 12 commits into
irods:mainirods/python-irodsclient:mainfrom
d-w-moore:prc_session_httpd-w-moore/python-irodsclient:prc_session_httpCopy head branch name to clipboard

Conversation

@d-w-moore

Copy link
Copy Markdown
Collaborator

irods.client.experimental.http.Session is a new way of connecting and reflects one possible future of iRODS clients, ie communicating via HTTP instead of the traditional iRODS protocol.

irods.client.http.Session is a new way of connecting and reflects one
possible future of iRODS clients, ie communicating via HTTP instead of
the traditional iRODS protocol.
@d-w-moore d-w-moore marked this pull request as draft July 19, 2023 17:42
@d-w-moore d-w-moore changed the title [#465] introduce irods.client..experimental.http module [#465] introduce irods.client.experimental.http module Jul 19, 2023
@trel

trel commented Jul 19, 2023

Copy link
Copy Markdown
Member

experimental, .... 'above' client ?

@trel

trel commented Jul 19, 2023

Copy link
Copy Markdown
Member

and commit message to be updated/corrected once decided.

@korydraughn

Copy link
Copy Markdown
Contributor

I vote for experimental being above client as well.

That gives us a single namespace for any number of experimental things.

We also need to include documentation that explains the purpose/goals of the experimental module.

@d-w-moore

Copy link
Copy Markdown
Collaborator Author

Yes I suppose that move makes sense.

(See Session.data_object_replicas).

Also, swap the client and experimental namespaces.
And rework the demo slightly.
@d-w-moore d-w-moore changed the title [#465] introduce irods.client.experimental.http module [#465] introduce irods.experimental.client.http module Jul 19, 2023
d-w-moore added 10 commits July 20, 2023 02:31
regularize use of int and string for offset, count

data_object gets one replica by default

can pass genquery options to session.data_object
offset no longer used to indicate return type.
len of page properly used to update offset in each call to get_r
to get initial page, we can call next_page() init on returned iterator.
other offsets of pages should be done Pythonically ie with itertools.islice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.