Part of elisa.plugins.tutorials.amazon.metadata View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
46 | Method | initialize | Initialize the component. |
52 | Method | able_to_handle | Test whether the capability is able to handle a metadata request on the |
63 | Method | get_metadata | Try to retrieve metadata and populate the model with it. |
Inherited from Component (via MetadataCapability, Capability):
Line # | Kind | Name | Docs |
---|---|---|---|
85 | Class | PathDescriptor | Undocumented |
97 | Class Method | create | Create and initialize the component. |
142 | Method | clean | Clean the component. |
Inherited from Loggable (via MetadataCapability, Capability, Component):
Line # | Kind | Name | Docs |
---|---|---|---|
81 | Method | __init__ | Undocumented |
This method is called by Component.create
to finish the
initialization of a component.
Returns | a deferred called when a component is fully initialized
(type: twisted.internet.defer.Deferred
) |
Parameters | model | the model for which metadata is requested
(type: a subclass of elisa.core.components.model.Model
) |
Returns | True if the capability is able to handle the given model, False otherwise
(type: bool
) |
Parameters | model | the model that should be populated with the metadata
(type: a subclass of elisa.core.components.model.Model
) |
Returns | a deferred fired when the metadata retrieval is complete
(type: twisted.internet.defer.Deferred
) |