Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Fail on stopiteration #521

Merged
merged 2 commits into from
Sep 7, 2020
Merged

Fail on stopiteration #521

merged 2 commits into from
Sep 7, 2020

Conversation

zero323
Copy link
Owner

@zero323 zero323 commented Sep 6, 2020

Picked from #464 and adjusted.

CC @Fokko


def print_exec(stream: Any) -> None: ...

class VersionUtils:
@staticmethod
def majorMinorVersion(sparkVersion: Any): ...

def fail_on_stopiteration(f: Any): ...
def fail_on_stopiteration(f: F) -> F: ...
Copy link
Owner Author

Choose a reason for hiding this comment

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

That's not precisely what's going on, but (arguably) reflects intended usage.

@zero323 zero323 merged commit 3371d6b into master Sep 7, 2020
@zero323 zero323 deleted the fail-on-stopiteration branch September 7, 2020 18:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants