MCPcopy Create free account
hub / github.com/dobin/SuperMega / get_project_settings

Method get_project_settings

app/storage.py:18–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16
17
18 def get_project_settings(self) -> List[Settings]:
19 project_settings: List[Settings] = []
20 for project_name in os.listdir(PATH_WEB_PROJECT):
21 project_setting = self.get_project_setting(project_name)
22 if project_setting is None:
23 continue
24 project_settings.append(project_setting)
25 return project_settings
26
27
28 def get_project_setting(self, project_name: str) -> Settings| None:

Callers 1

projects_routeFunction · 0.80

Calls 1

get_project_settingMethod · 0.95

Tested by

no test coverage detected