jscheffl commented on code in PR #66979:
URL: https://github.com/apache/airflow/pull/66979#discussion_r3252429056
##########
providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/ray.py:
##########
@@ -155,7 +155,7 @@ def __init__(
**kwargs,
) -> None:
super().__init__(*args, **kwargs)
- self.head_node_type = head_node_type
+ self.head_node_type = head_node_type if head_node_type is not None
else resources.Resources()
Review Comment:
Like above
```suggestion
self.head_node_type = head_node_type or resources.Resources()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]