# Generated by smithplates HTTP codegen. Do not edit.

from __future__ import annotations

from dataclasses import dataclass

import httpx
from generated.warehouse_api_client.warehouse_api.clients.warehouse_sync_client import WarehouseApiClient


@dataclass(frozen=True)
class SyncApiClients:
    warehouse_client: WarehouseApiClient


def create_sync_api_clients(
    client: httpx.Client,
    *,
    base_url: str,
) -> SyncApiClients:
    normalized_base_url = base_url.rstrip("/")
    return SyncApiClients(
        warehouse_client=WarehouseApiClient(
            client,
            normalized_base_url,
        ),
    )
