You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was not an issue with the previous ray version we were using (1.10.0).
Versions / Dependencies
Ray: 1.13.0
Python: 3.8.10
OS: Ubuntu 20.04.4 LTS
Reproduction script
test_ray_remote.py:
importray@ray.remote(num_cpus=2)deff():
pass
mypy test_ray_remote.py`
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered:
birgerbr
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Jun 10, 2022
What happened + What you expected to happen
Static type checking with mypy and PyCharm fails when
ray.remote
is used with options (ray.remote(num_cpus=2)
).Running mypy on this code:
gives the following error message:
This was not an issue with the previous ray version we were using (1.10.0).
Versions / Dependencies
Ray: 1.13.0
Python: 3.8.10
OS: Ubuntu 20.04.4 LTS
Reproduction script
test_ray_remote.py
:mypy test_ray_remote.py`
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: