Config
The configuration class that handles configuration files.
Source code in pyrays/src/config/config.py
__getattr__(name)
Raise AttributeError for missing attributes.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
The name of the attribute. |
required |
Raises:
| Type | Description |
|---|---|
AttributeError
|
Always raised for missing attributes. |
Source code in pyrays/src/config/config.py
__init__(filename)
Initialize the Config class by loading configurations from a given file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename
|
str
|
The name of the configuration file. |
required |