# Generated by smithplates HTTP codegen. Do not edit.

from __future__ import annotations

from dataclasses import dataclass

import httpx2
from generated.example.query_auth_api.client.operation_bindings import AuthProvider
from generated.example.query_auth_api.clients.query_auth_sync_client import QueryAuthApiClient


@dataclass(frozen=True)
class SyncApiClients:
    query_auth_client: QueryAuthApiClient


def create_sync_api_clients(
    client: httpx2.Client,
    *,
    base_url: str,
    auth_provider: AuthProvider | None = None,
) -> SyncApiClients:
    normalized_base_url = base_url.rstrip("/")
    return SyncApiClients(
        query_auth_client=QueryAuthApiClient(
            client,
            normalized_base_url,
            auth_provider,
        ),
    )
