woob.capabilities.dating
¶
- class Optimization(id='', url=NotLoaded, backend=None)[source]¶
Bases:
BaseObject
Optimization.
- var CONFIG
Configuration of optim can be made by
woob.tools.value.Value
objects in this dict.
- Variables
url – (
str
) url
- CONFIG = {}¶
- class Event(id='', url=NotLoaded, backend=None)[source]¶
Bases:
BaseObject
A dating event (for example a visite, a query received, etc.)
- Variables
url – (
str
) urldate – (
date
,datetime
) Date of eventcontact – (
Contact
) Contact related to this eventtype – (
str
) Type of eventmessage – (
str
) Message of the event
- class CapDating[source]¶
Bases:
Capability
Capability for dating websites.
- add_optimization(name, optim)[source]¶
Add an optimization.
- Parameters
name (str) – name of optimization
optim (
Optimization
) – optimization
- iter_optimizations()[source]¶
Iter optimizations.
- Return type
iter[
Optimization
]