nemo_microservices._utils._reflection#
Module Contents#
Functions#
Ensure that the signature of the second function matches the first. |
|
Returns whether or not the given function has a specific parameter |
API#
- nemo_microservices._utils._reflection.assert_signatures_in_sync(
- source_func: Callable[..., Any],
- check_func: Callable[..., Any],
- *,
- exclude_params: set[str] = set(),
Ensure that the signature of the second function matches the first.
- nemo_microservices._utils._reflection.function_has_argument(
- func: Callable[..., Any],
- arg_name: str,
Returns whether or not the given function has a specific parameter