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

Fix typing for inp.py #17

Merged
merged 1 commit into from Feb 15, 2022
Merged

Fix typing for inp.py #17

merged 1 commit into from Feb 15, 2022

Conversation

mttcnnff
Copy link
Contributor

@mttcnnff mttcnnff commented Feb 14, 2022

Description

When doing from bytewax import inp I kept getting the error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'type' object is not subscriptable

After fiddling with the type hints in the file I was able to get it to work again 🎉

Environment Details:

Python Version

Python 3.8.8

Pip List

Package           Version
----------------- -------
bytewax           0.7.0
distlib           0.3.4
filelock          3.4.2
pbr               5.8.0
pip               22.0.3
platformdirs      2.4.1
setuptools        49.2.1
six               1.16.0
sseclient-py      1.7.2
stevedore         3.5.0
urllib3           1.26.8
virtualenv        20.12.1
virtualenv-clone  0.5.7
virtualenvwrapper 4.8.4

@whoahbot
Copy link
Contributor

Great catch. Thank you so much for the PR! ✨

@whoahbot whoahbot merged commit e4f927d into bytewax:main Feb 15, 2022
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.

None yet

2 participants