diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-10 10:06:17 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-09-10 10:06:17 +0200 |
| commit | f7a7af979d89d01928c252e75a57844f710ab928 (patch) | |
| tree | ade6de9b0dc7e9f4ac33cc3d2d397a17feabcea4 /esds/helpers | |
| parent | 54d88bce8f0ae07fb4672f66fe0fed3f0edb4fcc (diff) | |
Start implementating platform files
Diffstat (limited to 'esds/helpers')
| -rw-r--r-- | esds/helpers/platform.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/esds/helpers/platform.py b/esds/helpers/platform.py new file mode 100644 index 0000000..eee2139 --- /dev/null +++ b/esds/helpers/platform.py @@ -0,0 +1,10 @@ + +import yaml + +class YAMLPlatformFile: + + def __init__(self, file_path): + self.file_path=file_path + with open(file_path) as f: + self.platform = yaml.load(f, Loader=yaml.FullLoader) + print(self.platform)
\ No newline at end of file |
