MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / detect

Method detect

mod/project/python/pyenv_tool.py:690–697  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

688 return res_list
689
690 def detect(self) -> List[PythonEnvironment]:
691 if not self.conda_paths:
692 self.conda_paths = self.find_conda_executable()
693
694 res_list = []
695 for conda_path in self.conda_paths:
696 res_list.extend(self.detect_by_conda_bin(conda_path))
697 return res_list
698
699 @classmethod
700 def detect_by_conda_bin(cls, conda_path: str) -> List[PythonEnvironment]:

Callers 2

generate_reportMethod · 0.45
ckeditor.jsFile · 0.45

Calls 2

find_conda_executableMethod · 0.95
detect_by_conda_binMethod · 0.95

Tested by

no test coverage detected