We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.9
Union type syntax of | is available in only in 3.10 onwards. As such, these lines:
|
PyBOP/examples/scripts/ecm_tau_constraints.py
Line 60 in cd07b14
Need to be update to the Union syntax, i.e. tau_mins: Union[float, list[float]]
Union
tau_mins: Union[float, list[float]]
https://github.com/pybop-team/PyBOP/actions/runs/10593835366/job/29356214940
No response
The text was updated successfully, but these errors were encountered:
ecm_tau_constraints.py
Successfully merging a pull request may close this issue.
Python Version
3.9
Describe the bug
Union type syntax of
|
is available in only in 3.10 onwards. As such, these lines:PyBOP/examples/scripts/ecm_tau_constraints.py
Line 60 in cd07b14
Need to be update to the
Union
syntax, i.e.tau_mins: Union[float, list[float]]
Steps to reproduce the behaviour
https://github.com/pybop-team/PyBOP/actions/runs/10593835366/job/29356214940
Relevant log output
No response
The text was updated successfully, but these errors were encountered: