Skip to content

Commit

Permalink
Fix RayHook conn_name_attr (#106)
Browse files Browse the repository at this point in the history
It was mistakely named something else.
It overrides the KubernetesHook and all the examples and tests actually use `conn_id` as opposed to `ray_conn_id`."
  • Loading branch information
tatiana authored Dec 2, 2024
1 parent 8ccc839 commit c52202a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ray_provider/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class RayHook(KubernetesHook): # type: ignore
:param conn_id: The connection ID to use when fetching connection info.
"""

conn_name_attr = "ray_conn_id"
conn_name_attr = "conn_id"
default_conn_name = "ray_default"
conn_type = "ray"
hook_name = "Ray"
Expand Down

0 comments on commit c52202a

Please sign in to comment.