get the ui directory Returns: str: the path of the ui dir
(self)
| 106 | |
| 107 | @property |
| 108 | def ui_dir(self) -> str: |
| 109 | """get the ui directory |
| 110 | |
| 111 | Returns: |
| 112 | str: the path of the ui dir |
| 113 | """ |
| 114 | default_ui_dir = os.path.join( |
| 115 | os.path.dirname(__file__), |
| 116 | 'ui' |
| 117 | ) |
| 118 | return os.environ.get("UI_DIR", default_ui_dir) |
| 119 | |
| 120 | def get_environment_variable( |
| 121 | self, |