(self)
| 724 | os.makedirs(Group.GROUP_TMP_DIR) |
| 725 | |
| 726 | def _get_project_cache(self): |
| 727 | if self.project_cache is not None: |
| 728 | return |
| 729 | java_projects = public.M("sites").where('project_type=?', ('Java',)).select() |
| 730 | _cache = {} |
| 731 | for i in java_projects: |
| 732 | config = json.loads(i["project_config"]) |
| 733 | if config["java_type"] in self.cache_type: |
| 734 | i["project_config"] = config |
| 735 | _cache[i["id"]] = i |
| 736 | |
| 737 | self.project_cache = _cache |
| 738 | |
| 739 | def group_list(self) -> List[dict]: |
| 740 | group_list = [] |
no test coverage detected