bokkichat.settings package

Subpackages

Submodules

bokkichat.settings.Settings module

class bokkichat.settings.Settings.Settings

Bases: object

Class that defines what methods a Settings class must implement. Settings objects are used to initialize a Connection.

classmethod deserialize(serialized: str)bokkichat.settings.Settings.Settings

Deserializes a string and generates a Settings object from it :param serialized: The serialized string :return: The deserialized Settings object

classmethod prompt()bokkichat.settings.Settings.Settings

Prompts the user for input to generate a Settings object :return: The generated settings object

serialize()str

Serializes the settings to a string :return: The serialized Settings object

static user_input(prompt: str)str

Prompts the user for input :param prompt: The text to display with the prompt :return: The resulting response

Module contents