potiuk commented on a change in pull request #5786:  [AIRFLOW-5170] Fix 
encoding pragmas, consistent licences for python files and related pylint fixes
URL: https://github.com/apache/airflow/pull/5786#discussion_r314947561
 
 

 ##########
 File path: airflow/kubernetes/pod.py
 ##########
 @@ -14,29 +16,35 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+"""POD definition"""
 
 
 class Resources:
+    """POD resources"""
     def __init__(
             self,
             request_memory=None,
             request_cpu=None,
             limit_memory=None,
             limit_cpu=None,
             limit_gpu=None):
+        """Creates port"""
 
 Review comment:
   Yeah. I added also dosctring for the parameters (including types).

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


With regards,
Apache Git Services

Reply via email to