Represents the generic class Sample
Includes methods that can be used by any instance of Sample
and abstract methods that must be implemented by any subclass
Definition at line 30 of file sample.py.
bool coretex.coretex.sample.sample.Sample.download |
( |
|
self, |
|
|
bool |
ignoreCache = False |
|
) |
| |
Downloads the Sample if it is an instance or a subclass of NetworkSample
Ignored for instances and subclasses of LocalSample
Returns
-------
bool -> True if Sample has been downloaded successfully,
False if something went wrong, in LocalSample case True is always returned
Reimplemented in coretex.coretex.sample.network_sample.NetworkSample, and coretex.coretex.sample.local_sample.LocalSample.
Definition at line 51 of file sample.py.
51 def download(self, ignoreCache: bool =
False) -> bool:
53 Downloads the Sample if it is an instance or a subclass of NetworkSample
54 Ignored for instances and subclasses of LocalSample
58 bool -> True if Sample has been downloaded successfully,
59 False if something went wrong, in LocalSample case True is always returned