parameters: (self, ticket, src_sobject, context='')
return_statement: return sobject_dict
docstring: get all of the connected sobjects
  
          @params:
          src_sobject - the original sobject from which the connection starts
          context - an arbirarty parameter which defines type of connection
  
          @return:
          a single sobject
docstring_summary: get all of the connected sobjects
docstring_tokens: get all of the connected sobjects
function: def get_connected_sobject(self, ticket, src_sobject, context=''):
          '''get all of the connected sobjects
  
          @params:
          src_sobject - the original sobject from which the connection starts
          context - an arbirarty parameter which defines type of connection
  
          @return:
          a single sobject
          '''
          from pyasm.biz import SObjectConnection
          if isinstance(src_sobject, dict):
              src_sobject = src_sobject.get('__search_key__')
  
          sobject_a = SearchKey.get_by_search_key(src_sobject)
          if not sobject_a:
              raise ApiException('Source sObject [%s] is not found ' %src_sobject)
  
          sobject = SObjectConnection.get_connected_sobject(sobject_a, context=context)
          sobject_dict = self._get_sobject_dict(sobject)
  
          return sobject_dict
function_tokens: def get_connected_sobject ( self , ticket , src_sobject , context = '' ) : from pyasm . biz import SObjectConnection if isinstance ( src_sobject , dict ) : src_sobject = src_sobject . get ( '__search_key__' ) sobject_a = SearchKey . get_by_search_key ( src_sobject ) if not sobject_a : raise ApiException ( 'Source sObject [%s] is not found ' % src_sobject ) sobject = SObjectConnection . get_connected_sobject ( sobject_a , context = context ) sobject_dict = self . _get_sobject_dict ( sobject ) return sobject_dict