def get(
        self,
        key: str,
        with_metadata: bool = False,
        strict: bool = True,
        **metadata,
    ) -> Union[Callable, _REGISTERED_FUNCTION, List[_REGISTERED_FUNCTION], List[Callable]]:
        """Returns a partial of the getter with the first argument as the given key and wrapped to print the
        providers."""
        fn = functools.partial(self.getter, key)
        if self.providers is not None:
            fn = print_provider_info(key, self.providers, fn)

        if not with_metadata:
            return fn
        return {"fn": fn, "metadata": self.metadata}
Returns a partial of the getter with the first argument as the given key and wrapped to print the
        providers.
src/flash/core/registry.py