Add _is_web_endpoint attr to _Function. The point of _is_web_endpoint is to be able to determine if a _Function is a web function when it is un-hydrated and ._web_url is not populated.
The motivation for this change is that PR 2364 also modifies _add_function to properly populate _App.web_endpoints when called on a new-style class service function that has _method_functions populated. This is necessary because for these new-style classes without method placeholder functions there won't be any invocations of _add_function for the class methods.
Describe your changes
Add
_is_web_endpoint
attr to_Function
. The point of_is_web_endpoint
is to be able to determine if a_Function
is a web function when it is un-hydrated and._web_url
is not populated.The motivation for this change is that PR 2364 also modifies
_add_function
to properly populate_App.web_endpoints
when called on a new-style class service function that has_method_functions
populated. This is necessary because for these new-style classes without method placeholder functions there won't be any invocations of_add_function
for the class methods.