pyrevs.database.extension
A protocol database extension class for specific strategies.
Module Contents
-
class StrategyDatabaseExtension[source]
Bases: Protocol
A base extension class for specific strategies.
Currently an empty type definition might be extended
in the future for pickling purposes.
-
abstractmethod serialize() → None[source]
Serialize the extension.
-
abstractmethod deserialize() → None[source]
Deserialize the extension.
-
abstractmethod get_event_probability() → float[source]
Return the event probability.