Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
webpages_playback.DataStore Class Reference
Inheritance diagram for webpages_playback.DataStore:
webpages_playback.GoogleStorageDataStore webpages_playback.LocalFileSystemDataStore

Public Member Functions

def target_name (self)
 
def target_type (self)
 
def does_storage_object_exist (self, name)
 
def download_file (self, name, local_path)
 
def upload_dir_contents (self, source_dir, dest_dir)
 

Detailed Description

An abstract base class for uploading recordings to a data storage.
The interface emulates the google storage api.

Definition at line 483 of file webpages_playback.py.

Member Function Documentation

◆ does_storage_object_exist()

def webpages_playback.DataStore.does_storage_object_exist (   self,
  name 
)

Reimplemented in webpages_playback.GoogleStorageDataStore, and webpages_playback.LocalFileSystemDataStore.

Definition at line 490 of file webpages_playback.py.

490 def does_storage_object_exist(self, name):
491 raise NotImplementedError()

◆ download_file()

def webpages_playback.DataStore.download_file (   self,
  name,
  local_path 
)

Reimplemented in webpages_playback.GoogleStorageDataStore, and webpages_playback.LocalFileSystemDataStore.

Definition at line 492 of file webpages_playback.py.

492 def download_file(self, name, local_path):
493 raise NotImplementedError()

◆ target_name()

def webpages_playback.DataStore.target_name (   self)

Reimplemented in webpages_playback.GoogleStorageDataStore, and webpages_playback.LocalFileSystemDataStore.

Definition at line 486 of file webpages_playback.py.

486 def target_name(self):
487 raise NotImplementedError()

◆ target_type()

def webpages_playback.DataStore.target_type (   self)

Reimplemented in webpages_playback.GoogleStorageDataStore, and webpages_playback.LocalFileSystemDataStore.

Definition at line 488 of file webpages_playback.py.

488 def target_type(self):
489 raise NotImplementedError()

◆ upload_dir_contents()

def webpages_playback.DataStore.upload_dir_contents (   self,
  source_dir,
  dest_dir 
)

Reimplemented in webpages_playback.GoogleStorageDataStore, and webpages_playback.LocalFileSystemDataStore.

Definition at line 494 of file webpages_playback.py.

494 def upload_dir_contents(self, source_dir, dest_dir):
495 raise NotImplementedError()
496
497

The documentation for this class was generated from the following file: