def METHOD_NAME(
    *, quantum_processor_id: str, endpoint_id: Optional[str] = None, expires_at: str
) -> EngagementWithCredentials:
    return EngagementWithCredentials(
        address="tcp://example.com/qpu",
        credentials=EngagementCredentials(
            client_public="client-public-123",
            client_secret="client-secret-123",
            server_public="server-public-123",
        ),
        endpoint_id=endpoint_id or DEFAULT_ENDPOINT_ID,
        expires_at=expires_at,
        quantum_processor_ids=[quantum_processor_id],
        user_id="some-user",
        minimum_priority=42,
    )