def depends(*dependencies):
    """Decorator function for marking fixture dependencies of a function.

    Example:
        .. code:: python

            from rok.fixtures import fixture, depends

            @depends("engine")
            def fetch_records(engine):
                # Do something with the engine ...

            # Fixtures themselves can also depend on other fixtures
            @fixture
            @depends("config")
            def engine(config):
                return create_engine(config=config)

            @fixture
            def config:
                return load_config()

    Args:
        *dependencies: Fixtures the decorated function depends on

    Returns:
        callable: Decorator for explicitly marking function dependencies.
    """

    def decorator(func):
        if not hasattr(func, "depends"):
            func.depends = []
        func.depends.extend(dependencies)
        return func

    return decorator