woob.capabilities.account¶
- exception AccountRegisterError[source]¶
 Bases:
UserErrorRaised when there is an error during registration.
- class Account(id='', url=NotLoaded)[source]¶
 Bases:
BaseObjectDescribe an account and its properties.
- class StatusField(key, label, value, flags=0, url=NotLoaded)[source]¶
 Bases:
BaseObjectField of an account staeobjectus.
- Variables:
 
- FIELD_TEXT = 1¶
 
- FIELD_HTML = 2¶
 
- class CapAccount[source]¶
 Bases:
CapabilityCapability for websites when you can create and manage accounts.
- Variables:
 ACCOUNT_REGISTER_PROPERTIES – This class constant may be a list of
woob.tools.value.Valueobjects. If the value remains None, woob considers thatregister_account()isn’t supported.
- ACCOUNT_REGISTER_PROPERTIES = None¶
 
- static register_account(account)[source]¶
 Register an account on website
This is a static method, it would be called even if the backend is instancied.
- Parameters:
 account (
Account) – describe the account to create- Raises: