Hi, I am trying to use kuberay operator. I have c...
# ask-the-community
k
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
k
Typing.List[int]
Remember python type hints uses the typing library- read about it in python docs
k
Thank you... 🙂
180 Views