MatthieuBlais commented on PR #26593:
URL: https://github.com/apache/airflow/pull/26593#issuecomment-1255865323

   yep I can change the default value instead, like paramiko does. My only 
concern is that this other class function uses decimal default value instead of 
octal so wouldn't it be confusing?
   
   ```
   def mkdir(self, path: str, mode: int = 777) -> None:
           """
           Creates a directory on the remote system.
           :param path: full path to the remote directory to create
           :param mode: permissions to set the directory with
           """
           conn = self.get_conn()
           conn.mkdir(path, mode=int(str(mode), 8))
   ```       


-- 
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]

Reply via email to