onix.collection.sinks module¶
Interfaces for storing data
-
class
onix.collection.sinks.MovesetSink[source]¶ Bases:
onix.collection.sinks._SinkSink for storing movesets
-
class
onix.collection.sinks.BattleInfoSink[source]¶ Bases:
onix.collection.sinks._SinkSink for storing battle metadata
-
store_battle_info(battle_info)[source]¶ Store the provided battle info.
Parameters: battle_info (onix.model.BattleInfo) – The battle metadata to store Returns: None
-