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

Match the list signature from colab #167

Merged
merged 2 commits into from
Feb 15, 2023
Merged

Match the list signature from colab #167

merged 2 commits into from
Feb 15, 2023

Conversation

liamhuber
Copy link
Member

My local python installation allows a seq kwarg to list, which caused an error on my binder. I'm still not 100% if this is some pycharm magic (unlikely) or a change between 3.8 and 3.11 (likely). Interestingly, even the mybinder help for list?? erroneously states Init signature: list(iterable=(), /). In fact, no kwargs are possible. Only a single (iterable) arg is allowable, but I'm just going to follow the colab list?? and allow the full generic signature and let users hit the error themselves.

My local python installation allows a `seq` kwarg to list, which caused an error on my binder. I'm still not 100% if this is some pycharm magic (unlikely) or a change between 3.8 and 3.11 (likely). Interestingly, even the mybinder help for `list??` erroneously states `Init signature: list(iterable=(), /)`. In fact, no kwargs are possible. Only a single (iterable) arg is allowable, but I'm just going to follow the colab `list??` and allow the full generic signature and let users hit the error themselves.
@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch pyiron/ironflow/binder_hotfix

@liamhuber liamhuber added the format_black Invoke black formatting CI label Feb 15, 2023
@liamhuber
Copy link
Member Author

Pip-check failure is due to upstream inconsistencies between pyiron_base and mendeleev (a pyiron_atomistics dep). I won't worry about it here.

@liamhuber liamhuber marked this pull request as ready for review February 15, 2023 00:24
@liamhuber liamhuber merged commit 1b133b5 into main Feb 15, 2023
@liamhuber liamhuber deleted the binder_hotfix branch February 15, 2023 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
format_black Invoke black formatting CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants