nitinmuteja commented on PR #23531:
URL: https://github.com/apache/airflow/pull/23531#issuecomment-1124543118
> I'm not really on board with having our own `V1ResourceRequirements` - we
intentionally moved away from this pattern for a reason.
>
> I haven't tried it, but would this pattern work instead (making this a
documentation issue)?
>
> ```
> resources = k8s.V1ResourceRequirements(requests={'memory': '100Mi'})
> resources.template_fields = ('requests')
>
> KPO(
> ...,
> resources=resources
> )
> ```
This one does not work as the external V1ResourceRequirements does not have
template_fields class attribute.
--
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]