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

feat: add path field to ByteStream #6168

Closed
wants to merge 5 commits into from
Closed

feat: add path field to ByteStream #6168

wants to merge 5 commits into from

Conversation

ZanSara
Copy link
Contributor

@ZanSara ZanSara commented Oct 25, 2023

Related Issues

Proposed Changes:

Add an optional path field to ByteStream to store path information, if available.

How did you test it?

  • Local unit tests
  • CI

Notes for the reviewer

Checklist

@github-actions github-actions bot added topic:tests type:documentation Improvements on the docs and removed topic:tests labels Oct 25, 2023
@ZanSara ZanSara marked this pull request as ready for review October 25, 2023 08:23
@ZanSara ZanSara requested a review from a team as a code owner October 25, 2023 08:23
@ZanSara ZanSara requested review from anakin87 and removed request for a team October 25, 2023 08:23
@ZanSara ZanSara requested a review from a team as a code owner October 25, 2023 08:24
@ZanSara ZanSara requested review from dfokina and removed request for a team October 25, 2023 08:24
Comment on lines +14 to 15
path: Optional[Union[str, Path]] = None
mime_type: Optional[str] = field(default=None)
Copy link
Member

Choose a reason for hiding this comment

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

What is the difference between = None and field(default=None)?

(Excuse my ignorance...)

@ZanSara ZanSara closed this Oct 25, 2023
@masci masci deleted the path-for-bytestream branch February 5, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:documentation Improvements on the docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants