class_docstr: Configuration that specifies how the local working directory should be packaged.
class_docstr_tok: ["Configuration","that","specifies","how","the","local","working","directory","should","be","packaged","."]
docstr: Initialize a CustomFileFilter.
  
  Args:
      ignore_name_patterns (List[str]): ignore files or directories with names
        that match one of the glob-style patterns. Defaults to None.
docstr_tok: ["Initialize","a","CustomFileFilter",".","Args",":","ignore_name_patterns","(","List","[","str","]",")",":","ignore","files","or","directories","with","names","that","match","one","of","the","glob-style","patterns",".","Defaults","to","None","."]
code: def __init__(self, *, ignore_name_patterns: List[str] = None):
      """Initialize a CustomFileFilter.
  
      Args:
          ignore_name_patterns (List[str]): ignore files or directories with names
            that match one of the glob-style patterns. Defaults to None.
      """
  
      if ignore_name_patterns is None:
          ignore_name_patterns = []
  
      self._workdir = os.getcwd()
      self._ignore_name_patterns = ignore_name_patterns
  
file_path: sagemaker-python-sdk/src/sagemaker/remote_function/custom_file_filter.py
imports: from __future__ import absolute_import
  import fnmatch
  import os
  import shutil
  from typing import List, Optional, Callable, Union
  from sagemaker.utils import resolve_value_from_config
  from sagemaker.config.config_schema import REMOTE_FUNCTION_PATH, CUSTOM_FILE_FILTER
label_desc: Use image node_id 1 to create a new CustomFileFilter object  with example: obj = CustomFileFilter()