parameters: (sobject)
return_statement: return snapshots
docstring: get all the current snapshots without specifying context
docstring_summary: get all the current snapshots without specifying context
docstring_tokens: get all the current snapshots without specifying context
function: def get_all_current_by_sobject(sobject):
          '''get all the current snapshots without specifying context'''
          search_type = sobject.get_search_type()
          search_code = sobject.get_value("code")
  
          snapshot_search = Snapshot.get_current(search_type, search_code, return_search=True)
          snapshot_search.add_group_aggregate_filter(['search_type','search_id','context'], "version")
          snapshots = snapshot_search.get_sobjects()
          return snapshots
function_tokens: def get_all_current_by_sobject ( sobject ) : search_type = sobject . get_search_type ( ) search_code = sobject . get_value ( "code" ) snapshot_search = Snapshot . get_current ( search_type , search_code , return_search = True ) snapshot_search . add_group_aggregate_filter ( [ 'search_type' , 'search_id' , 'context' ] , "version" ) snapshots = snapshot_search . get_sobjects ( ) return snapshots