class_docstr: A filter used in a lineage query.
class_docstr_tok: ["A","filter","used","in","a","lineage","query","."]
docstr: Initialize ``LineageFilter`` instance.
docstr_tok: ["Initialize","``","LineageFilter","``","instance","."]
code: def __init__(
      self,
      entities: Optional[List[Union[LineageEntityEnum, str]]] = None,
      sources: Optional[List[Union[LineageSourceEnum, str]]] = None,
      created_before: Optional[datetime] = None,
      created_after: Optional[datetime] = None,
      modified_before: Optional[datetime] = None,
      modified_after: Optional[datetime] = None,
      properties: Optional[Dict[str, str]] = None,
  ):
      """Initialize ``LineageFilter`` instance."""
      self.entities = entities
      self.sources = sources
      self.created_before = created_before
      self.created_after = created_after
      self.modified_before = modified_before
      self.modified_after = modified_after
      self.properties = properties
  
imports: from __future__ import absolute_import
  from datetime import datetime
  from enum import Enum
  from typing import Any, Optional, Union, List, Dict
  from json import dumps
  from re import sub, search
  from sagemaker.utils import get_module
  from sagemaker.lineage._utils import get_resource_name_from_arn
label_desc: Use image node_id 1 to create a new LineageFilter object from inherited base classes: object with example: obj = LineageFilter(entities, sources, created_before, created_after, modified_before, modified_after, properties)