Hi,
I am trying to use kuberay operator. I have created kuberay-operator and ray-cluster using helm chart and it is running in a new namespace.
When I am trying to run an example code mentioned in the blog here , getting this below error.
Copy code
File "/home/kkanagar/kkr/kuberay_test.py", line 15, in <module>
def ray_task() -> list[int]:
TypeError: 'type' object is not subscriptable
Changing this list[int] to any is working fine in local but when trying to register to remote flyte.
Need your help, please
f
freezing-airport-6809
10/17/2022, 3:28 AM
Typing.List[int]
freezing-airport-6809
10/17/2022, 3:29 AM
Remember python type hints uses the typing library- read about it in python docs