You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/11/12 21:05:05 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #6524: [AIRFLOW-5873] KubernetesPodOperator fixes and test

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:
users@infra.apache.org


With regards,
Apache Git Services