rename CapBaseObject to BaseObject (refs #1424)
This commit is contained in:
parent
4529735935
commit
51958135cb
44 changed files with 183 additions and 183 deletions
|
|
@ -13,7 +13,7 @@ Prefer returning objects
|
|||
|
||||
Python is an object-oriented language, so when your capability supports entities (for example
|
||||
:class:`weboob.capabilities.video.BaseVideo` with the :class:`weboob.capabilities.video.ICapVideo` capability),
|
||||
you have to create a class derived from :class:`weboob.capabilities.base.CapBaseObject`, and create an unique method
|
||||
you have to create a class derived from :class:`weboob.capabilities.base.BaseObject`, and create an unique method
|
||||
to get it (for example :func:`get_video() <weboob.capabilities.video.ICapVideo.get_video>`), instead of several methods like
|
||||
``get_video_url()``, ``get_video_preview()``, etc.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue