Return new instance of configuration. This method returns newly created, based on default constructor, object of Configuration class or returns a copy of default configuration passed by the set_default method. :return: The configuration object.
(cls)
| 271 | |
| 272 | @classmethod |
| 273 | def get_default_copy(cls): |
| 274 | """Return new instance of configuration. |
| 275 | |
| 276 | This method returns newly created, based on default constructor, |
| 277 | object of Configuration class or returns a copy of default |
| 278 | configuration passed by the set_default method. |
| 279 | |
| 280 | :return: The configuration object. |
| 281 | """ |
| 282 | if cls._default is not None: |
| 283 | return copy.deepcopy(cls._default) |
| 284 | return Configuration() |
| 285 | |
| 286 | @property |
| 287 | def logger_file(self): |