Added function for search listing #105

Merged
zuul merged 3 commits from search_service_list into main 2023-06-13 08:15:05 +00:00
Showing only changes of commit c52d106085 - Show all commits

View File

@ -113,11 +113,11 @@ class Services(object):
res[cat]["docs"].append(res_doc)
return res
def services_with_docs_type_and_title(self, environment=None):
"""Retrieve type and title from services and corresponding docs
def service_types_with_doc_types(self, environment=None):
"""Retrieve type and title from services and corresponding docs.
As well as a list of all doc_types.
:param str environment: Optional service environment. Influeces
"repository" field
:param str environment: Optional service environment.
"""
service_list = []
doc_types = []