Skip to content

CLN: core.internals #31179

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

Merged
merged 9 commits into from
Jan 23, 2020
Merged

Conversation

jbrockmendel
Copy link
Member

some annotations, remove an unused argument, privatize where possible, avoid a runtime/circular import

@WillAyd WillAyd added the Clean label Jan 21, 2020
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

lgtm

else:
assert isinstance(result, Block), type(result)
Copy link
Member

Choose a reason for hiding this comment

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

do we need a run-time check? can result be typed as Union[Block, List[Union[Block, List[Block]]]? Might help to type blocks and return type while touching this.

Copy link
Member Author

Choose a reason for hiding this comment

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

thats a pretty ugly nested union; ill see if i can get rid of the double-list in the next pass

Copy link
Member Author

Choose a reason for hiding this comment

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

@simonjayhawkins is this a deal-breaker? id like to clear the queue

@simonjayhawkins simonjayhawkins added this to the 1.1 milestone Jan 23, 2020
@simonjayhawkins simonjayhawkins merged commit 590e20c into pandas-dev:master Jan 23, 2020
@simonjayhawkins
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the cln-internals branch January 23, 2020 17:26
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.

3 participants