in azure/functions/decorators/function_app.py [0:0]
def get_functions(self) -> List[Function]:
"""Get the function objects in the function app.
:return: List of functions in the function app.
"""
functions = [function_builder.build(self.auth_level)
for function_builder in self._function_builders]
if not self._require_auth_level:
self._require_auth_level = any(
function.is_http_function() for function in functions)
if not self._require_auth_level:
logging.warning(
'Auth level is not applied to non http '
'function app. Ref: '
'https://docs.microsoft.com/azure/azure-functions/functions'
'-bindings-http-webhook-trigger?tabs=in-process'
'%2Cfunctionsv2&pivots=programming-language-python#http-auth')
self.validate_function_names(functions=functions)
return functions