src.core.config package¶
Submodules¶
src.core.config.messages module¶
Module containing all possible messages that can be shared between instances of server and clients. It stores byte messages in a private dictionary, and ensures easy and safe access to them by providing function to get raw byte message from the private dictionary given its name.
-
src.core.config.messages.
get
(name)[source]¶ Get message by its name.
Get raw byte string message given its name.
Parameters: name (str) – name of the message. Must be a valid key contained in a private dictionary.
Returns: A byte string value stored under the given key in the _messages dictionary
Raises: core.utils.exc.UnrecognizedVariableError
– if the name of the- message is not contained in the private messages dictionary
Module contents¶
Package containing shared configuration files and utilities that help with managing the configuration.