class_docstr: A wrapper around the results of a lineage query.
class_docstr_tok: ["A","wrapper","around","the","results","of","a","lineage","query","."]
docstr: Define string representation of ``LineageQueryResult``.
  
  Format:
  {
      'edges':[
          {
              'source_arn': 'string',
              'destination_arn': 'string',
              'association_type': 'string'
          },
      ],
  
      'vertices':[
          {
              'arn': 'string',
              'lineage_entity': 'string',
              'lineage_source': 'string',
              '_session': <sagemaker.session.Session object>
          },
      ],
  
      'startarn':['string', ...]
  }
docstr_tok: ["Define","string","representation","of","``","LineageQueryResult","``",".","Format",":","{","'edges","'",":","[","{","'source_arn","'",":","'string","'",",","'destination_arn","'",":","'string","'",",","'association_type","'",":","'string'","}",",","]",",","'vertices","'",":","[","{","'arn","'",":","'string","'",",","'lineage_entity","'",":","'string","'",",","'lineage_source","'",":","'string","'",",","'_session","'",":","<","sagemaker.session.Session","object",">","}",",","]",",","'startarn","'",":","[","'string","'",",","...","]","}"]
code: def __str__(self):
      """Define string representation of ``LineageQueryResult``.
  
      Format:
      {
          'edges':[
              {
                  'source_arn': 'string',
                  'destination_arn': 'string',
                  'association_type': 'string'
              },
          ],
  
          'vertices':[
              {
                  'arn': 'string',
                  'lineage_entity': 'string',
                  'lineage_source': 'string',
                  '_session': <sagemaker.session.Session object>
              },
          ],
  
          'startarn':['string', ...]
      }
  
      """
      return (
          "{"
          + "\n\n".join(
              "'{}': {},".format(key, val)
              for key, val in self.__dict__.items()
          )
          + "\n}"
      )
  
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 2 for calling the LineageQueryResult obj's underlying member method code with example usage: obj.__str__() and returns: unknown