class_docstr: An Amazon SageMaker endpoint context, which is part of a SageMaker lineage.
class_docstr_tok: ["An","Amazon","SageMaker","endpoint","context",",","which","is","part","of","a","SageMaker","lineage","."]
docstr: Use the lineage query to retrieve transform jobs that use this endpoint.
  
  Args:
      direction (LineageQueryDirectionEnum, optional): The query direction.
  
  Returns:
      list of LineageTrialComponent: Lineage trial component that represent Transform jobs.
docstr_tok: ["Use","the","lineage","query","to","retrieve","transform","jobs","that","use","this","endpoint",".","Args",":","direction","(","LineageQueryDirectionEnum",",","optional",")",":","The","query","direction",".","Returns",":","list","of","LineageTrialComponent",":","Lineage","trial","component","that","represent","Transform","jobs","."]
code: def transform_jobs(
      self,
      direction: LineageQueryDirectionEnum = LineageQueryDirectionEnum.ASCENDANTS,
  ) -> List[LineageTrialComponent]:
      """Use the lineage query to retrieve transform jobs that use this endpoint.
  
      Args:
          direction (LineageQueryDirectionEnum, optional): The query direction.
  
      Returns:
          list of LineageTrialComponent: Lineage trial component that represent Transform jobs.
      """
      query_filter = LineageFilter(
          entities=[LineageEntityEnum.TRIAL_COMPONENT],
          sources=[LineageSourceEnum.TRANSFORM_JOB],
      )
      query_result = LineageQuery(self.sagemaker_session).query(
          start_arns=[self.context_arn],
          query_filter=query_filter,
          direction=direction,
          include_edges=False,
      )
      return [
          vertex.to_lineage_object() for vertex in query_result.vertices
      ]
  
imports: from __future__ import absolute_import
  from datetime import datetime
  from typing import Iterator, Optional, List
  from sagemaker.apiutils import _base_types
  from sagemaker.lineage import _api_types, _utils, association
  from sagemaker.lineage._api_types import ContextSummary
  from sagemaker.lineage.query import LineageQuery, LineageFilter, LineageSourceEnum, LineageEntityEnum, LineageQueryDirectionEnum
  from sagemaker.lineage.artifact import Artifact
  from sagemaker.lineage.action import Action
  from sagemaker.lineage.lineage_trial_component import LineageTrialComponent
  from sagemaker.utils import format_tags
label_desc: Use image node_id 6 for calling the EndpointContext obj's underlying member method code with example usage: obj.transform_jobs(direction) and returns: unknown