def side_effect(f: Callable, *args, **kwargs) -> Callable:
        """
        Wraps the passed function to be executed with the given parameters
        and return the regular mock output
        """

        def wrapped(*_, **__):
            f(*args, **kwargs)
            return MOCK_DEFAULT

        return wrapped

        Wraps the passed function to be executed with the given parameters
        and return the regular mock output
        
cvat/apps/dataset_manager/tests/test_rest_api_formats.py