Return the absolute path to the data file with the given name or (relative) path. When running from source, searches src/main/resources. Otherwise, searches your app's installation directory. If no file with the given name or path exists, a FileNotFoundError is raise
(self, *rel_path)
| 64 | return _frozen.load_build_settings() |
| 65 | return _source.load_build_settings(self._project_dir) |
| 66 | def get_resource(self, *rel_path): |
| 67 | """ |
| 68 | Return the absolute path to the data file with the given name or |
| 69 | (relative) path. When running from source, searches src/main/resources. |
| 70 | Otherwise, searches your app's installation directory. If no file with |
| 71 | the given name or path exists, a FileNotFoundError is raised. |
| 72 | """ |
| 73 | return self._resource_locator.locate(*rel_path) |
| 74 | @cached_property |
| 75 | def exception_handlers(self): |
| 76 | """ |