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

0.14 Development #387

Merged
merged 54 commits into from
Feb 21, 2025
Merged

0.14 Development #387

merged 54 commits into from
Feb 21, 2025

Conversation

zprobst
Copy link
Member

@zprobst zprobst commented Feb 5, 2025

Non main branch destination for 0.14 PRs.

https://github.com/nodestream-proj/nodestream/milestone/10

When all PRs are merged and issues closed. This PR will move out of draft, final reviewed, and merged.

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.17%. Comparing base (60d5851) to head (cb5bc11).
Report is 55 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #387      +/-   ##
==========================================
+ Coverage   98.04%   98.17%   +0.12%     
==========================================
  Files         149      150       +1     
  Lines        5471     5857     +386     
==========================================
+ Hits         5364     5750     +386     
  Misses        107      107              
Flag Coverage Δ
3.10-macos-latest 98.13% <100.00%> (+0.11%) ⬆️
3.10-ubuntu-latest 98.13% <100.00%> (+0.13%) ⬆️
3.10-windows-latest 98.13% <100.00%> (+0.13%) ⬆️
3.11-macos-latest 98.15% <100.00%> (+0.14%) ⬆️
3.11-ubuntu-latest 98.13% <100.00%> (+0.13%) ⬆️
3.11-windows-latest 98.13% <100.00%> (+0.13%) ⬆️
3.12-macos-latest 98.15% <100.00%> (+0.13%) ⬆️
3.12-ubuntu-latest 98.13% <100.00%> (+0.13%) ⬆️
3.12-windows-latest 98.13% <100.00%> (+0.13%) ⬆️
3.13-macos-latest 98.13% <100.00%> (+0.11%) ⬆️
3.13-ubuntu-latest 98.13% <100.00%> (+0.13%) ⬆️
3.13-windows-latest 98.13% <100.00%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@zprobst zprobst added this to the 0.14 milestone Feb 11, 2025
@zprobst zprobst marked this pull request as ready for review February 14, 2025 19:35
@zprobst zprobst requested a review from ccloes as a code owner February 14, 2025 19:35
Comment on lines -575 to -580
# DEPRECATED CODE BELOW ##
#
# The classes below are slated to be removed in the future.
# Additionally, there are aliases from the old class names to the new class
# names to ensure backwards compatibility. These aliases will be removed in
# the future.
Copy link
Contributor

Choose a reason for hiding this comment

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

In the future, I think it might be helpful to use

def __init__(self):
  warnings.warn(message, DeprecationWarning, stacklevel=2)

in addition to this warning in order to help IDE users and be a bit noisier about deprecation.

Copy link
Member Author

Choose a reason for hiding this comment

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

@jbristow keep me honest there if we deprecate something in the future.

Copy link
Contributor

@jbristow jbristow left a comment

Choose a reason for hiding this comment

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

One change, one formatting futures comment

def build_schema(self) -> Schema:
return Schema(self._inner.to_schema())

class FetchSchema(SchemaEnforcementMode):
Copy link
Contributor

Choose a reason for hiding this comment

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

Was it intended for the rest of the SchemaEnforcementMode subclasses to have docstrings but not this one?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed


def __init__(self, steps: Tuple[Step, ...], step_outbox_size: int) -> None:
def __init__(
self, steps: Tuple[Step, ...], step_outbox_size: int, object_store: ObjectStore
Copy link
Contributor

Choose a reason for hiding this comment

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

how do we feel about encouraging adding a trailing comma for wrapped parameter lists with 3 or more parameters? (not a hard rule, maybe?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@zprobst zprobst merged commit 5036dd5 into main Feb 21, 2025
16 checks passed
@zprobst zprobst deleted the 0.14 branch February 21, 2025 17:34
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.

2 participants