class_docstr: An Amazon SageMaker context, which is part of a SageMaker lineage.
  
  Attributes:
      context_arn (str): The ARN of the context.
      context_name (str): The name of the context.
      context_type (str): The type of the context.
      description (str): A description of the context.
      source (obj): The source of the context with a URI and type.
      properties (dict): Dictionary of properties.
      tags (List[dict[str, str]]): A list of tags to associate with the context.
      creation_time (datetime): When the context was created.
      created_by (obj): Contextual info on which account created the context.
      last_modified_time (datetime): When the context was last modified.
      last_modified_by (obj): Contextual info on which account created the context.
class_docstr_tok: ["An","Amazon","SageMaker","context",",","which","is","part","of","a","SageMaker","lineage",".","Attributes",":","context_arn","(","str",")",":","The","ARN","of","the","context",".","context_name","(","str",")",":","The","name","of","the","context",".","context_type","(","str",")",":","The","type","of","the","context",".","description","(","str",")",":","A","description","of","the","context",".","source","(","obj",")",":","The","source","of","the","context","with","a","URI","and","type",".","properties","(","dict",")",":","Dictionary","of","properties",".","tags","(","List","[","dict","[","str",",","str","]","]",")",":","A","list","of","tags","to","associate","with","the","context",".","creation_time","(","datetime",")",":","When","the","context","was","created",".","created_by","(","obj",")",":","Contextual","info","on","which","account","created","the","context",".","last_modified_time","(","datetime",")",":","When","the","context","was","last","modified",".","last_modified_by","(","obj",")",":","Contextual","info","on","which","account","created","the","context","."]
docstr: Use the lineage query to retrieve actions that use this context.
  
  Args:
      direction (LineageQueryDirectionEnum): The query direction.
  
  Returns:
      list of Actions: Actions.
docstr_tok: ["Use","the","lineage","query","to","retrieve","actions","that","use","this","context",".","Args",":","direction","(","LineageQueryDirectionEnum",")",":","The","query","direction",".","Returns",":","list","of","Actions",":","Actions","."]
code: def actions(
      self, direction: LineageQueryDirectionEnum
  ) -> List[Action]:
      """Use the lineage query to retrieve actions that use this context.
  
      Args:
          direction (LineageQueryDirectionEnum): The query direction.
  
      Returns:
          list of Actions: Actions.
      """
      query_filter = LineageFilter(entities=[LineageEntityEnum.ACTION])
      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 8 for calling the Context obj's underlying member method code with example usage: obj.actions(direction) and returns: unknown