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: Return a list of context summaries.
  
  Args:
      source_uri (str, optional): A source URI.
      context_type (str, optional): An context type.
      created_before (datetime.datetime, optional): Return contexts created before this
          instant.
      created_after (datetime.datetime, optional): Return contexts created after this instant.
      sort_by (str, optional): Which property to sort results by.
          One of 'SourceArn', 'CreatedBefore', 'CreatedAfter'
      sort_order (str, optional): One of 'Ascending', or 'Descending'.
      max_results (int, optional): maximum number of contexts to retrieve
      next_token (str, optional): token for next page of results
      sagemaker_session (sagemaker.session.Session): Session object which
          manages interactions with Amazon SageMaker APIs and any other
          AWS services needed. If not specified, one is created using the
          default AWS configuration chain.
  
  Returns:
      collections.Iterator[ContextSummary]: An iterator
          over ``ContextSummary`` objects.
docstr_tok: ["Return","a","list","of","context","summaries",".","Args",":","source_uri","(","str",",","optional",")",":","A","source","URI",".","context_type","(","str",",","optional",")",":","An","context","type",".","created_before","(","datetime.datetime",",","optional",")",":","Return","contexts","created","before","this","instant",".","created_after","(","datetime.datetime",",","optional",")",":","Return","contexts","created","after","this","instant",".","sort_by","(","str",",","optional",")",":","Which","property","to","sort","results","by",".","One","of","'SourceArn","'",",","'CreatedBefore","'",",","'CreatedAfter'","sort_order","(","str",",","optional",")",":","One","of","'Ascending","'",",","or","'Descending","'",".","max_results","(","int",",","optional",")",":","maximum","number","of","contexts","to","retrieve","next_token","(","str",",","optional",")",":","token","for","next","page","of","results","sagemaker_session","(","sagemaker.session.Session",")",":","Session","object","which","manages","interactions","with","Amazon","SageMaker","APIs","and","any","other","AWS","services","needed",".","If","not","specified",",","one","is","created","using","the","default","AWS","configuration","chain",".","Returns",":","collections.Iterator","[","ContextSummary","]",":","An","iterator","over","``","ContextSummary","``","objects","."]
code: def list(
      cls,
      source_uri: Optional[str] = None,
      context_type: Optional[str] = None,
      created_after: Optional[datetime] = None,
      created_before: Optional[datetime] = None,
      sort_by: Optional[str] = None,
      sort_order: Optional[str] = None,
      max_results: Optional[int] = None,
      next_token: Optional[str] = None,
      sagemaker_session=None,
  ) -> Iterator[ContextSummary]:
      """Return a list of context summaries.
  
      Args:
          source_uri (str, optional): A source URI.
          context_type (str, optional): An context type.
          created_before (datetime.datetime, optional): Return contexts created before this
              instant.
          created_after (datetime.datetime, optional): Return contexts created after this instant.
          sort_by (str, optional): Which property to sort results by.
              One of 'SourceArn', 'CreatedBefore', 'CreatedAfter'
          sort_order (str, optional): One of 'Ascending', or 'Descending'.
          max_results (int, optional): maximum number of contexts to retrieve
          next_token (str, optional): token for next page of results
          sagemaker_session (sagemaker.session.Session): Session object which
              manages interactions with Amazon SageMaker APIs and any other
              AWS services needed. If not specified, one is created using the
              default AWS configuration chain.
  
      Returns:
          collections.Iterator[ContextSummary]: An iterator
              over ``ContextSummary`` objects.
      """
      return super(Context, cls)._list(
          "list_contexts",
          _api_types.ContextSummary.from_boto,
          "ContextSummaries",
          source_uri=source_uri,
          context_type=context_type,
          created_before=created_before,
          created_after=created_after,
          sort_by=sort_by,
          sort_order=sort_order,
          max_results=max_results,
          next_token=next_token,
          sagemaker_session=sagemaker_session,
      )
  
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 7 for calling the Context obj's underlying member method code with example usage: obj.list(cls, source_uri, context_type, created_after, created_before, sort_by, sort_order, max_results, next_token, sagemaker_session) and returns: super