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

fixed type hint of hrandfield method #155

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Conversation

amirreza8002
Copy link
Contributor

@amirreza8002 amirreza8002 commented Dec 16, 2024

hrandfield returns a byte if no count is given
if count is given it returns a list of bytes
if there is no value found, it returns None

Copy link
Member

@aiven-sal aiven-sal left a comment

Choose a reason for hiding this comment

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

Hi! 3.9 doesn't support this syntax. You should use Union.

@amirreza8002
Copy link
Contributor Author

ah
sorry, was doing the same thing in another package and forgot

Copy link
Collaborator

@mkmkme mkmkme left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

mkmkme
mkmkme previously approved these changes Dec 16, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.22%. Comparing base (1d0ac55) to head (1fc6f9b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #155   +/-   ##
=======================================
  Coverage   76.22%   76.22%           
=======================================
  Files         130      130           
  Lines       33946    33946           
=======================================
  Hits        25877    25877           
  Misses       8069     8069           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mkmkme mkmkme dismissed aiven-sal’s stale review December 16, 2024 11:51

It was updated in the follow-up commit

@mkmkme mkmkme enabled auto-merge December 16, 2024 12:13
@mkmkme mkmkme merged commit d5bb6bf into valkey-io:main Dec 16, 2024
93 checks passed
@mkmkme mkmkme added the typing label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants