# DO NOT EDIT — generated by _gen/convenience_emitter.py from convenience.json.
# Regenerate with: cd clients/v2 && python -c "from _gen.convenience_emitter import generate_convenience; generate_convenience()"

"""Embedders API namespace — generated from convenience.json."""

from __future__ import annotations

from typing import Any

from goodmem._api_base.embedders import EmbeddersAPIBase, AsyncEmbeddersAPIBase


# --- Convenience imports ---
from goodmem._transforms import apply_convenience_transforms


class EmbeddersAPI(EmbeddersAPIBase):
    def create(self, **kwargs: Any) -> Any:
        apply_convenience_transforms(("embedders", "create"), kwargs)
        return super().create(**kwargs)



class AsyncEmbeddersAPI(AsyncEmbeddersAPIBase):
    async def create(self, **kwargs: Any) -> Any:
        apply_convenience_transforms(("embedders", "create"), kwargs)
        return await super().create(**kwargs)

