# Class e.p.d.s.ScanResource(Model):

Part of elisa.plugins.database.scanner_models View In Hierarchy

A resource to scan.

Instance Variables | root_uri | the root to scan (type: `elisa.core.media_uri.MediaUri` )
| name | a more generic name of this resource (type: `unicode` )
| state | the state it is currently in. See the `SCANNING*` constants in the class descrition (type: int )
| files_total | the total number of files we found in this resource (type: int )
| files_scanned | number of files we have scanned the metadata (type: int )
| files_failed | the files that the metadata getting failed and the reason (as a Failure instance) (type: `list` of `tuple` )
| last_scan | when the resource was scanned the last time (type: float )
| duration | the time it took to scan this resource (type: float )
| defer | triggered when the scanning is done (type: `twisted.internet.defer.Deferred` )

Line # | Kind | Name | Docs
--- | --- | --- | ---
86 | Method | __init__ | Undocumented

Inherited from Bindable (via Model):

Line # | Kind | Name | Docs
--- | --- | --- | ---
34 | Method | bind | Bind a local `attribute` to `destination_attribute` of
73 | Method | unbind | Remove the binding of `attribute` to `destination_attribute` of
104 | Method | unbind_object | Remove all the bindings you have for a certain `destination_object`.
118 | Method | __setattr__ | Undocumented
136 | Method | __delattr__ | Undocumented

def __init__(self, root_uri=None, name=None):
overrides elisa.core.utils.bindable.Bindable.__init__
Undocumented