class_docstr: Partition filter for path-based partition formats.
  
  Used to explicitly keep or reject files based on a custom filter function that
  takes partition keys and values parsed from the file's path as input.
class_docstr_tok: ["Partition","filter","for","path-based","partition","formats",".","Used","to","explicitly","keep","or","reject","files","based","on","a","custom","filter","function","that","takes","partition","keys","and","values","parsed","from","the","file","'s","path","as","input","."]
docstr: Returns the path partition parser for this filter.
docstr_tok: ["Returns","the","path","partition","parser","for","this","filter","."]
code: def parser(self) -> PathPartitionParser:
      """Returns the path partition parser for this filter."""
      return self._parser
  
imports: import posixpath
  from dataclasses import dataclass
  from enum import Enum
  from typing import TYPE_CHECKING, Callable, Dict, List, Optional
  from ray.util.annotations import DeveloperAPI, PublicAPI
label_desc: Use image node_id 4 for calling the PathPartitionFilter obj's underlying member method code with example usage: obj.parser() and returns: self