| """ | |
| Created By: ishwor subedi | |
| Date: 2024-08-13 | |
| """ | |
| import yaml | |
| def yaml_read(file_path): | |
| with open(file_path, 'r') as stream: | |
| try: | |
| return yaml.safe_load(stream) | |
| except yaml.YAMLError as exc: | |
| print(exc) | |
| return None | |
| """ | |
| Created By: ishwor subedi | |
| Date: 2024-08-13 | |
| """ | |
| import yaml | |
| def yaml_read(file_path): | |
| with open(file_path, 'r') as stream: | |
| try: | |
| return yaml.safe_load(stream) | |
| except yaml.YAMLError as exc: | |
| print(exc) | |
| return None | |