Skip to content

add FS.scheme property#338

Closed
yhrkw wants to merge 1 commit into
pfnet:masterfrom
yhrkw:add-scheme-property
Closed

add FS.scheme property#338
yhrkw wants to merge 1 commit into
pfnet:masterfrom
yhrkw:add-scheme-property

Conversation

@yhrkw
Copy link
Copy Markdown
Contributor

@yhrkw yhrkw commented Apr 17, 2024

@yhrkw yhrkw requested a review from kuenishi April 17, 2024 02:10
Copy link
Copy Markdown
Member

@kuenishi kuenishi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The overall looks good, but I want a bit doc to clarify what the property is for.

Comment thread pfio/v2/fs.py
self.pid = os.getpid()
if scheme:
self._scheme = str(scheme)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like you to add a few sentences of document here to clarify this variable stores the name of custom scheme or actual implementation scheme (e.g. s3, data, or hdfs). Reading the code told me either can be here. The former if custom scheme defined, and the latter if it's not defined.

@kuenishi kuenishi added this to the 2.10 milestone Nov 22, 2024
@namachan10777
Copy link
Copy Markdown
Contributor

Duplicate with #377

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

Successfully merging this pull request may close these issues.

3 participants