parameters: (self, ticket, snapshot_code, mode='client_repo', expand_paths=False, filename_mode='',file_types=[])
return_statement: return paths
docstring: method that returns all the files in a snapshot
  
          @params
          ticket - authentication ticket
          snapshot_code - unique code of a snapshot
  
          @return
          the directory to copy a file to handoff to Tactic without having to
          go through http protocol
docstring_summary: method that returns all the files in a snapshot
docstring_tokens: method that returns all the files in a snapshot
function: def get_all_paths_from_snapshot(self, ticket, snapshot_code, mode='client_repo', expand_paths=False, filename_mode='',file_types=[]):
          '''method that returns all the files in a snapshot
  
          @params
          ticket - authentication ticket
          snapshot_code - unique code of a snapshot
  
          @return
          the directory to copy a file to handoff to Tactic without having to
          go through http protocol
  
          '''
  
          if isinstance(snapshot_code, dict):
              snapshot_code = snapshot_code.get('code')
  
          if snapshot_code.find("?") == -1:
              snapshot = Snapshot.get_by_code(snapshot_code)
          else:
              snapshot = Search.get_by_search_key(snapshot_code)
  
          if not snapshot:
              raise ApiException( "Snapshot with code [%s] does not exist" % \
                  snapshot_code)
  
          if file_types:
              paths = []
              for file_type in file_types:
                  paths = snapshot.get_paths_by_type(file_type, mode=mode, filename_mode=filename_mode)
          else:
              paths = snapshot.get_all_lib_paths(expand_paths=expand_paths, mode=mode, filename_mode=filename_mode)
  
          return paths
function_tokens: def get_all_paths_from_snapshot ( self , ticket , snapshot_code , mode = 'client_repo' , expand_paths = False , filename_mode = '' , file_types = [ ] ) : if isinstance ( snapshot_code , dict ) : snapshot_code = snapshot_code . get ( 'code' ) if snapshot_code . find ( "?" ) == - 1 : snapshot = Snapshot . get_by_code ( snapshot_code ) else : snapshot = Search . get_by_search_key ( snapshot_code ) if not snapshot : raise ApiException ( "Snapshot with code [%s] does not exist" % snapshot_code ) if file_types : paths = [ ] for file_type in file_types : paths = snapshot . get_paths_by_type ( file_type , mode = mode , filename_mode = filename_mode ) else : paths = snapshot . get_all_lib_paths ( expand_paths = expand_paths , mode = mode , filename_mode = filename_mode ) return paths