Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_projects(self) -> list:
"""
:return: sorted list of projects with configs
"""
try:
return sorted(self.get("project_settings", {}).keys())
except KeyNotFoundException:
raise ConfigNotFoundException