(cls, json_config)
| 65 | |
| 66 | @classmethod |
| 67 | def from_json(cls, json_config): |
| 68 | config = LoggingConfig() |
| 69 | |
| 70 | if json_config: |
| 71 | json_logging_config = json_config |
| 72 | config.filename_pattern = json_logging_config.get('execution_file') |
| 73 | config.date_format = json_logging_config.get('execution_date_format') |
| 74 | |
| 75 | return config |
| 76 | |
| 77 | |
| 78 | def _build_env_vars(json_object): |