turbaszek commented on a change in pull request #9531:
URL: https://github.com/apache/airflow/pull/9531#discussion_r448905152



##########
File path: airflow/utils/file.py
##########
@@ -90,6 +90,47 @@ def open_maybe_zipped(fileloc, mode='r'):
         return io.open(fileloc, mode=mode)
 
 
+def find_path_from_directory(
+        base_dir_path: str,
+        ignore_list_file: str) -> Generator[str, None, None]:
+    """
+    Search the file and return the path of the file that should not be ignored.
+    :param base_dir_path: the base path to be searched for.
+    :param ignore_file_list_name: the file name in which specifies a regular 
expression pattern is written.

Review comment:
       ```suggestion
           ignore_file_name: str) -> Generator[str, None, None]:
       """
       Search the file and return the path of the file that should not be 
ignored.
       :param base_dir_path: the base path to be searched for.
       :param ignore_file_name: the file name in which specifies a regular 
expression pattern is written.
   ```
   WDYT?




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


Reply via email to