| Conditions | 2 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 4.5185 |
| Changes | 0 | ||
| 1 | 1 | from tabpy.tabpy_server.app.app_parameters import SettingsParameters |
|
| 14 | 1 | def get(self): |
|
| 15 | if self.should_fail_with_auth_error() != AuthErrorStates.NONE: |
||
| 16 | self.fail_with_auth_error() |
||
| 17 | return |
||
| 18 | |||
| 19 | path = self.settings[SettingsParameters.StateFilePath] |
||
| 20 | path = os.path.join(path, _QUERY_OBJECT_STAGING_FOLDER) |
||
| 21 | self.write({"path": path}) |
||
| 22 |