potiuk commented on a change in pull request #6524: [AIRFLOW-5873]
KubernetesPodOperator fixes and test
URL: https://github.com/apache/airflow/pull/6524#discussion_r345442879
##########
File path: airflow/kubernetes/pod.py
##########
@@ -40,6 +40,8 @@ class Resources(K8SModel):
:param limit_gpu: Limits for GPU used
:type limit_gpu: int
"""
+ __slots__ = ('request_memory', 'request_cpu', 'limit_memory', 'limit_cpu',
'limit_gpu')
Review comment:
Nice!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services