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

Add node version filtering for sampling #74

Merged
merged 12 commits into from
Aug 12, 2024

Conversation

vzotova
Copy link
Member

@vzotova vzotova commented Aug 2, 2024

Type of PR:

  • Bugfix
  • Feature
  • Documentation
  • Other

Required reviews:

  • 1
  • 2
  • 3

What this does:

High-level idea of the changes introduced in this PR.
List relevant API changes (if any), as well as related PRs and issues.

Issues fixed/closed:

  • Fixes #...

Closes https://github.com/nucypher/sprints/issues/36.

Why it's needed:

Explain how this PR fits in the greater context of the NuCypher Network.
E.g., if this PR addresses a nucypher/productdev issue, let reviewers know!

Notes for reviewers:

What should reviewers focus on?
Is there a particular commit/function/section of your PR that requires more attention from reviewers?

@vzotova vzotova self-assigned this Aug 2, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.54%. Comparing base (07f7da5) to head (702334a).

Additional details and impacted files
@@               Coverage Diff               @@
##           development      #74      +/-   ##
===============================================
+ Coverage        87.31%   90.54%   +3.23%     
===============================================
  Files               18       18              
  Lines              867      899      +32     
===============================================
+ Hits               757      814      +57     
+ Misses             110       85      -25     

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

@vzotova vzotova force-pushed the min-version branch 2 times, most recently from 284db31 to 4a958a9 Compare August 8, 2024 19:07
@vzotova vzotova marked this pull request as ready for review August 9, 2024 12:19
Copy link
Member

@derekpierre derekpierre left a comment

Choose a reason for hiding this comment

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

🎸


def _validate(self, value):
try:
parse(value)
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

@@ -125,6 +126,18 @@ class GetUrsulas(BaseSchema):
),
)

min_version = VersionString(
Copy link
Member

Choose a reason for hiding this comment

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

We need to update the README to add this optional parameter.

Filed #75 which can be addressed in a separate PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added small note in README for get_ursulas

@KPrasch KPrasch merged commit 66938c7 into nucypher:development Aug 12, 2024
4 checks passed
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.

5 participants