https://flyte.org logo
#ask-the-community
Title
# ask-the-community
k

karthikraj

10/16/2022, 8:37 PM
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

Ketan (kumare3)

10/17/2022, 3:28 AM
Typing.List[int]
Remember python type hints uses the typing library- read about it in python docs
k

karthikraj

10/17/2022, 10:24 PM
Thank you... 🙂
14 Views