Slot¶
-
class
slot.
SlottableObject
[source]¶ Class used to consolidate storing and retrieving slot values.
-
get_slot_value
(key: str) → Any[source]¶ Retrieves the value of the slot given a certain key.
Parameters: key (str) – Name of the slot Returns: Slot value Return type: Any
-
set_slot_value
(key: str, value: Any, slot_type: str) → None[source]¶ Sets the value of the slot given a certain key and slot type.
Parameters:
-