def default_context(engine, context=None) -> dict:
    """Return a dict with an engine, using the existing values if provided"""
    if context is None:
        context = {}
    context.setdefault("engine", engine)
    return context