DefinesDefault module

Implementation of the default values of the project

Classes:

Defines()

Class for defines.

Functions:

get_user()

Function to get the current user

class DefinesDefault.Defines[source]

Bases: object

Class for defines.

Methods:

get_define(key)

Function to retrieve a define

set_define(key, value)

Function to change a value of a default define

get_define(key)[source]

Function to retrieve a define

Parameters

key (str) – Key to be searched in the dictionary

Returns

The dictionary entry

set_define(key, value)[source]

Function to change a value of a default define

Parameters
  • key (str) – Key of the default define

  • value (various) – Value of the key

DefinesDefault.get_user()[source]

Function to get the current user

Parameter

None

Returns

login name of the user.