o
    "Di)                    @  s  d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z
 d dlZd dlZd dlZd dlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z" d dl#m$Z$m%Z% e	Z&d d	lmZ d dl'Z'd
dl(m)Z)m*Z*m+Z+ d
dl,m-Z- d
dl.m/Z/ erd
dl0m1Z1 d
dl+m2Z2 edddZ3G dd dee3 Z4G dd dee3 Z5G dd dee3 Z6G dd dee3 Z7G dd dee3 Z8G dd dee3 Z9G dd  d ee3 Z:G d!d" d"ee3 Z;G d#d$ d$ee3 Z<G d%d& d&ee3 Z=G d'd( d(ee3 Z>G d)d* d*ee3 Z?G d+d, d,ee3 Z@G d-d. d.ee3 ZAG d/d0 d0ee3 ZBG d1d2 d2ee3 ZCG d3d4 d4ee3 ZDG d5d6 d6ee3 ZEG d7d8 d8ee3 ZFG d9d: d:ee3 ZGG d;d< d<ee3 ZHG d=d> d>ee3 ZIG d?d@ d@ee3 ZJG dAdB dBee3 ZKG dCdD dDee3 ZLG dEdF dFee3 ZMG dGdH dHee3 ZNG dIdJ dJee3 ZOG dKdL dLee3 ZPG dMdN dNee3 ZQG dOdP dPee3 ZRG dQdR dRee3 ZSG dSdT dTee3 ZTG dUdV dVee3 ZUG dWdX dXee3 ZVG dYdZ dZee3 ZWG d[d\ d\ee3 ZXG d]d^ d^ee3 ZYG d_d` d`ee3 ZZG dadb dbee3 Z[G dcdd ddee3 Z\G dedf dfee3 Z]G dgdh dhee3 Z^G didj djee3 Z_G dkdl dlee3 Z`G dmdn dnee3 ZaG dodp dpee3 ZbG dqdr dree3 ZcG dsdt dtee3 ZdG dudv dvee3 ZeG dwdx dxee3 ZfG dydz dzee3 ZgG d{d| d|ee3 ZhG d}d~ d~ee3 ZiG dd dee3 ZjG dd dee3 ZkG dd dee3 ZldddZmd
dl(mnZn dS )    )annotations)bool)int)float)strN)TYPE_CHECKINGOptionalIterableIteratorSequenceCallableClassVarNoReturnTypeVarGenericMappingTupleUnionListDictTypeAnySetoverloadcast)	TypedDictLiteral)r      )typeserrorsbases)model_parse)'CREATE_MANY_SKIP_DUPLICATES_UNSUPPORTED)Prisma)_PrismaModel_PrismaModelTr$   )boundc                   @  ^  e Zd ZdZdddd	ZdeddZdfddZ	dgdhddZdddid!d"Z	dgdjd%d&Z		dgdjd'd(Z
	dgdkd)d*Z							dldmd5d6Z						dndod7d8Z						dndpd9d:Z	dgdqd<d=Z	dgdrd?d@ZdsdCdDZe					dtdudFdGZe				dvdwdJdGZ					dtdxdMdGZ	dgdydNdOZdddddddddddP
dzdbdcZdS ){LiteLLM_BudgetTableActions_client_modelclientr#   modelType[_PrismaModelT]returnNonec                 C     || _ || _d S Nr)   selfr,   r-    r5   E/home/app/Keep/.python/lib/python3.10/site-packages/prisma/actions.py__init__?      
z#LiteLLM_BudgetTableActions.__init__queryLiteralStringargsr   List[_PrismaModelT]c                   $   | j j|g|R d| jiI dH S )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_BudgetTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_BudgetTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_BudgetTable WHERE budget_id = $1',
            'bbadfchfja',
        )
        ```
        r-   Nr*   	query_rawr+   r4   r9   r;   r5   r5   r6   r?   C      "$z$LiteLLM_BudgetTableActions.query_rawOptional[_PrismaModelT]c                   r=   )a	  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_BudgetTable.prisma().query_first(
            'SELECT * FROM LiteLLM_BudgetTable WHERE max_budget = $1',
            377401575.66282,
        )
        ```
        r-   Nr*   query_firstr+   r@   r5   r5   r6   rD   i      "&z&LiteLLM_BudgetTableActions.query_firstNdata$types.LiteLLM_BudgetTableCreateInputinclude*Optional[types.LiteLLM_BudgetTableInclude]r%   c                   6   | j jd| j||ddI dH }t| j|d d S )a  Create a new LiteLLM_BudgetTable record.

        Parameters
        ----------
        data
            LiteLLM_BudgetTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The created LiteLLM_BudgetTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_BudgetTable record from just the required fields
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().create(
            data={
                # data to create a LiteLLM_BudgetTable record
                'created_by': 'bbehjachib',
                'updated_by': 'cadfabfehe',
            },
        )
        ```
        createrF   rH   methodr-   	argumentsNrF   resultr*   _executer+   r!   r4   rF   rH   respr5   r5   r6   rK         'z!LiteLLM_BudgetTableActions.createskip_duplicates:List[types.LiteLLM_BudgetTableCreateWithoutRelationsInput]rW   Optional[bool]r   c                  Z   |r| j jtv rt| j jd| j jd| j||ddgdI dH }t|d d d S )	a  Create multiple LiteLLM_BudgetTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_BudgetTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_BudgetTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_BudgetTable record
                    'created_by': 'dgiiaaijj',
                    'updated_by': 'bfaiacjjfc',
                },
                {
                    # data to create a LiteLLM_BudgetTable record
                    'created_by': 'eigcfgbif',
                    'updated_by': 'bagcfbhiig',
                },
            ],
            skip_duplicates=True,
        )
        ```
        create_many_skip_duplicatescreate_manyrF   skipDuplicatescountrN   r-   rO   root_selectionNrF   rP   r*   _active_providerr"   r   UnsupportedDatabaseErrorrR   r+   r   r4   rF   rW   rT   r5   r5   r6   r\         5	z&LiteLLM_BudgetTableActions.create_manywhere)types.LiteLLM_BudgetTableWhereUniqueInputc                   R   z| j jd| j||ddI dH }W n tjy   Y dS w t| j|d d S )a  Delete a single LiteLLM_BudgetTable record.

        Parameters
        ----------
        where
            LiteLLM_BudgetTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The deleted LiteLLM_BudgetTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().delete(
            where={
                'budget_id': 'cghideieh',
            },
        )
        ```
        deleterg   rH   rM   NrF   rP   r*   rR   r+   r   RecordNotFoundErrorr!   r4   rg   rH   rT   r5   r5   r6   rj        &z!LiteLLM_BudgetTableActions.deletec                   F   | j jd| j||ddI dH }|d d }|du rdS t| j|S )a  Find a unique LiteLLM_BudgetTable record.

        Parameters
        ----------
        where
            LiteLLM_BudgetTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The found LiteLLM_BudgetTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().find_unique(
            where={
                'budget_id': 'biabhbdai',
            },
        )
        ```
        find_uniquerk   rM   NrF   rP   rQ   r4   rg   rH   rT   rP   r5   r5   r6   rq   9     &z&LiteLLM_BudgetTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_BudgetTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_BudgetTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The found LiteLLM_BudgetTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().find_unique_or_raise(
            where={
                'budget_id': 'idghgaicb',
            },
        )
        ```
        find_unique_or_raiserk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   l     &z/LiteLLM_BudgetTableActions.find_unique_or_raisetakeOptional[int]skip-Optional[types.LiteLLM_BudgetTableWhereInput]cursor3Optional[types.LiteLLM_BudgetTableWhereUniqueInput]ordercOptional[Union[types.LiteLLM_BudgetTableOrderByInput, List[types.LiteLLM_BudgetTableOrderByInput]]]distinct8Optional[List[types.LiteLLM_BudgetTableScalarFieldKeys]]c           	        F    j jd j|||||||ddI dH } fdd|d d D S )	a0  Find multiple LiteLLM_BudgetTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_BudgetTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_BudgetTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model
        order
            Order the returned LiteLLM_BudgetTable records by any field
        distinct
            Filter LiteLLM_BudgetTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_BudgetTable]
            The list of all LiteLLM_BudgetTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_BudgetTable records
        litellm_budgettables = await LiteLLM_BudgetTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_BudgetTable records ordered by the soft_budget field
        litellm_budgettables = await LiteLLM_BudgetTable.prisma().find_many(
            take=5,
            order={
                'soft_budget': 'desc',
            },
        )
        ```
        	find_manyrv   rx   rg   order_byrz   rH   r~   rM   Nc                      g | ]}t  j|qS r5   r!   r+   .0rr4   r5   r6   
<listcomp>      z8LiteLLM_BudgetTableActions.find_many.<locals>.<listcomp>rF   rP   r*   rR   r+   	r4   rv   rx   rg   rz   rH   r|   r~   rT   r5   r   r6   r        8z$LiteLLM_BudgetTableActions.find_manyc           	   
     N   | j jd| j||||||ddI dH }|d d }|du r!dS t| j|S )aP  Find a single LiteLLM_BudgetTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_BudgetTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model
        order
            Order the returned LiteLLM_BudgetTable records by any field
        distinct
            Filter LiteLLM_BudgetTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The first LiteLLM_BudgetTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_BudgetTable record ordered by the max_parallel_requests field
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().find_first(
            skip=1,
            order={
                'max_parallel_requests': 'desc',
            },
        )
        ```
        
find_firstrx   rg   r   rz   rH   r~   rM   NrF   rP   rQ   	r4   rx   rg   rz   rH   r|   r~   rT   rP   r5   r5   r6   r         2z%LiteLLM_BudgetTableActions.find_firstc              
     >   | j jd| j||||||ddI dH }t| j|d d S )a  Find a single LiteLLM_BudgetTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_BudgetTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model
        order
            Order the returned LiteLLM_BudgetTable records by any field
        distinct
            Filter LiteLLM_BudgetTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The first LiteLLM_BudgetTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_BudgetTable record ordered by the tpm_limit field
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'tpm_limit': 'desc',
            },
        )
        ```
        find_first_or_raiser   rM   NrF   rP   rQ   r4   rx   rg   rz   rH   r|   r~   rT   r5   r5   r6   r   '     2z.LiteLLM_BudgetTableActions.find_first_or_raise$types.LiteLLM_BudgetTableUpdateInputc                   T   z| j jd| j|||ddI dH }W n tjy   Y dS w t| j|d d S )a  Update a single LiteLLM_BudgetTable record.

        Parameters
        ----------
        data
            LiteLLM_BudgetTable record data specifying what to update
        where
            LiteLLM_BudgetTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The updated LiteLLM_BudgetTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().update(
            where={
                'budget_id': 'fjfddhigg',
            },
            data={
                # data to update the LiteLLM_BudgetTable record to
            },
        )
        ```
        updaterF   rg   rH   rM   NrF   rP   rl   r4   rF   rg   rH   rT   r5   r5   r6   r   g     *	z!LiteLLM_BudgetTableActions.update$types.LiteLLM_BudgetTableUpsertInputc              	     F   | j jd| j|||d|dddI dH }t| j|d d S )	a>  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_BudgetTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_BudgetTable model

        Returns
        -------
        prisma.models.LiteLLM_BudgetTable
            The created or updated LiteLLM_BudgetTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_budgettable = await LiteLLM_BudgetTable.prisma().upsert(
            where={
                'budget_id': 'hjaecfifb',
            },
            data={
                'create': {
                    'budget_id': 'hjaecfifb',
                    'created_by': 'eigcfgbif',
                    'updated_by': 'bagcfbhiig',
                },
                'update': {
                    'created_by': 'eigcfgbif',
                    'updated_by': 'bagcfbhiig',
                },
            },
        )
        ```
        upsertrK   r   rg   rH   rK   r   rM   NrF   rP   r*   rR   r+   getr!   r4   rg   rF   rH   rT   r5   r5   r6   r        2
z!LiteLLM_BudgetTableActions.upsert0types.LiteLLM_BudgetTableUpdateManyMutationInput#types.LiteLLM_BudgetTableWhereInputc                   :   | j jd| j||ddgdI dH }t|d d d S )a3  Update multiple LiteLLM_BudgetTable records

        Parameters
        ----------
        data
            LiteLLM_BudgetTable data to update the selected LiteLLM_BudgetTable records to
        where
            Filter to select the LiteLLM_BudgetTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_BudgetTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_BudgetTable records
        total = await LiteLLM_BudgetTable.prisma().update_many(
            data={
                'rpm_limit': 25342983456
            },
            where={}
        )
        ```
        update_manyrF   rg   r_   r`   NrF   rP   r*   rR   r+   r   r4   rF   rg   rT   r5   r5   r6   r        $z&LiteLLM_BudgetTableActions.update_manyselectc                      dS )a  Count the number of LiteLLM_BudgetTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_BudgetTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_BudgetTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_BudgetTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_BudgetTable.prisma().count()

        # results: prisma.types.LiteLLM_BudgetTableCountAggregateOutput
        results = await LiteLLM_BudgetTable.prisma().count(
            select={
                '_all': True,
                'model_max_budget': True,
            },
        )
        ```
        Nr5   r4   r   rv   rx   rg   rz   r5   r5   r6   r_   
      z LiteLLM_BudgetTableActions.count,types.LiteLLM_BudgetTableCountAggregateInput-types.LiteLLM_BudgetTableCountAggregateOutputc                      d S r2   r5   r   r5   r5   r6   r_   C     	6Optional[types.LiteLLM_BudgetTableCountAggregateInput]9Union[int, types.LiteLLM_BudgetTableCountAggregateOutput]c                      |sdg}nd ddd | D g}| jjd| j||||d|dI d	H }|d	u r;tt|d
 d d d S ttj	|d
 d d S )a  Count the number of LiteLLM_BudgetTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_BudgetTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_BudgetTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_BudgetTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_BudgetTable.prisma().count()

        # results: prisma.types.LiteLLM_BudgetTableCountAggregateOutput
        results = await LiteLLM_BudgetTable.prisma().count(
            select={
                '_all': True,
                'budget_duration': True,
            },
        )
        ```
        _count { _all }_count {{ {0} }} c                 s       | ]\}}|d u r|V  qdS TNr5   r   kvr5   r5   r6   	<genexpr>      z3LiteLLM_BudgetTableActions.count.<locals>.<genexpr>r_   rv   rx   rg   rz   r`   NrF   rP   _count_all)
formatjoinitemsr*   rR   r+   r   r   r   'LiteLLM_BudgetTableCountAggregateOutputr4   r   rv   rx   rg   rz   ra   rT   r5   r5   r6   r_   N  $   <c                   8   | j jd| jd|idgdI dH }t|d d d S )an  Delete multiple LiteLLM_BudgetTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_BudgetTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_BudgetTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_BudgetTable records
        total = await LiteLLM_BudgetTable.prisma().delete_many()
        ```
        delete_manyrg   r_   r`   NrF   rP   r   r4   rg   rT   r5   r5   r6   r        z&LiteLLM_BudgetTableActions.delete_many
rg   rv   rx   avgsumminmaxhavingr_   r|   by0List['types.LiteLLM_BudgetTableScalarFieldKeys']/Optional['types.LiteLLM_BudgetTableWhereInput']r   6Optional['types.LiteLLM_BudgetTableAvgAggregateInput']r   6Optional['types.LiteLLM_BudgetTableSumAggregateInput']r   6Optional['types.LiteLLM_BudgetTableMinAggregateInput']r   6Optional['types.LiteLLM_BudgetTableMaxAggregateInput']r   COptional['types.LiteLLM_BudgetTableScalarWhereWithAggregatesInput']r_   EOptional[Union[bool, 'types.LiteLLM_BudgetTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_BudgetTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_BudgetTableScalarFieldKeys', 'types.SortOrder']]]].List['types.LiteLLM_BudgetTableGroupByOutput']c       
      
        |du r|durt d|durt dg |}|dur%|td| |dur1|td| |dur=|td| |durI|td| |
durd|
du rW|d	 nt|
trd|td
|
 | jjd| j|||||	|d|dI dH }|d d S )a  Group LiteLLM_BudgetTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_BudgetTable fields to group records by
        where
            LiteLLM_BudgetTable filter to select records
        take
            Limit the maximum number of LiteLLM_BudgetTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_BudgetTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_BudgetTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_BudgetTable records by budget_reset_at values
        # and count how many records are in each group
        results = await LiteLLM_BudgetTable.prisma().group_by(
            ['budget_reset_at'],
            count=True,
        )
        ```
        NBMissing argument: 'order' which is required when 'take' is presentBMissing argument: 'order' which is required when 'skip' is present_avg_min_sum_maxTr   r   group_byr   rv   rx   rg   r   ZorderByr`   rF   rP   	TypeErrorappend_select_fields
isinstancedictr*   rR   r+   r4   r   rg   rv   rx   r   r   r   r   r   r_   r|   ra   rT   r5   r5   r6   r     B   H
z#LiteLLM_BudgetTableActions.group_byr,   r#   r-   r.   r/   r0   r9   r:   r;   r   r/   r<   r9   r:   r;   r   r/   rB   r2   )rF   rG   rH   rI   r/   r%   )rF   rX   rW   rY   r/   r   )rg   rh   rH   rI   r/   rB   )rg   rh   rH   rI   r/   r%   NNNNNNN)rv   rw   rx   rw   rg   ry   rz   r{   rH   rI   r|   r}   r~   r   r/   r<   NNNNNN)rx   rw   rg   ry   rz   r{   rH   rI   r|   r}   r~   r   r/   rB   )rx   rw   rg   ry   rz   r{   rH   rI   r|   r}   r~   r   r/   r%   )rF   r   rg   rh   rH   rI   r/   rB   )rg   rh   rF   r   rH   rI   r/   r%   )rF   r   rg   r   r/   r   NNNNN)r   r0   rv   rw   rx   rw   rg   ry   rz   r{   r/   r   NNNN)r   r   rv   rw   rx   rw   rg   ry   rz   r{   r/   r   )r   r   rv   rw   rx   rw   rg   ry   rz   r{   r/   r   )rg   ry   r/   r   )r   r   rg   r   rv   rw   rx   rw   r   r   r   r   r   r   r   r   r   r   r_   r   r|   r   r/   r   __name__
__module____qualname__	__slots__r7   r?   rD   rK   r\   rj   rq   rt   r   r   r   r   r   r   r   r_   r   r   r5   r5   r5   r6   r(   9       


&+5F762IFD=
>,8W,r(   c                   @  r'   ){LiteLLM_CredentialsTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   C  r8   z(LiteLLM_CredentialsTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_CredentialsTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_CredentialsTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_CredentialsTable WHERE credential_id = $1',
            'bbejhfidcb',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   G  rA   z)LiteLLM_CredentialsTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_CredentialsTable.prisma().query_first(
            'SELECT * FROM LiteLLM_CredentialsTable WHERE credential_name = $1',
            'bgeecijdgg',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   m  rE   z+LiteLLM_CredentialsTableActions.query_firstNrF   )types.LiteLLM_CredentialsTableCreateInputrH   /Optional[types.LiteLLM_CredentialsTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_CredentialsTable record.

        Parameters
        ----------
        data
            LiteLLM_CredentialsTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The created LiteLLM_CredentialsTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_CredentialsTable record from just the required fields
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().create(
            data={
                # data to create a LiteLLM_CredentialsTable record
                'credential_name': 'bdiicjafbj',
                'credential_values': Json({'bgehebiafc': True}),
                'created_by': 'bghffegacj',
                'updated_by': 'bhghchehcc',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK        )z&LiteLLM_CredentialsTableActions.createrV   ?List[types.LiteLLM_CredentialsTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_CredentialsTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_CredentialsTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_CredentialsTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_CredentialsTable record
                    'credential_name': 'dcgchcbbf',
                    'credential_values': Json({'bdedcabahc': True}),
                    'created_by': 'ghfhiafcb',
                    'updated_by': 'heejgedji',
                },
                {
                    # data to create a LiteLLM_CredentialsTable record
                    'credential_name': 'bjgjgibgbf',
                    'credential_values': Json({'bbbgbhfjge': True}),
                    'created_by': 'igbehcbab',
                    'updated_by': 'bdadaadhag',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\        9	z+LiteLLM_CredentialsTableActions.create_manyrg   .types.LiteLLM_CredentialsTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_CredentialsTable record.

        Parameters
        ----------
        where
            LiteLLM_CredentialsTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The deleted LiteLLM_CredentialsTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().delete(
            where={
                'credential_id': 'bgiggdidbf',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z&LiteLLM_CredentialsTableActions.deletec                   rp   )a  Find a unique LiteLLM_CredentialsTable record.

        Parameters
        ----------
        where
            LiteLLM_CredentialsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The found LiteLLM_CredentialsTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().find_unique(
            where={
                'credential_id': 'caaaedabfc',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   C  rs   z+LiteLLM_CredentialsTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_CredentialsTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_CredentialsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The found LiteLLM_CredentialsTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().find_unique_or_raise(
            where={
                'credential_id': 'bigibebcib',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   v  ru   z4LiteLLM_CredentialsTableActions.find_unique_or_raiserv   rw   rx   2Optional[types.LiteLLM_CredentialsTableWhereInput]rz   8Optional[types.LiteLLM_CredentialsTableWhereUniqueInput]r|   mOptional[Union[types.LiteLLM_CredentialsTableOrderByInput, List[types.LiteLLM_CredentialsTableOrderByInput]]]r~   =Optional[List[types.LiteLLM_CredentialsTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_CredentialsTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_CredentialsTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_CredentialsTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model
        order
            Order the returned LiteLLM_CredentialsTable records by any field
        distinct
            Filter LiteLLM_CredentialsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_CredentialsTable]
            The list of all LiteLLM_CredentialsTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_CredentialsTable records
        litellm_credentialstables = await LiteLLM_CredentialsTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_CredentialsTable records ordered by the credential_values field
        litellm_credentialstables = await LiteLLM_CredentialsTable.prisma().find_many(
            take=5,
            order={
                'credential_values': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z=LiteLLM_CredentialsTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r     r   z)LiteLLM_CredentialsTableActions.find_manyc           	   
     r   )av  Find a single LiteLLM_CredentialsTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_CredentialsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model
        order
            Order the returned LiteLLM_CredentialsTable records by any field
        distinct
            Filter LiteLLM_CredentialsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The first LiteLLM_CredentialsTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_CredentialsTable record ordered by the credential_info field
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().find_first(
            skip=1,
            order={
                'credential_info': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z*LiteLLM_CredentialsTableActions.find_firstc              
     r   )a  Find a single LiteLLM_CredentialsTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_CredentialsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model
        order
            Order the returned LiteLLM_CredentialsTable records by any field
        distinct
            Filter LiteLLM_CredentialsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The first LiteLLM_CredentialsTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_CredentialsTable record ordered by the created_at field
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   1  r   z3LiteLLM_CredentialsTableActions.find_first_or_raise)types.LiteLLM_CredentialsTableUpdateInputc                   r   )a/  Update a single LiteLLM_CredentialsTable record.

        Parameters
        ----------
        data
            LiteLLM_CredentialsTable record data specifying what to update
        where
            LiteLLM_CredentialsTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The updated LiteLLM_CredentialsTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().update(
            where={
                'credential_id': 'bigaiehgcc',
            },
            data={
                # data to update the LiteLLM_CredentialsTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   q  r   z&LiteLLM_CredentialsTableActions.update)types.LiteLLM_CredentialsTableUpsertInputc              	     r   )	aZ  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_CredentialsTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_CredentialsTable model

        Returns
        -------
        prisma.models.LiteLLM_CredentialsTable
            The created or updated LiteLLM_CredentialsTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_credentialstable = await LiteLLM_CredentialsTable.prisma().upsert(
            where={
                'credential_id': 'beeifcbebf',
            },
            data={
                'create': {
                    'credential_id': 'beeifcbebf',
                    'credential_name': 'bjgjgibgbf',
                    'credential_values': Json({'bbbgbhfjge': True}),
                    'created_by': 'igbehcbab',
                    'updated_by': 'bdadaadhag',
                },
                'update': {
                    'credential_name': 'bjgjgibgbf',
                    'credential_values': Json({'bbbgbhfjge': True}),
                    'created_by': 'igbehcbab',
                    'updated_by': 'bdadaadhag',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r        6
z&LiteLLM_CredentialsTableActions.upsert5types.LiteLLM_CredentialsTableUpdateManyMutationInput(types.LiteLLM_CredentialsTableWhereInputc                   r   )aX  Update multiple LiteLLM_CredentialsTable records

        Parameters
        ----------
        data
            LiteLLM_CredentialsTable data to update the selected LiteLLM_CredentialsTable records to
        where
            Filter to select the LiteLLM_CredentialsTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_CredentialsTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_CredentialsTable records
        total = await LiteLLM_CredentialsTable.prisma().update_many(
            data={
                'created_by': 'bgcigfahea'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z+LiteLLM_CredentialsTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_CredentialsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_CredentialsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_CredentialsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_CredentialsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_CredentialsTable.prisma().count()

        # results: prisma.types.LiteLLM_CredentialsTableCountAggregateOutput
        results = await LiteLLM_CredentialsTable.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z%LiteLLM_CredentialsTableActions.count1types.LiteLLM_CredentialsTableCountAggregateInput2types.LiteLLM_CredentialsTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   Q  r   ;Optional[types.LiteLLM_CredentialsTableCountAggregateInput]>Union[int, types.LiteLLM_CredentialsTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_CredentialsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_CredentialsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_CredentialsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_CredentialsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_CredentialsTable.prisma().count()

        # results: prisma.types.LiteLLM_CredentialsTableCountAggregateOutput
        results = await LiteLLM_CredentialsTable.prisma().count(
            select={
                '_all': True,
                'updated_by': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z8LiteLLM_CredentialsTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   ,LiteLLM_CredentialsTableCountAggregateOutputr   r5   r5   r6   r_   \  r   c                   r   )a  Delete multiple LiteLLM_CredentialsTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_CredentialsTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_CredentialsTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_CredentialsTable records
        total = await LiteLLM_CredentialsTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z+LiteLLM_CredentialsTableActions.delete_manyr   r   5List['types.LiteLLM_CredentialsTableScalarFieldKeys']4Optional['types.LiteLLM_CredentialsTableWhereInput']r   ;Optional['types.LiteLLM_CredentialsTableAvgAggregateInput']r   ;Optional['types.LiteLLM_CredentialsTableSumAggregateInput']r   ;Optional['types.LiteLLM_CredentialsTableMinAggregateInput']r   ;Optional['types.LiteLLM_CredentialsTableMaxAggregateInput']r   HOptional['types.LiteLLM_CredentialsTableScalarWhereWithAggregatesInput']r_   JOptional[Union[bool, 'types.LiteLLM_CredentialsTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_CredentialsTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_CredentialsTableScalarFieldKeys', 'types.SortOrder']]]]3List['types.LiteLLM_CredentialsTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_CredentialsTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_CredentialsTable fields to group records by
        where
            LiteLLM_CredentialsTable filter to select records
        take
            Limit the maximum number of LiteLLM_CredentialsTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_CredentialsTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_CredentialsTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_CredentialsTable records by credential_id values
        # and count how many records are in each group
        results = await LiteLLM_CredentialsTable.prisma().group_by(
            ['credential_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z(LiteLLM_CredentialsTableActions.group_byr   r   r   r2   )rF   r   rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r	  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r	  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r	  r/   r%   )rF   r
  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r   =      


&+7J762IFD=
B,8W,r   c                   @  r'   ){LiteLLM_ProxyModelTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   Q  r8   z'LiteLLM_ProxyModelTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ProxyModelTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ProxyModelTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ProxyModelTable WHERE model_id = $1',
            'bcejgaggif',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   U  rA   z(LiteLLM_ProxyModelTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ProxyModelTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ProxyModelTable WHERE model_name = $1',
            'idfjadbcc',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   {  rE   z*LiteLLM_ProxyModelTableActions.query_firstNrF   (types.LiteLLM_ProxyModelTableCreateInputrH   .Optional[types.LiteLLM_ProxyModelTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ProxyModelTable record.

        Parameters
        ----------
        data
            LiteLLM_ProxyModelTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The created LiteLLM_ProxyModelTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ProxyModelTable record from just the required fields
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().create(
            data={
                # data to create a LiteLLM_ProxyModelTable record
                'model_name': 'hgdhbjhhj',
                'litellm_params': Json({'ecjjjfbae': True}),
                'created_by': 'bhhfibbigf',
                'updated_by': 'ijdbeffgg',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK     r  z%LiteLLM_ProxyModelTableActions.createrV   >List[types.LiteLLM_ProxyModelTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ProxyModelTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ProxyModelTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ProxyModelTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ProxyModelTable record
                    'model_name': 'jjfeafhfj',
                    'litellm_params': Json({'cbachdgfce': True}),
                    'created_by': 'chbfcacbd',
                    'updated_by': 'efggddide',
                },
                {
                    # data to create a LiteLLM_ProxyModelTable record
                    'model_name': 'caficfigfb',
                    'litellm_params': Json({'bfidgijfjc': True}),
                    'created_by': 'ihieecagf',
                    'updated_by': 'bghfciaafe',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z*LiteLLM_ProxyModelTableActions.create_manyrg   -types.LiteLLM_ProxyModelTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ProxyModelTable record.

        Parameters
        ----------
        where
            LiteLLM_ProxyModelTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The deleted LiteLLM_ProxyModelTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().delete(
            where={
                'model_id': 'bgchfhgceh',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   	  ro   z%LiteLLM_ProxyModelTableActions.deletec                   rp   )a  Find a unique LiteLLM_ProxyModelTable record.

        Parameters
        ----------
        where
            LiteLLM_ProxyModelTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The found LiteLLM_ProxyModelTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().find_unique(
            where={
                'model_id': 'cafeiaccbc',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   Q	  rs   z*LiteLLM_ProxyModelTableActions.find_uniquec                   rJ   )a	  Find a unique LiteLLM_ProxyModelTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ProxyModelTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The found LiteLLM_ProxyModelTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().find_unique_or_raise(
            where={
                'model_id': 'gaddfhfh',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   	  ru   z3LiteLLM_ProxyModelTableActions.find_unique_or_raiserv   rw   rx   1Optional[types.LiteLLM_ProxyModelTableWhereInput]rz   7Optional[types.LiteLLM_ProxyModelTableWhereUniqueInput]r|   kOptional[Union[types.LiteLLM_ProxyModelTableOrderByInput, List[types.LiteLLM_ProxyModelTableOrderByInput]]]r~   <Optional[List[types.LiteLLM_ProxyModelTableScalarFieldKeys]]c           	        r   )	an  Find multiple LiteLLM_ProxyModelTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ProxyModelTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ProxyModelTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model
        order
            Order the returned LiteLLM_ProxyModelTable records by any field
        distinct
            Filter LiteLLM_ProxyModelTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ProxyModelTable]
            The list of all LiteLLM_ProxyModelTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ProxyModelTable records
        litellm_proxymodeltables = await LiteLLM_ProxyModelTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ProxyModelTable records ordered by the litellm_params field
        litellm_proxymodeltables = await LiteLLM_ProxyModelTable.prisma().find_many(
            take=5,
            order={
                'litellm_params': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   	  r   z<LiteLLM_ProxyModelTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   	  r   z(LiteLLM_ProxyModelTableActions.find_manyc           	   
     r   )ab  Find a single LiteLLM_ProxyModelTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ProxyModelTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model
        order
            Order the returned LiteLLM_ProxyModelTable records by any field
        distinct
            Filter LiteLLM_ProxyModelTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The first LiteLLM_ProxyModelTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ProxyModelTable record ordered by the model_info field
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().find_first(
            skip=1,
            order={
                'model_info': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   	  r   z)LiteLLM_ProxyModelTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ProxyModelTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ProxyModelTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model
        order
            Order the returned LiteLLM_ProxyModelTable records by any field
        distinct
            Filter LiteLLM_ProxyModelTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The first LiteLLM_ProxyModelTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ProxyModelTable record ordered by the created_at field
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ?
  r   z2LiteLLM_ProxyModelTableActions.find_first_or_raise(types.LiteLLM_ProxyModelTableUpdateInputc                   r   )a   Update a single LiteLLM_ProxyModelTable record.

        Parameters
        ----------
        data
            LiteLLM_ProxyModelTable record data specifying what to update
        where
            LiteLLM_ProxyModelTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The updated LiteLLM_ProxyModelTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().update(
            where={
                'model_id': 'gieegcbeg',
            },
            data={
                # data to update the LiteLLM_ProxyModelTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   
  r   z%LiteLLM_ProxyModelTableActions.update(types.LiteLLM_ProxyModelTableUpsertInputc              	     r   )	a:  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ProxyModelTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProxyModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ProxyModelTable
            The created or updated LiteLLM_ProxyModelTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_proxymodeltable = await LiteLLM_ProxyModelTable.prisma().upsert(
            where={
                'model_id': 'bgcffadich',
            },
            data={
                'create': {
                    'model_id': 'bgcffadich',
                    'model_name': 'caficfigfb',
                    'litellm_params': Json({'bfidgijfjc': True}),
                    'created_by': 'ihieecagf',
                    'updated_by': 'bghfciaafe',
                },
                'update': {
                    'model_name': 'caficfigfb',
                    'litellm_params': Json({'bfidgijfjc': True}),
                    'created_by': 'ihieecagf',
                    'updated_by': 'bghfciaafe',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   
  r  z%LiteLLM_ProxyModelTableActions.upsert4types.LiteLLM_ProxyModelTableUpdateManyMutationInput'types.LiteLLM_ProxyModelTableWhereInputc                   r   )aP  Update multiple LiteLLM_ProxyModelTable records

        Parameters
        ----------
        data
            LiteLLM_ProxyModelTable data to update the selected LiteLLM_ProxyModelTable records to
        where
            Filter to select the LiteLLM_ProxyModelTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ProxyModelTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ProxyModelTable records
        total = await LiteLLM_ProxyModelTable.prisma().update_many(
            data={
                'created_by': 'fcbichhci'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   
  r   z*LiteLLM_ProxyModelTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ProxyModelTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ProxyModelTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ProxyModelTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ProxyModelTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ProxyModelTable.prisma().count()

        # results: prisma.types.LiteLLM_ProxyModelTableCountAggregateOutput
        results = await LiteLLM_ProxyModelTable.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   &  r   z$LiteLLM_ProxyModelTableActions.count0types.LiteLLM_ProxyModelTableCountAggregateInput1types.LiteLLM_ProxyModelTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   _  r   :Optional[types.LiteLLM_ProxyModelTableCountAggregateInput]=Union[int, types.LiteLLM_ProxyModelTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ProxyModelTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ProxyModelTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ProxyModelTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ProxyModelTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ProxyModelTable.prisma().count()

        # results: prisma.types.LiteLLM_ProxyModelTableCountAggregateOutput
        results = await LiteLLM_ProxyModelTable.prisma().count(
            select={
                '_all': True,
                'updated_by': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z7LiteLLM_ProxyModelTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   +LiteLLM_ProxyModelTableCountAggregateOutputr   r5   r5   r6   r_   j  r   c                   r   )a  Delete multiple LiteLLM_ProxyModelTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ProxyModelTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ProxyModelTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ProxyModelTable records
        total = await LiteLLM_ProxyModelTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z*LiteLLM_ProxyModelTableActions.delete_manyr   r   4List['types.LiteLLM_ProxyModelTableScalarFieldKeys']3Optional['types.LiteLLM_ProxyModelTableWhereInput']r   :Optional['types.LiteLLM_ProxyModelTableAvgAggregateInput']r   :Optional['types.LiteLLM_ProxyModelTableSumAggregateInput']r   :Optional['types.LiteLLM_ProxyModelTableMinAggregateInput']r   :Optional['types.LiteLLM_ProxyModelTableMaxAggregateInput']r   GOptional['types.LiteLLM_ProxyModelTableScalarWhereWithAggregatesInput']r_   IOptional[Union[bool, 'types.LiteLLM_ProxyModelTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ProxyModelTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ProxyModelTableScalarFieldKeys', 'types.SortOrder']]]]2List['types.LiteLLM_ProxyModelTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ProxyModelTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ProxyModelTable fields to group records by
        where
            LiteLLM_ProxyModelTable filter to select records
        take
            Limit the maximum number of LiteLLM_ProxyModelTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ProxyModelTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ProxyModelTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ProxyModelTable records by model_id values
        # and count how many records are in each group
        results = await LiteLLM_ProxyModelTable.prisma().group_by(
            ['model_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z'LiteLLM_ProxyModelTableActions.group_byr   r   r   r2   )rF   r   rH   r!  r/   r%   )rF   r"  rW   rY   r/   r   )rg   r#  rH   r!  r/   rB   )rg   r#  rH   r!  r/   r%   r   )rv   rw   rx   rw   rg   r$  rz   r%  rH   r!  r|   r&  r~   r'  r/   r<   r   )rx   rw   rg   r$  rz   r%  rH   r!  r|   r&  r~   r'  r/   rB   )rx   rw   rg   r$  rz   r%  rH   r!  r|   r&  r~   r'  r/   r%   )rF   r(  rg   r#  rH   r!  r/   rB   )rg   r#  rF   r)  rH   r!  r/   r%   )rF   r*  rg   r+  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r$  rz   r%  r/   r   r   )r   r,  rv   rw   rx   rw   rg   r$  rz   r%  r/   r-  )r   r.  rv   rw   rx   rw   rg   r$  rz   r%  r/   r/  )rg   r$  r/   r   )r   r1  rg   r2  rv   rw   rx   rw   r   r3  r   r4  r   r5  r   r6  r   r7  r_   r8  r|   r9  r/   r:  r   r5   r5   r5   r6   r  K  r  r  c                   @  r'   ){LiteLLM_AgentsTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   _  r8   z#LiteLLM_AgentsTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_AgentsTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_AgentsTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_AgentsTable WHERE agent_id = $1',
            'bcggadccgf',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   c  rA   z$LiteLLM_AgentsTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_AgentsTable.prisma().query_first(
            'SELECT * FROM LiteLLM_AgentsTable WHERE agent_name = $1',
            'jdcfdcgc',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z&LiteLLM_AgentsTableActions.query_firstNrF   $types.LiteLLM_AgentsTableCreateInputrH   *Optional[types.LiteLLM_AgentsTableInclude]r%   c                   rJ   )af  Create a new LiteLLM_AgentsTable record.

        Parameters
        ----------
        data
            LiteLLM_AgentsTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The created LiteLLM_AgentsTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_AgentsTable record from just the required fields
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().create(
            data={
                # data to create a LiteLLM_AgentsTable record
                'agent_name': 'cafdaehjid',
                'agent_card_params': Json({'gifdddbia': True}),
                'created_by': 'bchehecef',
                'updated_by': 'jeijcbhfe',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK     r  z!LiteLLM_AgentsTableActions.createrV   :List[types.LiteLLM_AgentsTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_AgentsTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_AgentsTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_AgentsTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_AgentsTable record
                    'agent_name': 'bjgejjabff',
                    'agent_card_params': Json({'bcciijbibg': True}),
                    'created_by': 'cffcachfd',
                    'updated_by': 'bccdfhdigc',
                },
                {
                    # data to create a LiteLLM_AgentsTable record
                    'agent_name': 'febcgjbfj',
                    'agent_card_params': Json({'bageiegghg': True}),
                    'created_by': 'faidicegb',
                    'updated_by': 'bacecgfhbe',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z&LiteLLM_AgentsTableActions.create_manyrg   )types.LiteLLM_AgentsTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_AgentsTable record.

        Parameters
        ----------
        where
            LiteLLM_AgentsTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The deleted LiteLLM_AgentsTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().delete(
            where={
                'agent_id': 'ihcahiead',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   +  ro   z!LiteLLM_AgentsTableActions.deletec                   rp   )a  Find a unique LiteLLM_AgentsTable record.

        Parameters
        ----------
        where
            LiteLLM_AgentsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The found LiteLLM_AgentsTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().find_unique(
            where={
                'agent_id': 'biheheiajg',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   _  rs   z&LiteLLM_AgentsTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_AgentsTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_AgentsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The found LiteLLM_AgentsTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().find_unique_or_raise(
            where={
                'agent_id': 'jbgijghgb',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z/LiteLLM_AgentsTableActions.find_unique_or_raiserv   rw   rx   -Optional[types.LiteLLM_AgentsTableWhereInput]rz   3Optional[types.LiteLLM_AgentsTableWhereUniqueInput]r|   cOptional[Union[types.LiteLLM_AgentsTableOrderByInput, List[types.LiteLLM_AgentsTableOrderByInput]]]r~   8Optional[List[types.LiteLLM_AgentsTableScalarFieldKeys]]c           	        r   )	a6  Find multiple LiteLLM_AgentsTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_AgentsTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_AgentsTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model
        order
            Order the returned LiteLLM_AgentsTable records by any field
        distinct
            Filter LiteLLM_AgentsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_AgentsTable]
            The list of all LiteLLM_AgentsTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_AgentsTable records
        litellm_agentstables = await LiteLLM_AgentsTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_AgentsTable records ordered by the litellm_params field
        litellm_agentstables = await LiteLLM_AgentsTable.prisma().find_many(
            take=5,
            order={
                'litellm_params': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z8LiteLLM_AgentsTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r     r   z$LiteLLM_AgentsTableActions.find_manyc           	   
     r   )aH  Find a single LiteLLM_AgentsTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_AgentsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model
        order
            Order the returned LiteLLM_AgentsTable records by any field
        distinct
            Filter LiteLLM_AgentsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The first LiteLLM_AgentsTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_AgentsTable record ordered by the agent_card_params field
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().find_first(
            skip=1,
            order={
                'agent_card_params': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   	  r   z%LiteLLM_AgentsTableActions.find_firstc              
     r   )a  Find a single LiteLLM_AgentsTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_AgentsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model
        order
            Order the returned LiteLLM_AgentsTable records by any field
        distinct
            Filter LiteLLM_AgentsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The first LiteLLM_AgentsTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_AgentsTable record ordered by the static_headers field
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'static_headers': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   M  r   z.LiteLLM_AgentsTableActions.find_first_or_raise$types.LiteLLM_AgentsTableUpdateInputc                   r   )a  Update a single LiteLLM_AgentsTable record.

        Parameters
        ----------
        data
            LiteLLM_AgentsTable record data specifying what to update
        where
            LiteLLM_AgentsTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The updated LiteLLM_AgentsTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().update(
            where={
                'agent_id': 'hgjcghfbi',
            },
            data={
                # data to update the LiteLLM_AgentsTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z!LiteLLM_AgentsTableActions.update$types.LiteLLM_AgentsTableUpsertInputc              	     r   )	a$  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_AgentsTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_AgentsTable model

        Returns
        -------
        prisma.models.LiteLLM_AgentsTable
            The created or updated LiteLLM_AgentsTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_agentstable = await LiteLLM_AgentsTable.prisma().upsert(
            where={
                'agent_id': 'icadbcehj',
            },
            data={
                'create': {
                    'agent_id': 'icadbcehj',
                    'agent_name': 'febcgjbfj',
                    'agent_card_params': Json({'bageiegghg': True}),
                    'created_by': 'faidicegb',
                    'updated_by': 'bacecgfhbe',
                },
                'update': {
                    'agent_name': 'febcgjbfj',
                    'agent_card_params': Json({'bageiegghg': True}),
                    'created_by': 'faidicegb',
                    'updated_by': 'bacecgfhbe',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r  z!LiteLLM_AgentsTableActions.upsert0types.LiteLLM_AgentsTableUpdateManyMutationInput#types.LiteLLM_AgentsTableWhereInputc                   r   )a8  Update multiple LiteLLM_AgentsTable records

        Parameters
        ----------
        data
            LiteLLM_AgentsTable data to update the selected LiteLLM_AgentsTable records to
        where
            Filter to select the LiteLLM_AgentsTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_AgentsTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_AgentsTable records
        total = await LiteLLM_AgentsTable.prisma().update_many(
            data={
                'extra_headers': ['jchciaee']
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z&LiteLLM_AgentsTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_AgentsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_AgentsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_AgentsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_AgentsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_AgentsTable.prisma().count()

        # results: prisma.types.LiteLLM_AgentsTableCountAggregateOutput
        results = await LiteLLM_AgentsTable.prisma().count(
            select={
                '_all': True,
                'agent_access_groups': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   4  r   z LiteLLM_AgentsTableActions.count,types.LiteLLM_AgentsTableCountAggregateInput-types.LiteLLM_AgentsTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   m  r   6Optional[types.LiteLLM_AgentsTableCountAggregateInput]9Union[int, types.LiteLLM_AgentsTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_AgentsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_AgentsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_AgentsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_AgentsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_AgentsTable.prisma().count()

        # results: prisma.types.LiteLLM_AgentsTableCountAggregateOutput
        results = await LiteLLM_AgentsTable.prisma().count(
            select={
                '_all': True,
                'object_permission_id': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z3LiteLLM_AgentsTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   'LiteLLM_AgentsTableCountAggregateOutputr   r5   r5   r6   r_   x  r   c                   r   )an  Delete multiple LiteLLM_AgentsTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_AgentsTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_AgentsTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_AgentsTable records
        total = await LiteLLM_AgentsTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z&LiteLLM_AgentsTableActions.delete_manyr   r   0List['types.LiteLLM_AgentsTableScalarFieldKeys']/Optional['types.LiteLLM_AgentsTableWhereInput']r   6Optional['types.LiteLLM_AgentsTableAvgAggregateInput']r   6Optional['types.LiteLLM_AgentsTableSumAggregateInput']r   6Optional['types.LiteLLM_AgentsTableMinAggregateInput']r   6Optional['types.LiteLLM_AgentsTableMaxAggregateInput']r   COptional['types.LiteLLM_AgentsTableScalarWhereWithAggregatesInput']r_   EOptional[Union[bool, 'types.LiteLLM_AgentsTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_AgentsTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_AgentsTableScalarFieldKeys', 'types.SortOrder']]]].List['types.LiteLLM_AgentsTableGroupByOutput']c       
      
     r   )at  Group LiteLLM_AgentsTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_AgentsTable fields to group records by
        where
            LiteLLM_AgentsTable filter to select records
        take
            Limit the maximum number of LiteLLM_AgentsTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_AgentsTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_AgentsTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_AgentsTable records by spend values
        # and count how many records are in each group
        results = await LiteLLM_AgentsTable.prisma().group_by(
            ['spend'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z#LiteLLM_AgentsTableActions.group_byr   r   r   r2   )rF   r<  rH   r=  r/   r%   )rF   r>  rW   rY   r/   r   )rg   r?  rH   r=  r/   rB   )rg   r?  rH   r=  r/   r%   r   )rv   rw   rx   rw   rg   r@  rz   rA  rH   r=  r|   rB  r~   rC  r/   r<   r   )rx   rw   rg   r@  rz   rA  rH   r=  r|   rB  r~   rC  r/   rB   )rx   rw   rg   r@  rz   rA  rH   r=  r|   rB  r~   rC  r/   r%   )rF   rD  rg   r?  rH   r=  r/   rB   )rg   r?  rF   rE  rH   r=  r/   r%   )rF   rF  rg   rG  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r@  rz   rA  r/   r   r   )r   rH  rv   rw   rx   rw   rg   r@  rz   rA  r/   rI  )r   rJ  rv   rw   rx   rw   rg   r@  rz   rA  r/   rK  )rg   r@  r/   r   )r   rM  rg   rN  rv   rw   rx   rw   r   rO  r   rP  r   rQ  r   rR  r   rS  r_   rT  r|   rU  r/   rV  r   r5   r5   r5   r6   r;  Y  r  r;  c                   @  r'   ){ LiteLLM_OrganizationTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   m  r8   z)LiteLLM_OrganizationTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_OrganizationTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_OrganizationTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_OrganizationTable WHERE organization_id = $1',
            'deeificjd',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   q  rA   z*LiteLLM_OrganizationTableActions.query_rawrB   c                   r=   )a   Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_OrganizationTable.prisma().query_first(
            'SELECT * FROM LiteLLM_OrganizationTable WHERE organization_alias = $1',
            'bbcbhebbda',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z,LiteLLM_OrganizationTableActions.query_firstNrF   *types.LiteLLM_OrganizationTableCreateInputrH   0Optional[types.LiteLLM_OrganizationTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_OrganizationTable record.

        Parameters
        ----------
        data
            LiteLLM_OrganizationTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The created LiteLLM_OrganizationTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_OrganizationTable record from just the required fields
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().create(
            data={
                # data to create a LiteLLM_OrganizationTable record
                'organization_alias': 'bejfijgcfb',
                'budget_id': 'caifcbgii',
                'created_by': 'igaibbfgj',
                'updated_by': 'bggajdcbbi',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK     r  z'LiteLLM_OrganizationTableActions.createrV   @List[types.LiteLLM_OrganizationTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_OrganizationTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_OrganizationTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_OrganizationTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_OrganizationTable record
                    'organization_alias': 'fcfhgbjed',
                    'budget_id': 'hdgcajhjg',
                    'created_by': 'ejdjahicb',
                    'updated_by': 'gdjgigfgc',
                },
                {
                    # data to create a LiteLLM_OrganizationTable record
                    'organization_alias': 'gfeaahdeh',
                    'budget_id': 'bjafcgbffc',
                    'created_by': 'hihegjif',
                    'updated_by': 'bdjidcidac',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z,LiteLLM_OrganizationTableActions.create_manyrg   /types.LiteLLM_OrganizationTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_OrganizationTable record.

        Parameters
        ----------
        where
            LiteLLM_OrganizationTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The deleted LiteLLM_OrganizationTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().delete(
            where={
                'organization_id': 'ifgaaagff',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   9  ro   z'LiteLLM_OrganizationTableActions.deletec                   rp   )a  Find a unique LiteLLM_OrganizationTable record.

        Parameters
        ----------
        where
            LiteLLM_OrganizationTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The found LiteLLM_OrganizationTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().find_unique(
            where={
                'organization_id': 'befcddgjce',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   m  rs   z,LiteLLM_OrganizationTableActions.find_uniquec                   rJ   )a   Find a unique LiteLLM_OrganizationTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_OrganizationTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The found LiteLLM_OrganizationTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().find_unique_or_raise(
            where={
                'organization_id': 'bfhdbjjgfd',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z5LiteLLM_OrganizationTableActions.find_unique_or_raiserv   rw   rx   3Optional[types.LiteLLM_OrganizationTableWhereInput]rz   9Optional[types.LiteLLM_OrganizationTableWhereUniqueInput]r|   oOptional[Union[types.LiteLLM_OrganizationTableOrderByInput, List[types.LiteLLM_OrganizationTableOrderByInput]]]r~   >Optional[List[types.LiteLLM_OrganizationTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_OrganizationTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_OrganizationTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_OrganizationTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model
        order
            Order the returned LiteLLM_OrganizationTable records by any field
        distinct
            Filter LiteLLM_OrganizationTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_OrganizationTable]
            The list of all LiteLLM_OrganizationTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_OrganizationTable records
        litellm_organizationtables = await LiteLLM_OrganizationTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_OrganizationTable records ordered by the budget_id field
        litellm_organizationtables = await LiteLLM_OrganizationTable.prisma().find_many(
            take=5,
            order={
                'budget_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z>LiteLLM_OrganizationTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r     r   z*LiteLLM_OrganizationTableActions.find_manyc           	   
     r   )ar  Find a single LiteLLM_OrganizationTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model
        order
            Order the returned LiteLLM_OrganizationTable records by any field
        distinct
            Filter LiteLLM_OrganizationTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The first LiteLLM_OrganizationTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_OrganizationTable record ordered by the metadata field
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().find_first(
            skip=1,
            order={
                'metadata': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z+LiteLLM_OrganizationTableActions.find_firstc              
     r   )a  Find a single LiteLLM_OrganizationTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model
        order
            Order the returned LiteLLM_OrganizationTable records by any field
        distinct
            Filter LiteLLM_OrganizationTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The first LiteLLM_OrganizationTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_OrganizationTable record ordered by the models field
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'models': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   [  r   z4LiteLLM_OrganizationTableActions.find_first_or_raise*types.LiteLLM_OrganizationTableUpdateInputc                   r   )a:  Update a single LiteLLM_OrganizationTable record.

        Parameters
        ----------
        data
            LiteLLM_OrganizationTable record data specifying what to update
        where
            LiteLLM_OrganizationTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The updated LiteLLM_OrganizationTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().update(
            where={
                'organization_id': 'cabdjadaji',
            },
            data={
                # data to update the LiteLLM_OrganizationTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z'LiteLLM_OrganizationTableActions.update*types.LiteLLM_OrganizationTableUpsertInputc              	     r   )	a8  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_OrganizationTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationTable model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationTable
            The created or updated LiteLLM_OrganizationTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationtable = await LiteLLM_OrganizationTable.prisma().upsert(
            where={
                'organization_id': 'faajgfadf',
            },
            data={
                'create': {
                    'organization_id': 'faajgfadf',
                    'organization_alias': 'gfeaahdeh',
                    'budget_id': 'bjafcgbffc',
                    'created_by': 'hihegjif',
                    'updated_by': 'bdjidcidac',
                },
                'update': {
                    'organization_alias': 'gfeaahdeh',
                    'budget_id': 'bjafcgbffc',
                    'created_by': 'hihegjif',
                    'updated_by': 'bdjidcidac',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r  z'LiteLLM_OrganizationTableActions.upsert6types.LiteLLM_OrganizationTableUpdateManyMutationInput)types.LiteLLM_OrganizationTableWhereInputc                   r   )a_  Update multiple LiteLLM_OrganizationTable records

        Parameters
        ----------
        data
            LiteLLM_OrganizationTable data to update the selected LiteLLM_OrganizationTable records to
        where
            Filter to select the LiteLLM_OrganizationTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_OrganizationTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_OrganizationTable records
        total = await LiteLLM_OrganizationTable.prisma().update_many(
            data={
                'spend': 1800624392.207706
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z,LiteLLM_OrganizationTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_OrganizationTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_OrganizationTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_OrganizationTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_OrganizationTable.prisma().count()

        # results: prisma.types.LiteLLM_OrganizationTableCountAggregateOutput
        results = await LiteLLM_OrganizationTable.prisma().count(
            select={
                '_all': True,
                'model_spend': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   B  r   z&LiteLLM_OrganizationTableActions.count2types.LiteLLM_OrganizationTableCountAggregateInput3types.LiteLLM_OrganizationTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   {  r   <Optional[types.LiteLLM_OrganizationTableCountAggregateInput]?Union[int, types.LiteLLM_OrganizationTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_OrganizationTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_OrganizationTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_OrganizationTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_OrganizationTable.prisma().count()

        # results: prisma.types.LiteLLM_OrganizationTableCountAggregateOutput
        results = await LiteLLM_OrganizationTable.prisma().count(
            select={
                '_all': True,
                'object_permission_id': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z9LiteLLM_OrganizationTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   -LiteLLM_OrganizationTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_OrganizationTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_OrganizationTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_OrganizationTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_OrganizationTable records
        total = await LiteLLM_OrganizationTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z,LiteLLM_OrganizationTableActions.delete_manyr   r   6List['types.LiteLLM_OrganizationTableScalarFieldKeys']5Optional['types.LiteLLM_OrganizationTableWhereInput']r   <Optional['types.LiteLLM_OrganizationTableAvgAggregateInput']r   <Optional['types.LiteLLM_OrganizationTableSumAggregateInput']r   <Optional['types.LiteLLM_OrganizationTableMinAggregateInput']r   <Optional['types.LiteLLM_OrganizationTableMaxAggregateInput']r   IOptional['types.LiteLLM_OrganizationTableScalarWhereWithAggregatesInput']r_   KOptional[Union[bool, 'types.LiteLLM_OrganizationTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_OrganizationTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_OrganizationTableScalarFieldKeys', 'types.SortOrder']]]]4List['types.LiteLLM_OrganizationTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_OrganizationTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_OrganizationTable fields to group records by
        where
            LiteLLM_OrganizationTable filter to select records
        take
            Limit the maximum number of LiteLLM_OrganizationTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_OrganizationTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_OrganizationTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_OrganizationTable records by created_at values
        # and count how many records are in each group
        results = await LiteLLM_OrganizationTable.prisma().group_by(
            ['created_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z)LiteLLM_OrganizationTableActions.group_byr   r   r   r2   )rF   rX  rH   rY  r/   r%   )rF   rZ  rW   rY   r/   r   )rg   r[  rH   rY  r/   rB   )rg   r[  rH   rY  r/   r%   r   )rv   rw   rx   rw   rg   r\  rz   r]  rH   rY  r|   r^  r~   r_  r/   r<   r   )rx   rw   rg   r\  rz   r]  rH   rY  r|   r^  r~   r_  r/   rB   )rx   rw   rg   r\  rz   r]  rH   rY  r|   r^  r~   r_  r/   r%   )rF   r`  rg   r[  rH   rY  r/   rB   )rg   r[  rF   ra  rH   rY  r/   r%   )rF   rb  rg   rc  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r\  rz   r]  r/   r   r   )r   rd  rv   rw   rx   rw   rg   r\  rz   r]  r/   re  )r   rf  rv   rw   rx   rw   rg   r\  rz   r]  r/   rg  )rg   r\  r/   r   )r   ri  rg   rj  rv   rw   rx   rw   r   rk  r   rl  r   rm  r   rn  r   ro  r_   rp  r|   rq  r/   rr  r   r5   r5   r5   r6   rW  g  r  rW  c                   @  r'   ){LiteLLM_ModelTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   {  r8   z"LiteLLM_ModelTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ModelTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ModelTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ModelTable WHERE id = $1',
            1672112838,
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z#LiteLLM_ModelTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ModelTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ModelTable WHERE model_aliases = $1',
            Json({'jcgghhgdj': True}),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z%LiteLLM_ModelTableActions.query_firstNrF   #types.LiteLLM_ModelTableCreateInputrH   )Optional[types.LiteLLM_ModelTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ModelTable record.

        Parameters
        ----------
        data
            LiteLLM_ModelTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The created LiteLLM_ModelTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ModelTable record from just the required fields
        litellm_modeltable = await LiteLLM_ModelTable.prisma().create(
            data={
                # data to create a LiteLLM_ModelTable record
                'created_by': 'beehgcebbg',
                'updated_by': 'bhdiaidiaf',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK     rU   z LiteLLM_ModelTableActions.createrV   9List[types.LiteLLM_ModelTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ModelTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ModelTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ModelTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ModelTable record
                    'created_by': 'deajegcfi',
                    'updated_by': 'gabahhhjf',
                },
                {
                    # data to create a LiteLLM_ModelTable record
                    'created_by': 'cjagadcjg',
                    'updated_by': 'bifficggej',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z%LiteLLM_ModelTableActions.create_manyrg   (types.LiteLLM_ModelTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ModelTable record.

        Parameters
        ----------
        where
            LiteLLM_ModelTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The deleted LiteLLM_ModelTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_modeltable = await LiteLLM_ModelTable.prisma().delete(
            where={
                'id': 1611009182,
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   A  ro   z LiteLLM_ModelTableActions.deletec                   rp   )a  Find a unique LiteLLM_ModelTable record.

        Parameters
        ----------
        where
            LiteLLM_ModelTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The found LiteLLM_ModelTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_modeltable = await LiteLLM_ModelTable.prisma().find_unique(
            where={
                'id': 446673791,
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   u  rs   z%LiteLLM_ModelTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_ModelTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ModelTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The found LiteLLM_ModelTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_modeltable = await LiteLLM_ModelTable.prisma().find_unique_or_raise(
            where={
                'id': 300568396,
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z.LiteLLM_ModelTableActions.find_unique_or_raiserv   rw   rx   ,Optional[types.LiteLLM_ModelTableWhereInput]rz   2Optional[types.LiteLLM_ModelTableWhereUniqueInput]r|   aOptional[Union[types.LiteLLM_ModelTableOrderByInput, List[types.LiteLLM_ModelTableOrderByInput]]]r~   7Optional[List[types.LiteLLM_ModelTableScalarFieldKeys]]c           	        r   )	a   Find multiple LiteLLM_ModelTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ModelTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ModelTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model
        order
            Order the returned LiteLLM_ModelTable records by any field
        distinct
            Filter LiteLLM_ModelTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ModelTable]
            The list of all LiteLLM_ModelTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ModelTable records
        litellm_modeltables = await LiteLLM_ModelTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ModelTable records ordered by the created_at field
        litellm_modeltables = await LiteLLM_ModelTable.prisma().find_many(
            take=5,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z7LiteLLM_ModelTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r     r   z#LiteLLM_ModelTableActions.find_manyc           	   
     r   )a0  Find a single LiteLLM_ModelTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ModelTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model
        order
            Order the returned LiteLLM_ModelTable records by any field
        distinct
            Filter LiteLLM_ModelTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The first LiteLLM_ModelTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ModelTable record ordered by the created_by field
        litellm_modeltable = await LiteLLM_ModelTable.prisma().find_first(
            skip=1,
            order={
                'created_by': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z$LiteLLM_ModelTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ModelTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ModelTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model
        order
            Order the returned LiteLLM_ModelTable records by any field
        distinct
            Filter LiteLLM_ModelTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The first LiteLLM_ModelTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ModelTable record ordered by the updated_at field
        litellm_modeltable = await LiteLLM_ModelTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'updated_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   c  r   z-LiteLLM_ModelTableActions.find_first_or_raise#types.LiteLLM_ModelTableUpdateInputc                   r   )a  Update a single LiteLLM_ModelTable record.

        Parameters
        ----------
        data
            LiteLLM_ModelTable record data specifying what to update
        where
            LiteLLM_ModelTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The updated LiteLLM_ModelTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_modeltable = await LiteLLM_ModelTable.prisma().update(
            where={
                'id': 632626069,
            },
            data={
                # data to update the LiteLLM_ModelTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z LiteLLM_ModelTableActions.update#types.LiteLLM_ModelTableUpsertInputc              	     r   )	a(  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ModelTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ModelTable model

        Returns
        -------
        prisma.models.LiteLLM_ModelTable
            The created or updated LiteLLM_ModelTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_modeltable = await LiteLLM_ModelTable.prisma().upsert(
            where={
                'id': 1724011690,
            },
            data={
                'create': {
                    'id': 1724011690,
                    'created_by': 'cjagadcjg',
                    'updated_by': 'bifficggej',
                },
                'update': {
                    'created_by': 'cjagadcjg',
                    'updated_by': 'bifficggej',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r   z LiteLLM_ModelTableActions.upsert/types.LiteLLM_ModelTableUpdateManyMutationInput"types.LiteLLM_ModelTableWhereInputc                   r   )a-  Update multiple LiteLLM_ModelTable records

        Parameters
        ----------
        data
            LiteLLM_ModelTable data to update the selected LiteLLM_ModelTable records to
        where
            Filter to select the LiteLLM_ModelTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ModelTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ModelTable records
        total = await LiteLLM_ModelTable.prisma().update_many(
            data={
                'updated_by': 'ehabfhegh'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z%LiteLLM_ModelTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ModelTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ModelTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ModelTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ModelTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ModelTable.prisma().count()

        # results: prisma.types.LiteLLM_ModelTableCountAggregateOutput
        results = await LiteLLM_ModelTable.prisma().count(
            select={
                '_all': True,
                'id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   F  r   zLiteLLM_ModelTableActions.count+types.LiteLLM_ModelTableCountAggregateInput,types.LiteLLM_ModelTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   5Optional[types.LiteLLM_ModelTableCountAggregateInput]8Union[int, types.LiteLLM_ModelTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ModelTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ModelTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ModelTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ModelTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ModelTable.prisma().count()

        # results: prisma.types.LiteLLM_ModelTableCountAggregateOutput
        results = await LiteLLM_ModelTable.prisma().count(
            select={
                '_all': True,
                'model_aliases': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z2LiteLLM_ModelTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   &LiteLLM_ModelTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )ai  Delete multiple LiteLLM_ModelTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ModelTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ModelTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ModelTable records
        total = await LiteLLM_ModelTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z%LiteLLM_ModelTableActions.delete_manyr   r   /List['types.LiteLLM_ModelTableScalarFieldKeys'].Optional['types.LiteLLM_ModelTableWhereInput']r   5Optional['types.LiteLLM_ModelTableAvgAggregateInput']r   5Optional['types.LiteLLM_ModelTableSumAggregateInput']r   5Optional['types.LiteLLM_ModelTableMinAggregateInput']r   5Optional['types.LiteLLM_ModelTableMaxAggregateInput']r   BOptional['types.LiteLLM_ModelTableScalarWhereWithAggregatesInput']r_   DOptional[Union[bool, 'types.LiteLLM_ModelTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ModelTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ModelTableScalarFieldKeys', 'types.SortOrder']]]]-List['types.LiteLLM_ModelTableGroupByOutput']c       
      
     r   )av  Group LiteLLM_ModelTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ModelTable fields to group records by
        where
            LiteLLM_ModelTable filter to select records
        take
            Limit the maximum number of LiteLLM_ModelTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ModelTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ModelTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ModelTable records by created_at values
        # and count how many records are in each group
        results = await LiteLLM_ModelTable.prisma().group_by(
            ['created_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z"LiteLLM_ModelTableActions.group_byr   r   r   r2   )rF   rt  rH   ru  r/   r%   )rF   rv  rW   rY   r/   r   )rg   rw  rH   ru  r/   rB   )rg   rw  rH   ru  r/   r%   r   )rv   rw   rx   rw   rg   rx  rz   ry  rH   ru  r|   rz  r~   r{  r/   r<   r   )rx   rw   rg   rx  rz   ry  rH   ru  r|   rz  r~   r{  r/   rB   )rx   rw   rg   rx  rz   ry  rH   ru  r|   rz  r~   r{  r/   r%   )rF   r|  rg   rw  rH   ru  r/   rB   )rg   rw  rF   r}  rH   ru  r/   r%   )rF   r~  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rx  rz   ry  r/   r   r   )r   r  rv   rw   rx   rw   rg   rx  rz   ry  r/   r  )r   r  rv   rw   rx   rw   rg   rx  rz   ry  r/   r  )rg   rx  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   rs  u  r   rs  c                   @  r'   ){LiteLLM_TeamTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z!LiteLLM_TeamTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_TeamTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_TeamTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_TeamTable WHERE team_id = $1',
            'bcajcajjbc',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z"LiteLLM_TeamTableActions.query_rawrB   c                   r=   )a   Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_TeamTable.prisma().query_first(
            'SELECT * FROM LiteLLM_TeamTable WHERE team_alias = $1',
            'bfdgheeegf',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z$LiteLLM_TeamTableActions.query_firstNrF   "types.LiteLLM_TeamTableCreateInputrH   (Optional[types.LiteLLM_TeamTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_TeamTable record.

        Parameters
        ----------
        data
            LiteLLM_TeamTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The created LiteLLM_TeamTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_TeamTable record from just the required fields
        litellm_teamtable = await LiteLLM_TeamTable.prisma().create(
            data={
                # data to create a LiteLLM_TeamTable record
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK        %zLiteLLM_TeamTableActions.createrV   8List[types.LiteLLM_TeamTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_TeamTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_TeamTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_TeamTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_TeamTable record
                },
                {
                    # data to create a LiteLLM_TeamTable record
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\         1	z$LiteLLM_TeamTableActions.create_manyrg   'types.LiteLLM_TeamTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_TeamTable record.

        Parameters
        ----------
        where
            LiteLLM_TeamTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The deleted LiteLLM_TeamTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teamtable = await LiteLLM_TeamTable.prisma().delete(
            where={
                'team_id': 'ececbijji',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ?  ro   zLiteLLM_TeamTableActions.deletec                   rp   )a  Find a unique LiteLLM_TeamTable record.

        Parameters
        ----------
        where
            LiteLLM_TeamTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The found LiteLLM_TeamTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teamtable = await LiteLLM_TeamTable.prisma().find_unique(
            where={
                'team_id': 'cbcfgdcdhf',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   s  rs   z$LiteLLM_TeamTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_TeamTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_TeamTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The found LiteLLM_TeamTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teamtable = await LiteLLM_TeamTable.prisma().find_unique_or_raise(
            where={
                'team_id': 'fdgjfbhia',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z-LiteLLM_TeamTableActions.find_unique_or_raiserv   rw   rx   +Optional[types.LiteLLM_TeamTableWhereInput]rz   1Optional[types.LiteLLM_TeamTableWhereUniqueInput]r|   _Optional[Union[types.LiteLLM_TeamTableOrderByInput, List[types.LiteLLM_TeamTableOrderByInput]]]r~   6Optional[List[types.LiteLLM_TeamTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_TeamTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_TeamTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_TeamTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model
        order
            Order the returned LiteLLM_TeamTable records by any field
        distinct
            Filter LiteLLM_TeamTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_TeamTable]
            The list of all LiteLLM_TeamTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_TeamTable records
        litellm_teamtables = await LiteLLM_TeamTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_TeamTable records ordered by the organization_id field
        litellm_teamtables = await LiteLLM_TeamTable.prisma().find_many(
            take=5,
            order={
                'organization_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z6LiteLLM_TeamTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r     r   z"LiteLLM_TeamTableActions.find_manyc           	   
     r   )a:  Find a single LiteLLM_TeamTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_TeamTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model
        order
            Order the returned LiteLLM_TeamTable records by any field
        distinct
            Filter LiteLLM_TeamTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The first LiteLLM_TeamTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_TeamTable record ordered by the object_permission_id field
        litellm_teamtable = await LiteLLM_TeamTable.prisma().find_first(
            skip=1,
            order={
                'object_permission_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z#LiteLLM_TeamTableActions.find_firstc              
     r   )at  Find a single LiteLLM_TeamTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_TeamTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model
        order
            Order the returned LiteLLM_TeamTable records by any field
        distinct
            Filter LiteLLM_TeamTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The first LiteLLM_TeamTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_TeamTable record ordered by the admins field
        litellm_teamtable = await LiteLLM_TeamTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'admins': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   a  r   z,LiteLLM_TeamTableActions.find_first_or_raise"types.LiteLLM_TeamTableUpdateInputc                   r   )a  Update a single LiteLLM_TeamTable record.

        Parameters
        ----------
        data
            LiteLLM_TeamTable record data specifying what to update
        where
            LiteLLM_TeamTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The updated LiteLLM_TeamTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_teamtable = await LiteLLM_TeamTable.prisma().update(
            where={
                'team_id': 'jcehcdchh',
            },
            data={
                # data to update the LiteLLM_TeamTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   zLiteLLM_TeamTableActions.update"types.LiteLLM_TeamTableUpsertInputc              	     r   )	ar  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_TeamTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamTable model

        Returns
        -------
        prisma.models.LiteLLM_TeamTable
            The created or updated LiteLLM_TeamTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teamtable = await LiteLLM_TeamTable.prisma().upsert(
            where={
                'team_id': 'bgcbjdhjcc',
            },
            data={
                'create': {
                    'team_id': 'bgcbjdhjcc',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r        .
zLiteLLM_TeamTableActions.upsert.types.LiteLLM_TeamTableUpdateManyMutationInput!types.LiteLLM_TeamTableWhereInputc                   r   )a&  Update multiple LiteLLM_TeamTable records

        Parameters
        ----------
        data
            LiteLLM_TeamTable data to update the selected LiteLLM_TeamTable records to
        where
            Filter to select the LiteLLM_TeamTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_TeamTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_TeamTable records
        total = await LiteLLM_TeamTable.prisma().update_many(
            data={
                'members': ['bieiidcabj']
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z$LiteLLM_TeamTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_TeamTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_TeamTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_TeamTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_TeamTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_TeamTable.prisma().count()

        # results: prisma.types.LiteLLM_TeamTableCountAggregateOutput
        results = await LiteLLM_TeamTable.prisma().count(
            select={
                '_all': True,
                'members_with_roles': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   @  r   zLiteLLM_TeamTableActions.count*types.LiteLLM_TeamTableCountAggregateInput+types.LiteLLM_TeamTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   y  r   4Optional[types.LiteLLM_TeamTableCountAggregateInput]7Union[int, types.LiteLLM_TeamTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_TeamTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_TeamTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_TeamTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_TeamTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_TeamTable.prisma().count()

        # results: prisma.types.LiteLLM_TeamTableCountAggregateOutput
        results = await LiteLLM_TeamTable.prisma().count(
            select={
                '_all': True,
                'metadata': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z1LiteLLM_TeamTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   %LiteLLM_TeamTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )ad  Delete multiple LiteLLM_TeamTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_TeamTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_TeamTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_TeamTable records
        total = await LiteLLM_TeamTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z$LiteLLM_TeamTableActions.delete_manyr   r   .List['types.LiteLLM_TeamTableScalarFieldKeys']-Optional['types.LiteLLM_TeamTableWhereInput']r   4Optional['types.LiteLLM_TeamTableAvgAggregateInput']r   4Optional['types.LiteLLM_TeamTableSumAggregateInput']r   4Optional['types.LiteLLM_TeamTableMinAggregateInput']r   4Optional['types.LiteLLM_TeamTableMaxAggregateInput']r   AOptional['types.LiteLLM_TeamTableScalarWhereWithAggregatesInput']r_   COptional[Union[bool, 'types.LiteLLM_TeamTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_TeamTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_TeamTableScalarFieldKeys', 'types.SortOrder']]]],List['types.LiteLLM_TeamTableGroupByOutput']c       
      
     r   )an  Group LiteLLM_TeamTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_TeamTable fields to group records by
        where
            LiteLLM_TeamTable filter to select records
        take
            Limit the maximum number of LiteLLM_TeamTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_TeamTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_TeamTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_TeamTable records by max_budget values
        # and count how many records are in each group
        results = await LiteLLM_TeamTable.prisma().group_by(
            ['max_budget'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z!LiteLLM_TeamTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  y      


&+3B762IFD=
:,8W,r  c                   @  r'   ){LiteLLM_ProjectTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   y  r8   z$LiteLLM_ProjectTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ProjectTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ProjectTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ProjectTable WHERE project_id = $1',
            'bjcbfcieaa',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   }  rA   z%LiteLLM_ProjectTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ProjectTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ProjectTable WHERE project_alias = $1',
            'cbaaechiej',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z'LiteLLM_ProjectTableActions.query_firstNrF   %types.LiteLLM_ProjectTableCreateInputrH   +Optional[types.LiteLLM_ProjectTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ProjectTable record.

        Parameters
        ----------
        data
            LiteLLM_ProjectTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The created LiteLLM_ProjectTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ProjectTable record from just the required fields
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().create(
            data={
                # data to create a LiteLLM_ProjectTable record
                'created_by': 'iejbeaaeg',
                'updated_by': 'jcibfcbhf',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK     rU   z"LiteLLM_ProjectTableActions.createrV   ;List[types.LiteLLM_ProjectTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ProjectTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ProjectTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ProjectTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ProjectTable record
                    'created_by': 'chdadcaga',
                    'updated_by': 'jicieifbh',
                },
                {
                    # data to create a LiteLLM_ProjectTable record
                    'created_by': 'fbahdheji',
                    'updated_by': 'cbbheiicgh',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z'LiteLLM_ProjectTableActions.create_manyrg   *types.LiteLLM_ProjectTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ProjectTable record.

        Parameters
        ----------
        where
            LiteLLM_ProjectTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The deleted LiteLLM_ProjectTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().delete(
            where={
                'project_id': 'beabjeejdg',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ?  ro   z"LiteLLM_ProjectTableActions.deletec                   rp   )a  Find a unique LiteLLM_ProjectTable record.

        Parameters
        ----------
        where
            LiteLLM_ProjectTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The found LiteLLM_ProjectTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().find_unique(
            where={
                'project_id': 'bcjhgahffd',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   s  rs   z'LiteLLM_ProjectTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_ProjectTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ProjectTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The found LiteLLM_ProjectTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().find_unique_or_raise(
            where={
                'project_id': 'fbjeiiffa',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z0LiteLLM_ProjectTableActions.find_unique_or_raiserv   rw   rx   .Optional[types.LiteLLM_ProjectTableWhereInput]rz   4Optional[types.LiteLLM_ProjectTableWhereUniqueInput]r|   eOptional[Union[types.LiteLLM_ProjectTableOrderByInput, List[types.LiteLLM_ProjectTableOrderByInput]]]r~   9Optional[List[types.LiteLLM_ProjectTableScalarFieldKeys]]c           	        r   )	a>  Find multiple LiteLLM_ProjectTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ProjectTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ProjectTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model
        order
            Order the returned LiteLLM_ProjectTable records by any field
        distinct
            Filter LiteLLM_ProjectTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ProjectTable]
            The list of all LiteLLM_ProjectTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ProjectTable records
        litellm_projecttables = await LiteLLM_ProjectTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ProjectTable records ordered by the description field
        litellm_projecttables = await LiteLLM_ProjectTable.prisma().find_many(
            take=5,
            order={
                'description': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z9LiteLLM_ProjectTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r     r   z%LiteLLM_ProjectTableActions.find_manyc           	   
     r   )a>  Find a single LiteLLM_ProjectTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ProjectTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model
        order
            Order the returned LiteLLM_ProjectTable records by any field
        distinct
            Filter LiteLLM_ProjectTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The first LiteLLM_ProjectTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ProjectTable record ordered by the team_id field
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().find_first(
            skip=1,
            order={
                'team_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z&LiteLLM_ProjectTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ProjectTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ProjectTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model
        order
            Order the returned LiteLLM_ProjectTable records by any field
        distinct
            Filter LiteLLM_ProjectTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The first LiteLLM_ProjectTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ProjectTable record ordered by the budget_id field
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'budget_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   a  r   z/LiteLLM_ProjectTableActions.find_first_or_raise%types.LiteLLM_ProjectTableUpdateInputc                   r   )a  Update a single LiteLLM_ProjectTable record.

        Parameters
        ----------
        data
            LiteLLM_ProjectTable record data specifying what to update
        where
            LiteLLM_ProjectTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The updated LiteLLM_ProjectTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().update(
            where={
                'project_id': 'jhgidcgbf',
            },
            data={
                # data to update the LiteLLM_ProjectTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z"LiteLLM_ProjectTableActions.update%types.LiteLLM_ProjectTableUpsertInputc              	     r   )	aH  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ProjectTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ProjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ProjectTable
            The created or updated LiteLLM_ProjectTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_projecttable = await LiteLLM_ProjectTable.prisma().upsert(
            where={
                'project_id': 'bgjgecfejc',
            },
            data={
                'create': {
                    'project_id': 'bgjgecfejc',
                    'created_by': 'fbahdheji',
                    'updated_by': 'cbbheiicgh',
                },
                'update': {
                    'created_by': 'fbahdheji',
                    'updated_by': 'cbbheiicgh',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r   z"LiteLLM_ProjectTableActions.upsert1types.LiteLLM_ProjectTableUpdateManyMutationInput$types.LiteLLM_ProjectTableWhereInputc                   r   )aG  Update multiple LiteLLM_ProjectTable records

        Parameters
        ----------
        data
            LiteLLM_ProjectTable data to update the selected LiteLLM_ProjectTable records to
        where
            Filter to select the LiteLLM_ProjectTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ProjectTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ProjectTable records
        total = await LiteLLM_ProjectTable.prisma().update_many(
            data={
                'metadata': Json({'bgjcgchib': True})
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z'LiteLLM_ProjectTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ProjectTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ProjectTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ProjectTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ProjectTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ProjectTable.prisma().count()

        # results: prisma.types.LiteLLM_ProjectTableCountAggregateOutput
        results = await LiteLLM_ProjectTable.prisma().count(
            select={
                '_all': True,
                'models': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   D  r   z!LiteLLM_ProjectTableActions.count-types.LiteLLM_ProjectTableCountAggregateInput.types.LiteLLM_ProjectTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   }  r   7Optional[types.LiteLLM_ProjectTableCountAggregateInput]:Union[int, types.LiteLLM_ProjectTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ProjectTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ProjectTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ProjectTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ProjectTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ProjectTable.prisma().count()

        # results: prisma.types.LiteLLM_ProjectTableCountAggregateOutput
        results = await LiteLLM_ProjectTable.prisma().count(
            select={
                '_all': True,
                'spend': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z4LiteLLM_ProjectTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   (LiteLLM_ProjectTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )as  Delete multiple LiteLLM_ProjectTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ProjectTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ProjectTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ProjectTable records
        total = await LiteLLM_ProjectTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z'LiteLLM_ProjectTableActions.delete_manyr   r   1List['types.LiteLLM_ProjectTableScalarFieldKeys']0Optional['types.LiteLLM_ProjectTableWhereInput']r   7Optional['types.LiteLLM_ProjectTableAvgAggregateInput']r   7Optional['types.LiteLLM_ProjectTableSumAggregateInput']r   7Optional['types.LiteLLM_ProjectTableMinAggregateInput']r   7Optional['types.LiteLLM_ProjectTableMaxAggregateInput']r   DOptional['types.LiteLLM_ProjectTableScalarWhereWithAggregatesInput']r_   FOptional[Union[bool, 'types.LiteLLM_ProjectTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ProjectTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ProjectTableScalarFieldKeys', 'types.SortOrder']]]]/List['types.LiteLLM_ProjectTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ProjectTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ProjectTable fields to group records by
        where
            LiteLLM_ProjectTable filter to select records
        take
            Limit the maximum number of LiteLLM_ProjectTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ProjectTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ProjectTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ProjectTable records by model_spend values
        # and count how many records are in each group
        results = await LiteLLM_ProjectTable.prisma().group_by(
            ['model_spend'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r      r   z$LiteLLM_ProjectTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  s  r   r  c                   @  r'   ){LiteLLM_DeletedTeamTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   }   r8   z(LiteLLM_DeletedTeamTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DeletedTeamTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DeletedTeamTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_DeletedTeamTable WHERE id = $1',
            'bacdaibgfa',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?      rA   z)LiteLLM_DeletedTeamTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DeletedTeamTable.prisma().query_first(
            'SELECT * FROM LiteLLM_DeletedTeamTable WHERE team_id = $1',
            'dchgibach',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD      rE   z+LiteLLM_DeletedTeamTableActions.query_firstNrF   )types.LiteLLM_DeletedTeamTableCreateInputrH   /Optional[types.LiteLLM_DeletedTeamTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_DeletedTeamTable record.

        Parameters
        ----------
        data
            LiteLLM_DeletedTeamTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The created LiteLLM_DeletedTeamTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DeletedTeamTable record from just the required fields
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().create(
            data={
                # data to create a LiteLLM_DeletedTeamTable record
                'team_id': 'fchheijjc',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK      ru   z&LiteLLM_DeletedTeamTableActions.createrV   ?List[types.LiteLLM_DeletedTeamTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DeletedTeamTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DeletedTeamTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DeletedTeamTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DeletedTeamTable record
                    'team_id': 'cacjdfhejh',
                },
                {
                    # data to create a LiteLLM_DeletedTeamTable record
                    'team_id': 'bdbifjhbbi',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\         3	z+LiteLLM_DeletedTeamTableActions.create_manyrg   .types.LiteLLM_DeletedTeamTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DeletedTeamTable record.

        Parameters
        ----------
        where
            LiteLLM_DeletedTeamTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The deleted LiteLLM_DeletedTeamTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().delete(
            where={
                'id': 'cbccbbcdfb',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   @!  ro   z&LiteLLM_DeletedTeamTableActions.deletec                   rp   )a  Find a unique LiteLLM_DeletedTeamTable record.

        Parameters
        ----------
        where
            LiteLLM_DeletedTeamTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The found LiteLLM_DeletedTeamTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().find_unique(
            where={
                'id': 'bacejedaca',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   t!  rs   z+LiteLLM_DeletedTeamTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_DeletedTeamTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DeletedTeamTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The found LiteLLM_DeletedTeamTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().find_unique_or_raise(
            where={
                'id': 'bhbhdahfaj',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   !  ru   z4LiteLLM_DeletedTeamTableActions.find_unique_or_raiserv   rw   rx   2Optional[types.LiteLLM_DeletedTeamTableWhereInput]rz   8Optional[types.LiteLLM_DeletedTeamTableWhereUniqueInput]r|   mOptional[Union[types.LiteLLM_DeletedTeamTableOrderByInput, List[types.LiteLLM_DeletedTeamTableOrderByInput]]]r~   =Optional[List[types.LiteLLM_DeletedTeamTableScalarFieldKeys]]c           	        r   )	at  Find multiple LiteLLM_DeletedTeamTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DeletedTeamTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DeletedTeamTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model
        order
            Order the returned LiteLLM_DeletedTeamTable records by any field
        distinct
            Filter LiteLLM_DeletedTeamTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DeletedTeamTable]
            The list of all LiteLLM_DeletedTeamTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DeletedTeamTable records
        litellm_deletedteamtables = await LiteLLM_DeletedTeamTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DeletedTeamTable records ordered by the team_alias field
        litellm_deletedteamtables = await LiteLLM_DeletedTeamTable.prisma().find_many(
            take=5,
            order={
                'team_alias': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   "  r   z=LiteLLM_DeletedTeamTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   !  r   z)LiteLLM_DeletedTeamTableActions.find_manyc           	   
     r   )av  Find a single LiteLLM_DeletedTeamTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedTeamTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model
        order
            Order the returned LiteLLM_DeletedTeamTable records by any field
        distinct
            Filter LiteLLM_DeletedTeamTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The first LiteLLM_DeletedTeamTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DeletedTeamTable record ordered by the organization_id field
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().find_first(
            skip=1,
            order={
                'organization_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   "  r   z*LiteLLM_DeletedTeamTableActions.find_firstc              
     r   )a  Find a single LiteLLM_DeletedTeamTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedTeamTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model
        order
            Order the returned LiteLLM_DeletedTeamTable records by any field
        distinct
            Filter LiteLLM_DeletedTeamTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The first LiteLLM_DeletedTeamTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DeletedTeamTable record ordered by the object_permission_id field
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'object_permission_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   b"  r   z3LiteLLM_DeletedTeamTableActions.find_first_or_raise)types.LiteLLM_DeletedTeamTableUpdateInputc                   r   )a$  Update a single LiteLLM_DeletedTeamTable record.

        Parameters
        ----------
        data
            LiteLLM_DeletedTeamTable record data specifying what to update
        where
            LiteLLM_DeletedTeamTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The updated LiteLLM_DeletedTeamTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().update(
            where={
                'id': 'bfjibceaec',
            },
            data={
                # data to update the LiteLLM_DeletedTeamTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   "  r   z&LiteLLM_DeletedTeamTableActions.update)types.LiteLLM_DeletedTeamTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DeletedTeamTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedTeamTable model

        Returns
        -------
        prisma.models.LiteLLM_DeletedTeamTable
            The created or updated LiteLLM_DeletedTeamTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedteamtable = await LiteLLM_DeletedTeamTable.prisma().upsert(
            where={
                'id': 'ibhgcdbgd',
            },
            data={
                'create': {
                    'id': 'ibhgcdbgd',
                    'team_id': 'bdbifjhbbi',
                },
                'update': {
                    'team_id': 'bdbifjhbbi',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   "     0
z&LiteLLM_DeletedTeamTableActions.upsert5types.LiteLLM_DeletedTeamTableUpdateManyMutationInput(types.LiteLLM_DeletedTeamTableWhereInputc                   r   )aV  Update multiple LiteLLM_DeletedTeamTable records

        Parameters
        ----------
        data
            LiteLLM_DeletedTeamTable data to update the selected LiteLLM_DeletedTeamTable records to
        where
            Filter to select the LiteLLM_DeletedTeamTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_DeletedTeamTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DeletedTeamTable records
        total = await LiteLLM_DeletedTeamTable.prisma().update_many(
            data={
                'admins': ['badaffhddg']
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   #  r   z+LiteLLM_DeletedTeamTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DeletedTeamTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DeletedTeamTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedTeamTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DeletedTeamTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DeletedTeamTable.prisma().count()

        # results: prisma.types.LiteLLM_DeletedTeamTableCountAggregateOutput
        results = await LiteLLM_DeletedTeamTable.prisma().count(
            select={
                '_all': True,
                'members': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   C#  r   z%LiteLLM_DeletedTeamTableActions.count1types.LiteLLM_DeletedTeamTableCountAggregateInput2types.LiteLLM_DeletedTeamTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   |#  r   ;Optional[types.LiteLLM_DeletedTeamTableCountAggregateInput]>Union[int, types.LiteLLM_DeletedTeamTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DeletedTeamTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DeletedTeamTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedTeamTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DeletedTeamTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DeletedTeamTable.prisma().count()

        # results: prisma.types.LiteLLM_DeletedTeamTableCountAggregateOutput
        results = await LiteLLM_DeletedTeamTable.prisma().count(
            select={
                '_all': True,
                'members_with_roles': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   #  r   z8LiteLLM_DeletedTeamTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   ,LiteLLM_DeletedTeamTableCountAggregateOutputr   r5   r5   r6   r_   #  r   c                   r   )a  Delete multiple LiteLLM_DeletedTeamTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_DeletedTeamTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DeletedTeamTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DeletedTeamTable records
        total = await LiteLLM_DeletedTeamTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   #  r   z+LiteLLM_DeletedTeamTableActions.delete_manyr   r   5List['types.LiteLLM_DeletedTeamTableScalarFieldKeys']4Optional['types.LiteLLM_DeletedTeamTableWhereInput']r   ;Optional['types.LiteLLM_DeletedTeamTableAvgAggregateInput']r   ;Optional['types.LiteLLM_DeletedTeamTableSumAggregateInput']r   ;Optional['types.LiteLLM_DeletedTeamTableMinAggregateInput']r   ;Optional['types.LiteLLM_DeletedTeamTableMaxAggregateInput']r   HOptional['types.LiteLLM_DeletedTeamTableScalarWhereWithAggregatesInput']r_   JOptional[Union[bool, 'types.LiteLLM_DeletedTeamTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DeletedTeamTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DeletedTeamTableScalarFieldKeys', 'types.SortOrder']]]]3List['types.LiteLLM_DeletedTeamTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_DeletedTeamTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DeletedTeamTable fields to group records by
        where
            LiteLLM_DeletedTeamTable filter to select records
        take
            Limit the maximum number of LiteLLM_DeletedTeamTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DeletedTeamTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_DeletedTeamTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DeletedTeamTable records by metadata values
        # and count how many records are in each group
        results = await LiteLLM_DeletedTeamTable.prisma().group_by(
            ['metadata'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   $  r   z(LiteLLM_DeletedTeamTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  w       


&+4D762IFD=
<,8W,r  c                   @  r'   ){LiteLLM_UserTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   |$  r8   z!LiteLLM_UserTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_UserTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_UserTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_UserTable WHERE user_id = $1',
            'bbdbfcfihd',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   $  rA   z"LiteLLM_UserTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_UserTable.prisma().query_first(
            'SELECT * FROM LiteLLM_UserTable WHERE user_alias = $1',
            'cbagggbji',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   $  rE   z$LiteLLM_UserTableActions.query_firstNrF   "types.LiteLLM_UserTableCreateInputrH   (Optional[types.LiteLLM_UserTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_UserTable record.

        Parameters
        ----------
        data
            LiteLLM_UserTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The created LiteLLM_UserTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_UserTable record from just the required fields
        litellm_usertable = await LiteLLM_UserTable.prisma().create(
            data={
                # data to create a LiteLLM_UserTable record
                'user_id': 'bchgafhjed',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   $  ru   zLiteLLM_UserTableActions.createrV   8List[types.LiteLLM_UserTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a\  Create multiple LiteLLM_UserTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_UserTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_UserTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_UserTable record
                    'user_id': 'heffgjdei',
                },
                {
                    # data to create a LiteLLM_UserTable record
                    'user_id': 'dahihgbeb',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   $  r  z$LiteLLM_UserTableActions.create_manyrg   'types.LiteLLM_UserTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_UserTable record.

        Parameters
        ----------
        where
            LiteLLM_UserTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The deleted LiteLLM_UserTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usertable = await LiteLLM_UserTable.prisma().delete(
            where={
                'user_id': 'bgheaejbcc',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ?%  ro   zLiteLLM_UserTableActions.deletec                   rp   )a  Find a unique LiteLLM_UserTable record.

        Parameters
        ----------
        where
            LiteLLM_UserTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The found LiteLLM_UserTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usertable = await LiteLLM_UserTable.prisma().find_unique(
            where={
                'user_id': 'bfcgifeged',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   s%  rs   z$LiteLLM_UserTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_UserTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_UserTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The found LiteLLM_UserTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usertable = await LiteLLM_UserTable.prisma().find_unique_or_raise(
            where={
                'user_id': 'jfiahhbae',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   %  ru   z-LiteLLM_UserTableActions.find_unique_or_raiserv   rw   rx   +Optional[types.LiteLLM_UserTableWhereInput]rz   1Optional[types.LiteLLM_UserTableWhereUniqueInput]r|   _Optional[Union[types.LiteLLM_UserTableOrderByInput, List[types.LiteLLM_UserTableOrderByInput]]]r~   6Optional[List[types.LiteLLM_UserTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_UserTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_UserTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_UserTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model
        order
            Order the returned LiteLLM_UserTable records by any field
        distinct
            Filter LiteLLM_UserTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_UserTable]
            The list of all LiteLLM_UserTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_UserTable records
        litellm_usertables = await LiteLLM_UserTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_UserTable records ordered by the team_id field
        litellm_usertables = await LiteLLM_UserTable.prisma().find_many(
            take=5,
            order={
                'team_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   &  r   z6LiteLLM_UserTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   %  r   z"LiteLLM_UserTableActions.find_manyc           	   
     r   )a(  Find a single LiteLLM_UserTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_UserTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model
        order
            Order the returned LiteLLM_UserTable records by any field
        distinct
            Filter LiteLLM_UserTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The first LiteLLM_UserTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_UserTable record ordered by the sso_user_id field
        litellm_usertable = await LiteLLM_UserTable.prisma().find_first(
            skip=1,
            order={
                'sso_user_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   &  r   z#LiteLLM_UserTableActions.find_firstc              
     r   )a  Find a single LiteLLM_UserTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_UserTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model
        order
            Order the returned LiteLLM_UserTable records by any field
        distinct
            Filter LiteLLM_UserTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The first LiteLLM_UserTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_UserTable record ordered by the organization_id field
        litellm_usertable = await LiteLLM_UserTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'organization_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   a&  r   z,LiteLLM_UserTableActions.find_first_or_raise"types.LiteLLM_UserTableUpdateInputc                   r   )a  Update a single LiteLLM_UserTable record.

        Parameters
        ----------
        data
            LiteLLM_UserTable record data specifying what to update
        where
            LiteLLM_UserTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The updated LiteLLM_UserTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_usertable = await LiteLLM_UserTable.prisma().update(
            where={
                'user_id': 'bfbdafajcb',
            },
            data={
                # data to update the LiteLLM_UserTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   &  r   zLiteLLM_UserTableActions.update"types.LiteLLM_UserTableUpsertInputc              	     r   )	ap  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_UserTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserTable model

        Returns
        -------
        prisma.models.LiteLLM_UserTable
            The created or updated LiteLLM_UserTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usertable = await LiteLLM_UserTable.prisma().upsert(
            where={
                'user_id': 'caeghehde',
            },
            data={
                'create': {
                    'user_id': 'caeghehde',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   &  r  zLiteLLM_UserTableActions.upsert.types.LiteLLM_UserTableUpdateManyMutationInput!types.LiteLLM_UserTableWhereInputc                   r   )a1  Update multiple LiteLLM_UserTable records

        Parameters
        ----------
        data
            LiteLLM_UserTable data to update the selected LiteLLM_UserTable records to
        where
            Filter to select the LiteLLM_UserTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_UserTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_UserTable records
        total = await LiteLLM_UserTable.prisma().update_many(
            data={
                'object_permission_id': 'caghgfbggd'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   '  r   z$LiteLLM_UserTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_UserTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_UserTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_UserTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_UserTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_UserTable.prisma().count()

        # results: prisma.types.LiteLLM_UserTableCountAggregateOutput
        results = await LiteLLM_UserTable.prisma().count(
            select={
                '_all': True,
                'password': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   @'  r   zLiteLLM_UserTableActions.count*types.LiteLLM_UserTableCountAggregateInput+types.LiteLLM_UserTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   y'  r   4Optional[types.LiteLLM_UserTableCountAggregateInput]7Union[int, types.LiteLLM_UserTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_UserTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_UserTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_UserTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_UserTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_UserTable.prisma().count()

        # results: prisma.types.LiteLLM_UserTableCountAggregateOutput
        results = await LiteLLM_UserTable.prisma().count(
            select={
                '_all': True,
                'teams': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   '  r   z1LiteLLM_UserTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   %LiteLLM_UserTableCountAggregateOutputr   r5   r5   r6   r_   '  r   c                   r   )ad  Delete multiple LiteLLM_UserTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_UserTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_UserTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_UserTable records
        total = await LiteLLM_UserTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   '  r   z$LiteLLM_UserTableActions.delete_manyr   r   .List['types.LiteLLM_UserTableScalarFieldKeys']-Optional['types.LiteLLM_UserTableWhereInput']r   4Optional['types.LiteLLM_UserTableAvgAggregateInput']r   4Optional['types.LiteLLM_UserTableSumAggregateInput']r   4Optional['types.LiteLLM_UserTableMinAggregateInput']r   4Optional['types.LiteLLM_UserTableMaxAggregateInput']r   AOptional['types.LiteLLM_UserTableScalarWhereWithAggregatesInput']r_   COptional[Union[bool, 'types.LiteLLM_UserTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_UserTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_UserTableScalarFieldKeys', 'types.SortOrder']]]],List['types.LiteLLM_UserTableGroupByOutput']c       
      
     r   )al  Group LiteLLM_UserTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_UserTable fields to group records by
        where
            LiteLLM_UserTable filter to select records
        take
            Limit the maximum number of LiteLLM_UserTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_UserTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_UserTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_UserTable records by user_role values
        # and count how many records are in each group
        results = await LiteLLM_UserTable.prisma().group_by(
            ['user_role'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   (  r   z!LiteLLM_UserTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r   r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  v$      


&+4D762IFD=
:,8W,r  c                   @  r'   ){$LiteLLM_ObjectPermissionTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   y(  r8   z-LiteLLM_ObjectPermissionTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ObjectPermissionTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ObjectPermissionTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ObjectPermissionTable WHERE object_permission_id = $1',
            'bbidjbbjaa',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   }(  rA   z.LiteLLM_ObjectPermissionTableActions.query_rawrB   c                   r=   )a'  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ObjectPermissionTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ObjectPermissionTable WHERE mcp_servers = $1',
            ['bfijhaejdd'],
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   (  rE   z0LiteLLM_ObjectPermissionTableActions.query_firstNrF   .types.LiteLLM_ObjectPermissionTableCreateInputrH   4Optional[types.LiteLLM_ObjectPermissionTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ObjectPermissionTable record.

        Parameters
        ----------
        data
            LiteLLM_ObjectPermissionTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The created LiteLLM_ObjectPermissionTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ObjectPermissionTable record from just the required fields
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().create(
            data={
                # data to create a LiteLLM_ObjectPermissionTable record
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   (  r  z+LiteLLM_ObjectPermissionTableActions.createrV   DList[types.LiteLLM_ObjectPermissionTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a@  Create multiple LiteLLM_ObjectPermissionTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ObjectPermissionTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ObjectPermissionTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ObjectPermissionTable record
                },
                {
                    # data to create a LiteLLM_ObjectPermissionTable record
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   (  r  z0LiteLLM_ObjectPermissionTableActions.create_manyrg   3types.LiteLLM_ObjectPermissionTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ObjectPermissionTable record.

        Parameters
        ----------
        where
            LiteLLM_ObjectPermissionTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The deleted LiteLLM_ObjectPermissionTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().delete(
            where={
                'object_permission_id': 'bcedehfiji',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   9)  ro   z+LiteLLM_ObjectPermissionTableActions.deletec                   rp   )a  Find a unique LiteLLM_ObjectPermissionTable record.

        Parameters
        ----------
        where
            LiteLLM_ObjectPermissionTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The found LiteLLM_ObjectPermissionTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().find_unique(
            where={
                'object_permission_id': 'bdgjicijhb',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   m)  rs   z0LiteLLM_ObjectPermissionTableActions.find_uniquec                   rJ   )aA  Find a unique LiteLLM_ObjectPermissionTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ObjectPermissionTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The found LiteLLM_ObjectPermissionTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().find_unique_or_raise(
            where={
                'object_permission_id': 'bghifjdeia',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   )  ru   z9LiteLLM_ObjectPermissionTableActions.find_unique_or_raiserv   rw   rx   7Optional[types.LiteLLM_ObjectPermissionTableWhereInput]rz   =Optional[types.LiteLLM_ObjectPermissionTableWhereUniqueInput]r|   wOptional[Union[types.LiteLLM_ObjectPermissionTableOrderByInput, List[types.LiteLLM_ObjectPermissionTableOrderByInput]]]r~   BOptional[List[types.LiteLLM_ObjectPermissionTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_ObjectPermissionTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ObjectPermissionTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ObjectPermissionTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model
        order
            Order the returned LiteLLM_ObjectPermissionTable records by any field
        distinct
            Filter LiteLLM_ObjectPermissionTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ObjectPermissionTable]
            The list of all LiteLLM_ObjectPermissionTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ObjectPermissionTable records
        litellm_objectpermissiontables = await LiteLLM_ObjectPermissionTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ObjectPermissionTable records ordered by the mcp_access_groups field
        litellm_objectpermissiontables = await LiteLLM_ObjectPermissionTable.prisma().find_many(
            take=5,
            order={
                'mcp_access_groups': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   *  r   zBLiteLLM_ObjectPermissionTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   )  r   z.LiteLLM_ObjectPermissionTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_ObjectPermissionTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ObjectPermissionTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model
        order
            Order the returned LiteLLM_ObjectPermissionTable records by any field
        distinct
            Filter LiteLLM_ObjectPermissionTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The first LiteLLM_ObjectPermissionTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ObjectPermissionTable record ordered by the mcp_tool_permissions field
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().find_first(
            skip=1,
            order={
                'mcp_tool_permissions': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   *  r   z/LiteLLM_ObjectPermissionTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ObjectPermissionTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ObjectPermissionTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model
        order
            Order the returned LiteLLM_ObjectPermissionTable records by any field
        distinct
            Filter LiteLLM_ObjectPermissionTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The first LiteLLM_ObjectPermissionTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ObjectPermissionTable record ordered by the vector_stores field
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'vector_stores': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   [*  r   z8LiteLLM_ObjectPermissionTableActions.find_first_or_raise.types.LiteLLM_ObjectPermissionTableUpdateInputc                   r   )ab  Update a single LiteLLM_ObjectPermissionTable record.

        Parameters
        ----------
        data
            LiteLLM_ObjectPermissionTable record data specifying what to update
        where
            LiteLLM_ObjectPermissionTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The updated LiteLLM_ObjectPermissionTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().update(
            where={
                'object_permission_id': 'eadfcbbcb',
            },
            data={
                # data to update the LiteLLM_ObjectPermissionTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   *  r   z+LiteLLM_ObjectPermissionTableActions.update.types.LiteLLM_ObjectPermissionTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ObjectPermissionTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ObjectPermissionTable model

        Returns
        -------
        prisma.models.LiteLLM_ObjectPermissionTable
            The created or updated LiteLLM_ObjectPermissionTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_objectpermissiontable = await LiteLLM_ObjectPermissionTable.prisma().upsert(
            where={
                'object_permission_id': 'geihgahba',
            },
            data={
                'create': {
                    'object_permission_id': 'geihgahba',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   *  r  z+LiteLLM_ObjectPermissionTableActions.upsert:types.LiteLLM_ObjectPermissionTableUpdateManyMutationInput-types.LiteLLM_ObjectPermissionTableWhereInputc                   r   )ax  Update multiple LiteLLM_ObjectPermissionTable records

        Parameters
        ----------
        data
            LiteLLM_ObjectPermissionTable data to update the selected LiteLLM_ObjectPermissionTable records to
        where
            Filter to select the LiteLLM_ObjectPermissionTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ObjectPermissionTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ObjectPermissionTable records
        total = await LiteLLM_ObjectPermissionTable.prisma().update_many(
            data={
                'agents': ['gahdcdhbj']
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   +  r   z0LiteLLM_ObjectPermissionTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ObjectPermissionTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ObjectPermissionTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ObjectPermissionTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ObjectPermissionTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ObjectPermissionTable.prisma().count()

        # results: prisma.types.LiteLLM_ObjectPermissionTableCountAggregateOutput
        results = await LiteLLM_ObjectPermissionTable.prisma().count(
            select={
                '_all': True,
                'agent_access_groups': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   :+  r   z*LiteLLM_ObjectPermissionTableActions.count6types.LiteLLM_ObjectPermissionTableCountAggregateInput7types.LiteLLM_ObjectPermissionTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   s+  r   @Optional[types.LiteLLM_ObjectPermissionTableCountAggregateInput]CUnion[int, types.LiteLLM_ObjectPermissionTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ObjectPermissionTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ObjectPermissionTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ObjectPermissionTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ObjectPermissionTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ObjectPermissionTable.prisma().count()

        # results: prisma.types.LiteLLM_ObjectPermissionTableCountAggregateOutput
        results = await LiteLLM_ObjectPermissionTable.prisma().count(
            select={
                '_all': True,
                'blocked_tools': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   +  r   z=LiteLLM_ObjectPermissionTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   1LiteLLM_ObjectPermissionTableCountAggregateOutputr   r5   r5   r6   r_   ~+  r   c                   r   )a  Delete multiple LiteLLM_ObjectPermissionTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ObjectPermissionTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ObjectPermissionTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ObjectPermissionTable records
        total = await LiteLLM_ObjectPermissionTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   +  r   z0LiteLLM_ObjectPermissionTableActions.delete_manyr   r   :List['types.LiteLLM_ObjectPermissionTableScalarFieldKeys']9Optional['types.LiteLLM_ObjectPermissionTableWhereInput']r   @Optional['types.LiteLLM_ObjectPermissionTableAvgAggregateInput']r   @Optional['types.LiteLLM_ObjectPermissionTableSumAggregateInput']r   @Optional['types.LiteLLM_ObjectPermissionTableMinAggregateInput']r   @Optional['types.LiteLLM_ObjectPermissionTableMaxAggregateInput']r   MOptional['types.LiteLLM_ObjectPermissionTableScalarWhereWithAggregatesInput']r_   OOptional[Union[bool, 'types.LiteLLM_ObjectPermissionTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ObjectPermissionTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ObjectPermissionTableScalarFieldKeys', 'types.SortOrder']]]]8List['types.LiteLLM_ObjectPermissionTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ObjectPermissionTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ObjectPermissionTable fields to group records by
        where
            LiteLLM_ObjectPermissionTable filter to select records
        take
            Limit the maximum number of LiteLLM_ObjectPermissionTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ObjectPermissionTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ObjectPermissionTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ObjectPermissionTable records by object_permission_id values
        # and count how many records are in each group
        results = await LiteLLM_ObjectPermissionTable.prisma().group_by(
            ['object_permission_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   +  r   z-LiteLLM_ObjectPermissionTableActions.group_byr   r   r   r2   )rF   r  rH   r	  r/   r%   )rF   r
  rW   rY   r/   r   )rg   r  rH   r	  r/   rB   )rg   r  rH   r	  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r	  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r	  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r	  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r	  r/   rB   )rg   r  rF   r  rH   r	  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r   r|   r!  r/   r"  r   r5   r5   r5   r6   r  s(  r  r  c                   @  r'   ){LiteLLM_MCPServerTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   s,  r8   z&LiteLLM_MCPServerTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_MCPServerTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_MCPServerTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_MCPServerTable WHERE server_id = $1',
            'begiijahea',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   w,  rA   z'LiteLLM_MCPServerTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_MCPServerTable.prisma().query_first(
            'SELECT * FROM LiteLLM_MCPServerTable WHERE server_name = $1',
            'gcjadjaaf',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   ,  rE   z)LiteLLM_MCPServerTableActions.query_firstNrF   'types.LiteLLM_MCPServerTableCreateInputrH   -Optional[types.LiteLLM_MCPServerTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_MCPServerTable record.

        Parameters
        ----------
        data
            LiteLLM_MCPServerTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The created LiteLLM_MCPServerTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_MCPServerTable record from just the required fields
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().create(
            data={
                # data to create a LiteLLM_MCPServerTable record
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   ,  r  z$LiteLLM_MCPServerTableActions.createrV   =List[types.LiteLLM_MCPServerTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_MCPServerTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_MCPServerTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_MCPServerTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_MCPServerTable record
                },
                {
                    # data to create a LiteLLM_MCPServerTable record
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   ,  r  z)LiteLLM_MCPServerTableActions.create_manyrg   ,types.LiteLLM_MCPServerTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_MCPServerTable record.

        Parameters
        ----------
        where
            LiteLLM_MCPServerTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The deleted LiteLLM_MCPServerTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().delete(
            where={
                'server_id': 'bcbebgiaic',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   3-  ro   z$LiteLLM_MCPServerTableActions.deletec                   rp   )a  Find a unique LiteLLM_MCPServerTable record.

        Parameters
        ----------
        where
            LiteLLM_MCPServerTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The found LiteLLM_MCPServerTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().find_unique(
            where={
                'server_id': 'ijigbdcbj',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   g-  rs   z)LiteLLM_MCPServerTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_MCPServerTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_MCPServerTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The found LiteLLM_MCPServerTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().find_unique_or_raise(
            where={
                'server_id': 'gfidhicai',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   -  ru   z2LiteLLM_MCPServerTableActions.find_unique_or_raiserv   rw   rx   0Optional[types.LiteLLM_MCPServerTableWhereInput]rz   6Optional[types.LiteLLM_MCPServerTableWhereUniqueInput]r|   iOptional[Union[types.LiteLLM_MCPServerTableOrderByInput, List[types.LiteLLM_MCPServerTableOrderByInput]]]r~   ;Optional[List[types.LiteLLM_MCPServerTableScalarFieldKeys]]c           	        r   )	aN  Find multiple LiteLLM_MCPServerTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_MCPServerTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_MCPServerTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model
        order
            Order the returned LiteLLM_MCPServerTable records by any field
        distinct
            Filter LiteLLM_MCPServerTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_MCPServerTable]
            The list of all LiteLLM_MCPServerTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_MCPServerTable records
        litellm_mcpservertables = await LiteLLM_MCPServerTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_MCPServerTable records ordered by the alias field
        litellm_mcpservertables = await LiteLLM_MCPServerTable.prisma().find_many(
            take=5,
            order={
                'alias': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   .  r   z;LiteLLM_MCPServerTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   -  r   z'LiteLLM_MCPServerTableActions.find_manyc           	   
     r   )aZ  Find a single LiteLLM_MCPServerTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_MCPServerTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model
        order
            Order the returned LiteLLM_MCPServerTable records by any field
        distinct
            Filter LiteLLM_MCPServerTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The first LiteLLM_MCPServerTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_MCPServerTable record ordered by the description field
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().find_first(
            skip=1,
            order={
                'description': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   .  r   z(LiteLLM_MCPServerTableActions.find_firstc              
     r   )a  Find a single LiteLLM_MCPServerTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_MCPServerTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model
        order
            Order the returned LiteLLM_MCPServerTable records by any field
        distinct
            Filter LiteLLM_MCPServerTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The first LiteLLM_MCPServerTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_MCPServerTable record ordered by the url field
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'url': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   U.  r   z1LiteLLM_MCPServerTableActions.find_first_or_raise'types.LiteLLM_MCPServerTableUpdateInputc                   r   )a  Update a single LiteLLM_MCPServerTable record.

        Parameters
        ----------
        data
            LiteLLM_MCPServerTable record data specifying what to update
        where
            LiteLLM_MCPServerTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The updated LiteLLM_MCPServerTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().update(
            where={
                'server_id': 'jfegcaafh',
            },
            data={
                # data to update the LiteLLM_MCPServerTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   .  r   z$LiteLLM_MCPServerTableActions.update'types.LiteLLM_MCPServerTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_MCPServerTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPServerTable model

        Returns
        -------
        prisma.models.LiteLLM_MCPServerTable
            The created or updated LiteLLM_MCPServerTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpservertable = await LiteLLM_MCPServerTable.prisma().upsert(
            where={
                'server_id': 'bcbeiajjfa',
            },
            data={
                'create': {
                    'server_id': 'bcbeiajjfa',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   .  r  z$LiteLLM_MCPServerTableActions.upsert3types.LiteLLM_MCPServerTableUpdateManyMutationInput&types.LiteLLM_MCPServerTableWhereInputc                   r   )aI  Update multiple LiteLLM_MCPServerTable records

        Parameters
        ----------
        data
            LiteLLM_MCPServerTable data to update the selected LiteLLM_MCPServerTable records to
        where
            Filter to select the LiteLLM_MCPServerTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_MCPServerTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_MCPServerTable records
        total = await LiteLLM_MCPServerTable.prisma().update_many(
            data={
                'spec_path': 'baehicaajf'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   /  r   z)LiteLLM_MCPServerTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_MCPServerTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_MCPServerTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_MCPServerTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_MCPServerTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_MCPServerTable.prisma().count()

        # results: prisma.types.LiteLLM_MCPServerTableCountAggregateOutput
        results = await LiteLLM_MCPServerTable.prisma().count(
            select={
                '_all': True,
                'transport': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   4/  r   z#LiteLLM_MCPServerTableActions.count/types.LiteLLM_MCPServerTableCountAggregateInput0types.LiteLLM_MCPServerTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   m/  r   9Optional[types.LiteLLM_MCPServerTableCountAggregateInput]<Union[int, types.LiteLLM_MCPServerTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_MCPServerTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_MCPServerTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_MCPServerTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_MCPServerTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_MCPServerTable.prisma().count()

        # results: prisma.types.LiteLLM_MCPServerTableCountAggregateOutput
        results = await LiteLLM_MCPServerTable.prisma().count(
            select={
                '_all': True,
                'auth_type': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   /  r   z6LiteLLM_MCPServerTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   *LiteLLM_MCPServerTableCountAggregateOutputr   r5   r5   r6   r_   x/  r   c                   r   )a}  Delete multiple LiteLLM_MCPServerTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_MCPServerTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_MCPServerTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_MCPServerTable records
        total = await LiteLLM_MCPServerTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   /  r   z)LiteLLM_MCPServerTableActions.delete_manyr   r   3List['types.LiteLLM_MCPServerTableScalarFieldKeys']2Optional['types.LiteLLM_MCPServerTableWhereInput']r   9Optional['types.LiteLLM_MCPServerTableAvgAggregateInput']r   9Optional['types.LiteLLM_MCPServerTableSumAggregateInput']r   9Optional['types.LiteLLM_MCPServerTableMinAggregateInput']r   9Optional['types.LiteLLM_MCPServerTableMaxAggregateInput']r   FOptional['types.LiteLLM_MCPServerTableScalarWhereWithAggregatesInput']r_   HOptional[Union[bool, 'types.LiteLLM_MCPServerTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_MCPServerTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_MCPServerTableScalarFieldKeys', 'types.SortOrder']]]]1List['types.LiteLLM_MCPServerTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_MCPServerTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_MCPServerTable fields to group records by
        where
            LiteLLM_MCPServerTable filter to select records
        take
            Limit the maximum number of LiteLLM_MCPServerTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_MCPServerTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_MCPServerTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_MCPServerTable records by credentials values
        # and count how many records are in each group
        results = await LiteLLM_MCPServerTable.prisma().group_by(
            ['credentials'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   /  r   z&LiteLLM_MCPServerTableActions.group_byr   r   r   r2   )rF   r$  rH   r%  r/   r%   )rF   r&  rW   rY   r/   r   )rg   r'  rH   r%  r/   rB   )rg   r'  rH   r%  r/   r%   r   )rv   rw   rx   rw   rg   r(  rz   r)  rH   r%  r|   r*  r~   r+  r/   r<   r   )rx   rw   rg   r(  rz   r)  rH   r%  r|   r*  r~   r+  r/   rB   )rx   rw   rg   r(  rz   r)  rH   r%  r|   r*  r~   r+  r/   r%   )rF   r,  rg   r'  rH   r%  r/   rB   )rg   r'  rF   r-  rH   r%  r/   r%   )rF   r.  rg   r/  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r(  rz   r)  r/   r   r   )r   r0  rv   rw   rx   rw   rg   r(  rz   r)  r/   r1  )r   r2  rv   rw   rx   rw   rg   r(  rz   r)  r/   r3  )rg   r(  r/   r   )r   r5  rg   r6  rv   rw   rx   rw   r   r7  r   r8  r   r9  r   r:  r   r;  r_   r<  r|   r=  r/   r>  r   r5   r5   r5   r6   r#  m,  r  r#  c                   @  r'   ){!LiteLLM_MCPUserCredentialsActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   m0  r8   z*LiteLLM_MCPUserCredentialsActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_MCPUserCredentials]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_MCPUserCredentials.prisma().query_raw(
            'SELECT * FROM LiteLLM_MCPUserCredentials WHERE id = $1',
            'bdachdeiga',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   q0  rA   z+LiteLLM_MCPUserCredentialsActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_MCPUserCredentials.prisma().query_first(
            'SELECT * FROM LiteLLM_MCPUserCredentials WHERE user_id = $1',
            'ijdafccef',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   0  rE   z-LiteLLM_MCPUserCredentialsActions.query_firstNrF   +types.LiteLLM_MCPUserCredentialsCreateInputrH   1Optional[types.LiteLLM_MCPUserCredentialsInclude]r%   c                   rJ   )ac  Create a new LiteLLM_MCPUserCredentials record.

        Parameters
        ----------
        data
            LiteLLM_MCPUserCredentials record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The created LiteLLM_MCPUserCredentials record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_MCPUserCredentials record from just the required fields
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().create(
            data={
                # data to create a LiteLLM_MCPUserCredentials record
                'user_id': 'ciaaiddag',
                'server_id': 'fejggijff',
                'credential_b64': 'hghjaaai',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   0     (z(LiteLLM_MCPUserCredentialsActions.createrV   AList[types.LiteLLM_MCPUserCredentialsCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	aN  Create multiple LiteLLM_MCPUserCredentials records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_MCPUserCredentials record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_MCPUserCredentials.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_MCPUserCredentials record
                    'user_id': 'cajicjjdef',
                    'server_id': 'cefjaadec',
                    'credential_b64': 'ibbigdigd',
                },
                {
                    # data to create a LiteLLM_MCPUserCredentials record
                    'user_id': 'bdiiiabbii',
                    'server_id': 'hfcfhhadh',
                    'credential_b64': 'bbihggdcji',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   0     7	z-LiteLLM_MCPUserCredentialsActions.create_manyrg   0types.LiteLLM_MCPUserCredentialsWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_MCPUserCredentials record.

        Parameters
        ----------
        where
            LiteLLM_MCPUserCredentials filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The deleted LiteLLM_MCPUserCredentials record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().delete(
            where={
                'id': 'hgjgibdgd',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   61  ro   z(LiteLLM_MCPUserCredentialsActions.deletec                   rp   )a  Find a unique LiteLLM_MCPUserCredentials record.

        Parameters
        ----------
        where
            LiteLLM_MCPUserCredentials filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The found LiteLLM_MCPUserCredentials record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().find_unique(
            where={
                'id': 'bcbecjfice',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   j1  rs   z-LiteLLM_MCPUserCredentialsActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_MCPUserCredentials record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_MCPUserCredentials filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The found LiteLLM_MCPUserCredentials record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().find_unique_or_raise(
            where={
                'id': 'bacbebhjjd',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   1  ru   z6LiteLLM_MCPUserCredentialsActions.find_unique_or_raiserv   rw   rx   4Optional[types.LiteLLM_MCPUserCredentialsWhereInput]rz   :Optional[types.LiteLLM_MCPUserCredentialsWhereUniqueInput]r|   qOptional[Union[types.LiteLLM_MCPUserCredentialsOrderByInput, List[types.LiteLLM_MCPUserCredentialsOrderByInput]]]r~   ?Optional[List[types.LiteLLM_MCPUserCredentialsScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_MCPUserCredentials records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_MCPUserCredentials records returned
        skip
            Ignore the first N results
        where
            LiteLLM_MCPUserCredentials filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model
        order
            Order the returned LiteLLM_MCPUserCredentials records by any field
        distinct
            Filter LiteLLM_MCPUserCredentials records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_MCPUserCredentials]
            The list of all LiteLLM_MCPUserCredentials records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_MCPUserCredentials records
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().find_many(take=10)

        # find the first 5 LiteLLM_MCPUserCredentials records ordered by the server_id field
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().find_many(
            take=5,
            order={
                'server_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   2  r   z?LiteLLM_MCPUserCredentialsActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   1  r   z+LiteLLM_MCPUserCredentialsActions.find_manyc           	   
     r   )a  Find a single LiteLLM_MCPUserCredentials record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_MCPUserCredentials filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model
        order
            Order the returned LiteLLM_MCPUserCredentials records by any field
        distinct
            Filter LiteLLM_MCPUserCredentials records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The first LiteLLM_MCPUserCredentials record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_MCPUserCredentials record ordered by the credential_b64 field
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().find_first(
            skip=1,
            order={
                'credential_b64': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   2  r   z,LiteLLM_MCPUserCredentialsActions.find_firstc              
     r   )a  Find a single LiteLLM_MCPUserCredentials record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_MCPUserCredentials filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model
        order
            Order the returned LiteLLM_MCPUserCredentials records by any field
        distinct
            Filter LiteLLM_MCPUserCredentials records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The first LiteLLM_MCPUserCredentials record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_MCPUserCredentials record ordered by the created_at field
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().find_first_or_raise(
            skip=1,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   X2  r   z5LiteLLM_MCPUserCredentialsActions.find_first_or_raise+types.LiteLLM_MCPUserCredentialsUpdateInputc                   r   )a5  Update a single LiteLLM_MCPUserCredentials record.

        Parameters
        ----------
        data
            LiteLLM_MCPUserCredentials record data specifying what to update
        where
            LiteLLM_MCPUserCredentials filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The updated LiteLLM_MCPUserCredentials record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().update(
            where={
                'id': 'dfbfaddhe',
            },
            data={
                # data to update the LiteLLM_MCPUserCredentials record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   2  r   z(LiteLLM_MCPUserCredentialsActions.update+types.LiteLLM_MCPUserCredentialsUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_MCPUserCredentials filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_MCPUserCredentials model

        Returns
        -------
        prisma.models.LiteLLM_MCPUserCredentials
            The created or updated LiteLLM_MCPUserCredentials record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_mcpusercredentials = await LiteLLM_MCPUserCredentials.prisma().upsert(
            where={
                'id': 'bdcbbieibf',
            },
            data={
                'create': {
                    'id': 'bdcbbieibf',
                    'user_id': 'bdiiiabbii',
                    'server_id': 'hfcfhhadh',
                    'credential_b64': 'bbihggdcji',
                },
                'update': {
                    'user_id': 'bdiiiabbii',
                    'server_id': 'hfcfhhadh',
                    'credential_b64': 'bbihggdcji',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   2     4
z(LiteLLM_MCPUserCredentialsActions.upsert7types.LiteLLM_MCPUserCredentialsUpdateManyMutationInput*types.LiteLLM_MCPUserCredentialsWhereInputc                   r   )at  Update multiple LiteLLM_MCPUserCredentials records

        Parameters
        ----------
        data
            LiteLLM_MCPUserCredentials data to update the selected LiteLLM_MCPUserCredentials records to
        where
            Filter to select the LiteLLM_MCPUserCredentials records to update

        Returns
        -------
        int
            The total number of LiteLLM_MCPUserCredentials records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_MCPUserCredentials records
        total = await LiteLLM_MCPUserCredentials.prisma().update_many(
            data={
                'updated_at': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   3  r   z-LiteLLM_MCPUserCredentialsActions.update_manyr   c                   r   )a  Count the number of LiteLLM_MCPUserCredentials records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_MCPUserCredentials fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_MCPUserCredentials filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_MCPUserCredentialsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_MCPUserCredentials.prisma().count()

        # results: prisma.types.LiteLLM_MCPUserCredentialsCountAggregateOutput
        results = await LiteLLM_MCPUserCredentials.prisma().count(
            select={
                '_all': True,
                'id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   =3  r   z'LiteLLM_MCPUserCredentialsActions.count3types.LiteLLM_MCPUserCredentialsCountAggregateInput4types.LiteLLM_MCPUserCredentialsCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   v3  r   =Optional[types.LiteLLM_MCPUserCredentialsCountAggregateInput]@Union[int, types.LiteLLM_MCPUserCredentialsCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_MCPUserCredentials records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_MCPUserCredentials fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_MCPUserCredentials filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_MCPUserCredentialsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_MCPUserCredentials.prisma().count()

        # results: prisma.types.LiteLLM_MCPUserCredentialsCountAggregateOutput
        results = await LiteLLM_MCPUserCredentials.prisma().count(
            select={
                '_all': True,
                'user_id': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   3  r   z:LiteLLM_MCPUserCredentialsActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   .LiteLLM_MCPUserCredentialsCountAggregateOutputr   r5   r5   r6   r_   3  r   c                   r   )a  Delete multiple LiteLLM_MCPUserCredentials records.

        Parameters
        ----------
        where
            Optional LiteLLM_MCPUserCredentials filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_MCPUserCredentials records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_MCPUserCredentials records
        total = await LiteLLM_MCPUserCredentials.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   3  r   z-LiteLLM_MCPUserCredentialsActions.delete_manyr   r   7List['types.LiteLLM_MCPUserCredentialsScalarFieldKeys']6Optional['types.LiteLLM_MCPUserCredentialsWhereInput']r   =Optional['types.LiteLLM_MCPUserCredentialsAvgAggregateInput']r   =Optional['types.LiteLLM_MCPUserCredentialsSumAggregateInput']r   =Optional['types.LiteLLM_MCPUserCredentialsMinAggregateInput']r   =Optional['types.LiteLLM_MCPUserCredentialsMaxAggregateInput']r   JOptional['types.LiteLLM_MCPUserCredentialsScalarWhereWithAggregatesInput']r_   LOptional[Union[bool, 'types.LiteLLM_MCPUserCredentialsCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_MCPUserCredentialsScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_MCPUserCredentialsScalarFieldKeys', 'types.SortOrder']]]]5List['types.LiteLLM_MCPUserCredentialsGroupByOutput']c       
      
     r   )a  Group LiteLLM_MCPUserCredentials records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_MCPUserCredentials fields to group records by
        where
            LiteLLM_MCPUserCredentials filter to select records
        take
            Limit the maximum number of LiteLLM_MCPUserCredentials records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_MCPUserCredentialsGroupByOutput]
            A list of dictionaries representing the LiteLLM_MCPUserCredentials record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_MCPUserCredentials records by server_id values
        # and count how many records are in each group
        results = await LiteLLM_MCPUserCredentials.prisma().group_by(
            ['server_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   3  r   z*LiteLLM_MCPUserCredentialsActions.group_byr   r   r   r2   )rF   r@  rH   rA  r/   r%   )rF   rC  rW   rY   r/   r   )rg   rE  rH   rA  r/   rB   )rg   rE  rH   rA  r/   r%   r   )rv   rw   rx   rw   rg   rF  rz   rG  rH   rA  r|   rH  r~   rI  r/   r<   r   )rx   rw   rg   rF  rz   rG  rH   rA  r|   rH  r~   rI  r/   rB   )rx   rw   rg   rF  rz   rG  rH   rA  r|   rH  r~   rI  r/   r%   )rF   rJ  rg   rE  rH   rA  r/   rB   )rg   rE  rF   rK  rH   rA  r/   r%   )rF   rM  rg   rN  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rF  rz   rG  r/   r   r   )r   rO  rv   rw   rx   rw   rg   rF  rz   rG  r/   rP  )r   rQ  rv   rw   rx   rw   rg   rF  rz   rG  r/   rR  )rg   rF  r/   r   )r   rT  rg   rU  rv   rw   rx   rw   r   rV  r   rW  r   rX  r   rY  r   rZ  r_   r[  r|   r\  r/   r]  r   r5   r5   r5   r6   r?  g0      


&+6H762IFD=
@,8W,r?  c                   @  r'   ){ LiteLLM_VerificationTokenActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   v4  r8   z)LiteLLM_VerificationTokenActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_VerificationToken]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_VerificationToken.prisma().query_raw(
            'SELECT * FROM LiteLLM_VerificationToken WHERE token = $1',
            'dgjhdcggi',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   z4  rA   z*LiteLLM_VerificationTokenActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_VerificationToken.prisma().query_first(
            'SELECT * FROM LiteLLM_VerificationToken WHERE key_name = $1',
            'bbjbcdfabd',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   4  rE   z,LiteLLM_VerificationTokenActions.query_firstNrF   *types.LiteLLM_VerificationTokenCreateInputrH   0Optional[types.LiteLLM_VerificationTokenInclude]r%   c                   rJ   )a   Create a new LiteLLM_VerificationToken record.

        Parameters
        ----------
        data
            LiteLLM_VerificationToken record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The created LiteLLM_VerificationToken record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_VerificationToken record from just the required fields
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().create(
            data={
                # data to create a LiteLLM_VerificationToken record
                'token': 'gchfgbcec',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   4  ru   z'LiteLLM_VerificationTokenActions.createrV   @List[types.LiteLLM_VerificationTokenCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_VerificationToken records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_VerificationToken record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_VerificationToken.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_VerificationToken record
                    'token': 'bihcjfcjah',
                },
                {
                    # data to create a LiteLLM_VerificationToken record
                    'token': 'bhjdcicaii',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   4  r  z,LiteLLM_VerificationTokenActions.create_manyrg   /types.LiteLLM_VerificationTokenWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_VerificationToken record.

        Parameters
        ----------
        where
            LiteLLM_VerificationToken filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The deleted LiteLLM_VerificationToken record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().delete(
            where={
                'token': 'bibedjhcej',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   95  ro   z'LiteLLM_VerificationTokenActions.deletec                   rp   )a  Find a unique LiteLLM_VerificationToken record.

        Parameters
        ----------
        where
            LiteLLM_VerificationToken filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The found LiteLLM_VerificationToken record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().find_unique(
            where={
                'token': 'bjcdajabfa',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   m5  rs   z,LiteLLM_VerificationTokenActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_VerificationToken record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_VerificationToken filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The found LiteLLM_VerificationToken record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().find_unique_or_raise(
            where={
                'token': 'bchhceeeff',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   5  ru   z5LiteLLM_VerificationTokenActions.find_unique_or_raiserv   rw   rx   3Optional[types.LiteLLM_VerificationTokenWhereInput]rz   9Optional[types.LiteLLM_VerificationTokenWhereUniqueInput]r|   oOptional[Union[types.LiteLLM_VerificationTokenOrderByInput, List[types.LiteLLM_VerificationTokenOrderByInput]]]r~   >Optional[List[types.LiteLLM_VerificationTokenScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_VerificationToken records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_VerificationToken records returned
        skip
            Ignore the first N results
        where
            LiteLLM_VerificationToken filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model
        order
            Order the returned LiteLLM_VerificationToken records by any field
        distinct
            Filter LiteLLM_VerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_VerificationToken]
            The list of all LiteLLM_VerificationToken records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_VerificationToken records
        litellm_verificationtokens = await LiteLLM_VerificationToken.prisma().find_many(take=10)

        # find the first 5 LiteLLM_VerificationToken records ordered by the key_alias field
        litellm_verificationtokens = await LiteLLM_VerificationToken.prisma().find_many(
            take=5,
            order={
                'key_alias': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   6  r   z>LiteLLM_VerificationTokenActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   5  r   z*LiteLLM_VerificationTokenActions.find_manyc           	   
     r   )a  Find a single LiteLLM_VerificationToken record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_VerificationToken filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model
        order
            Order the returned LiteLLM_VerificationToken records by any field
        distinct
            Filter LiteLLM_VerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The first LiteLLM_VerificationToken record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_VerificationToken record ordered by the soft_budget_cooldown field
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().find_first(
            skip=1,
            order={
                'soft_budget_cooldown': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   6  r   z+LiteLLM_VerificationTokenActions.find_firstc              
     r   )a  Find a single LiteLLM_VerificationToken record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_VerificationToken filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model
        order
            Order the returned LiteLLM_VerificationToken records by any field
        distinct
            Filter LiteLLM_VerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The first LiteLLM_VerificationToken record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_VerificationToken record ordered by the spend field
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().find_first_or_raise(
            skip=1,
            order={
                'spend': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   [6  r   z4LiteLLM_VerificationTokenActions.find_first_or_raise*types.LiteLLM_VerificationTokenUpdateInputc                   r   )a0  Update a single LiteLLM_VerificationToken record.

        Parameters
        ----------
        data
            LiteLLM_VerificationToken record data specifying what to update
        where
            LiteLLM_VerificationToken filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The updated LiteLLM_VerificationToken record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().update(
            where={
                'token': 'bbgaifhdaa',
            },
            data={
                # data to update the LiteLLM_VerificationToken record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   6  r   z'LiteLLM_VerificationTokenActions.update*types.LiteLLM_VerificationTokenUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_VerificationToken filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_VerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_VerificationToken
            The created or updated LiteLLM_VerificationToken record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_verificationtoken = await LiteLLM_VerificationToken.prisma().upsert(
            where={
                'token': 'dgbcdaegb',
            },
            data={
                'create': {
                    'token': 'dgbcdaegb',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   6  r  z'LiteLLM_VerificationTokenActions.upsert6types.LiteLLM_VerificationTokenUpdateManyMutationInput)types.LiteLLM_VerificationTokenWhereInputc                   r   )aj  Update multiple LiteLLM_VerificationToken records

        Parameters
        ----------
        data
            LiteLLM_VerificationToken data to update the selected LiteLLM_VerificationToken records to
        where
            Filter to select the LiteLLM_VerificationToken records to update

        Returns
        -------
        int
            The total number of LiteLLM_VerificationToken records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_VerificationToken records
        total = await LiteLLM_VerificationToken.prisma().update_many(
            data={
                'expires': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   7  r   z,LiteLLM_VerificationTokenActions.update_manyr   c                   r   )a  Count the number of LiteLLM_VerificationToken records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_VerificationToken fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_VerificationToken filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_VerificationTokenCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_VerificationToken.prisma().count()

        # results: prisma.types.LiteLLM_VerificationTokenCountAggregateOutput
        results = await LiteLLM_VerificationToken.prisma().count(
            select={
                '_all': True,
                'models': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   :7  r   z&LiteLLM_VerificationTokenActions.count2types.LiteLLM_VerificationTokenCountAggregateInput3types.LiteLLM_VerificationTokenCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   s7  r   <Optional[types.LiteLLM_VerificationTokenCountAggregateInput]?Union[int, types.LiteLLM_VerificationTokenCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_VerificationToken records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_VerificationToken fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_VerificationToken filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_VerificationTokenCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_VerificationToken.prisma().count()

        # results: prisma.types.LiteLLM_VerificationTokenCountAggregateOutput
        results = await LiteLLM_VerificationToken.prisma().count(
            select={
                '_all': True,
                'aliases': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   7  r   z9LiteLLM_VerificationTokenActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   -LiteLLM_VerificationTokenCountAggregateOutputr   r5   r5   r6   r_   ~7  r   c                   r   )a  Delete multiple LiteLLM_VerificationToken records.

        Parameters
        ----------
        where
            Optional LiteLLM_VerificationToken filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_VerificationToken records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_VerificationToken records
        total = await LiteLLM_VerificationToken.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   7  r   z,LiteLLM_VerificationTokenActions.delete_manyr   r   6List['types.LiteLLM_VerificationTokenScalarFieldKeys']5Optional['types.LiteLLM_VerificationTokenWhereInput']r   <Optional['types.LiteLLM_VerificationTokenAvgAggregateInput']r   <Optional['types.LiteLLM_VerificationTokenSumAggregateInput']r   <Optional['types.LiteLLM_VerificationTokenMinAggregateInput']r   <Optional['types.LiteLLM_VerificationTokenMaxAggregateInput']r   IOptional['types.LiteLLM_VerificationTokenScalarWhereWithAggregatesInput']r_   KOptional[Union[bool, 'types.LiteLLM_VerificationTokenCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_VerificationTokenScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_VerificationTokenScalarFieldKeys', 'types.SortOrder']]]]4List['types.LiteLLM_VerificationTokenGroupByOutput']c       
      
     r   )a  Group LiteLLM_VerificationToken records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_VerificationToken fields to group records by
        where
            LiteLLM_VerificationToken filter to select records
        take
            Limit the maximum number of LiteLLM_VerificationToken records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_VerificationTokenGroupByOutput]
            A list of dictionaries representing the LiteLLM_VerificationToken record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_VerificationToken records by config values
        # and count how many records are in each group
        results = await LiteLLM_VerificationToken.prisma().group_by(
            ['config'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   7  r   z)LiteLLM_VerificationTokenActions.group_byr   r   r   r2   )rF   r`  rH   ra  r/   r%   )rF   rb  rW   rY   r/   r   )rg   rc  rH   ra  r/   rB   )rg   rc  rH   ra  r/   r%   r   )rv   rw   rx   rw   rg   rd  rz   re  rH   ra  r|   rf  r~   rg  r/   r<   r   )rx   rw   rg   rd  rz   re  rH   ra  r|   rf  r~   rg  r/   rB   )rx   rw   rg   rd  rz   re  rH   ra  r|   rf  r~   rg  r/   r%   )rF   rh  rg   rc  rH   ra  r/   rB   )rg   rc  rF   ri  rH   ra  r/   r%   )rF   rj  rg   rk  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rd  rz   re  r/   r   r   )r   rl  rv   rw   rx   rw   rg   rd  rz   re  r/   rm  )r   rn  rv   rw   rx   rw   rg   rd  rz   re  r/   ro  )rg   rd  r/   r   )r   rq  rg   rr  rv   rw   rx   rw   r   rs  r   rt  r   ru  r   rv  r   rw  r_   rx  r|   ry  r/   rz  r   r5   r5   r5   r6   r_  p4  r  r_  c                   @  r'   ){LiteLLM_JWTKeyMappingActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   s8  r8   z%LiteLLM_JWTKeyMappingActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_JWTKeyMapping]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_JWTKeyMapping.prisma().query_raw(
            'SELECT * FROM LiteLLM_JWTKeyMapping WHERE id = $1',
            'beagfbbjig',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   w8  rA   z&LiteLLM_JWTKeyMappingActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_JWTKeyMapping.prisma().query_first(
            'SELECT * FROM LiteLLM_JWTKeyMapping WHERE jwt_claim_name = $1',
            'beicihhijb',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   8  rE   z(LiteLLM_JWTKeyMappingActions.query_firstNrF   &types.LiteLLM_JWTKeyMappingCreateInputrH   ,Optional[types.LiteLLM_JWTKeyMappingInclude]r%   c                   rJ   )a<  Create a new LiteLLM_JWTKeyMapping record.

        Parameters
        ----------
        data
            LiteLLM_JWTKeyMapping record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The created LiteLLM_JWTKeyMapping record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_JWTKeyMapping record from just the required fields
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().create(
            data={
                # data to create a LiteLLM_JWTKeyMapping record
                'jwt_claim_name': 'fgggcdcjg',
                'jwt_claim_value': 'ccjbbjigf',
                'token': 'bhfaabbaha',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   8  rB  z#LiteLLM_JWTKeyMappingActions.createrV   <List[types.LiteLLM_JWTKeyMappingCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a;  Create multiple LiteLLM_JWTKeyMapping records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_JWTKeyMapping record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_JWTKeyMapping.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_JWTKeyMapping record
                    'jwt_claim_name': 'ebajedhhf',
                    'jwt_claim_value': 'jajacedge',
                    'token': 'hffgbabgf',
                },
                {
                    # data to create a LiteLLM_JWTKeyMapping record
                    'jwt_claim_name': 'biacbiieja',
                    'jwt_claim_value': 'cjejbgbff',
                    'token': 'fgeahddae',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   8  rD  z(LiteLLM_JWTKeyMappingActions.create_manyrg   +types.LiteLLM_JWTKeyMappingWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_JWTKeyMapping record.

        Parameters
        ----------
        where
            LiteLLM_JWTKeyMapping filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The deleted LiteLLM_JWTKeyMapping record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().delete(
            where={
                'id': 'diageigcf',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   <9  ro   z#LiteLLM_JWTKeyMappingActions.deletec                   rp   )a  Find a unique LiteLLM_JWTKeyMapping record.

        Parameters
        ----------
        where
            LiteLLM_JWTKeyMapping filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The found LiteLLM_JWTKeyMapping record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().find_unique(
            where={
                'id': 'badagbgeha',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   p9  rs   z(LiteLLM_JWTKeyMappingActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_JWTKeyMapping record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_JWTKeyMapping filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The found LiteLLM_JWTKeyMapping record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().find_unique_or_raise(
            where={
                'id': 'ibgebbjch',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   9  ru   z1LiteLLM_JWTKeyMappingActions.find_unique_or_raiserv   rw   rx   /Optional[types.LiteLLM_JWTKeyMappingWhereInput]rz   5Optional[types.LiteLLM_JWTKeyMappingWhereUniqueInput]r|   gOptional[Union[types.LiteLLM_JWTKeyMappingOrderByInput, List[types.LiteLLM_JWTKeyMappingOrderByInput]]]r~   :Optional[List[types.LiteLLM_JWTKeyMappingScalarFieldKeys]]c           	        r   )	aT  Find multiple LiteLLM_JWTKeyMapping records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_JWTKeyMapping records returned
        skip
            Ignore the first N results
        where
            LiteLLM_JWTKeyMapping filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model
        order
            Order the returned LiteLLM_JWTKeyMapping records by any field
        distinct
            Filter LiteLLM_JWTKeyMapping records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_JWTKeyMapping]
            The list of all LiteLLM_JWTKeyMapping records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_JWTKeyMapping records
        litellm_jwtkeymappings = await LiteLLM_JWTKeyMapping.prisma().find_many(take=10)

        # find the first 5 LiteLLM_JWTKeyMapping records ordered by the jwt_claim_value field
        litellm_jwtkeymappings = await LiteLLM_JWTKeyMapping.prisma().find_many(
            take=5,
            order={
                'jwt_claim_value': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   :  r   z:LiteLLM_JWTKeyMappingActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   9  r   z&LiteLLM_JWTKeyMappingActions.find_manyc           	   
     r   )aD  Find a single LiteLLM_JWTKeyMapping record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_JWTKeyMapping filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model
        order
            Order the returned LiteLLM_JWTKeyMapping records by any field
        distinct
            Filter LiteLLM_JWTKeyMapping records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The first LiteLLM_JWTKeyMapping record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_JWTKeyMapping record ordered by the token field
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().find_first(
            skip=1,
            order={
                'token': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   :  r   z'LiteLLM_JWTKeyMappingActions.find_firstc              
     r   )a  Find a single LiteLLM_JWTKeyMapping record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_JWTKeyMapping filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model
        order
            Order the returned LiteLLM_JWTKeyMapping records by any field
        distinct
            Filter LiteLLM_JWTKeyMapping records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The first LiteLLM_JWTKeyMapping record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_JWTKeyMapping record ordered by the description field
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().find_first_or_raise(
            skip=1,
            order={
                'description': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ^:  r   z0LiteLLM_JWTKeyMappingActions.find_first_or_raise&types.LiteLLM_JWTKeyMappingUpdateInputc                   r   )a	  Update a single LiteLLM_JWTKeyMapping record.

        Parameters
        ----------
        data
            LiteLLM_JWTKeyMapping record data specifying what to update
        where
            LiteLLM_JWTKeyMapping filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The updated LiteLLM_JWTKeyMapping record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().update(
            where={
                'id': 'baieajjiee',
            },
            data={
                # data to update the LiteLLM_JWTKeyMapping record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   :  r   z#LiteLLM_JWTKeyMappingActions.update&types.LiteLLM_JWTKeyMappingUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_JWTKeyMapping filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_JWTKeyMapping model

        Returns
        -------
        prisma.models.LiteLLM_JWTKeyMapping
            The created or updated LiteLLM_JWTKeyMapping record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_jwtkeymapping = await LiteLLM_JWTKeyMapping.prisma().upsert(
            where={
                'id': 'bahjhaccfd',
            },
            data={
                'create': {
                    'id': 'bahjhaccfd',
                    'jwt_claim_name': 'biacbiieja',
                    'jwt_claim_value': 'cjejbgbff',
                    'token': 'fgeahddae',
                },
                'update': {
                    'jwt_claim_name': 'biacbiieja',
                    'jwt_claim_value': 'cjejbgbff',
                    'token': 'fgeahddae',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   :  rL  z#LiteLLM_JWTKeyMappingActions.upsert2types.LiteLLM_JWTKeyMappingUpdateManyMutationInput%types.LiteLLM_JWTKeyMappingWhereInputc                   r   )a:  Update multiple LiteLLM_JWTKeyMapping records

        Parameters
        ----------
        data
            LiteLLM_JWTKeyMapping data to update the selected LiteLLM_JWTKeyMapping records to
        where
            Filter to select the LiteLLM_JWTKeyMapping records to update

        Returns
        -------
        int
            The total number of LiteLLM_JWTKeyMapping records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_JWTKeyMapping records
        total = await LiteLLM_JWTKeyMapping.prisma().update_many(
            data={
                'is_active': True
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   ;  r   z(LiteLLM_JWTKeyMappingActions.update_manyr   c                   r   )a  Count the number of LiteLLM_JWTKeyMapping records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_JWTKeyMapping fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_JWTKeyMapping filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_JWTKeyMappingCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_JWTKeyMapping.prisma().count()

        # results: prisma.types.LiteLLM_JWTKeyMappingCountAggregateOutput
        results = await LiteLLM_JWTKeyMapping.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   C;  r   z"LiteLLM_JWTKeyMappingActions.count.types.LiteLLM_JWTKeyMappingCountAggregateInput/types.LiteLLM_JWTKeyMappingCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   |;  r   8Optional[types.LiteLLM_JWTKeyMappingCountAggregateInput];Union[int, types.LiteLLM_JWTKeyMappingCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_JWTKeyMapping records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_JWTKeyMapping fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_JWTKeyMapping filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_JWTKeyMappingCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_JWTKeyMapping.prisma().count()

        # results: prisma.types.LiteLLM_JWTKeyMappingCountAggregateOutput
        results = await LiteLLM_JWTKeyMapping.prisma().count(
            select={
                '_all': True,
                'created_by': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   ;  r   z5LiteLLM_JWTKeyMappingActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   )LiteLLM_JWTKeyMappingCountAggregateOutputr   r5   r5   r6   r_   ;  r   c                   r   )ax  Delete multiple LiteLLM_JWTKeyMapping records.

        Parameters
        ----------
        where
            Optional LiteLLM_JWTKeyMapping filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_JWTKeyMapping records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_JWTKeyMapping records
        total = await LiteLLM_JWTKeyMapping.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   ;  r   z(LiteLLM_JWTKeyMappingActions.delete_manyr   r   2List['types.LiteLLM_JWTKeyMappingScalarFieldKeys']1Optional['types.LiteLLM_JWTKeyMappingWhereInput']r   8Optional['types.LiteLLM_JWTKeyMappingAvgAggregateInput']r   8Optional['types.LiteLLM_JWTKeyMappingSumAggregateInput']r   8Optional['types.LiteLLM_JWTKeyMappingMinAggregateInput']r   8Optional['types.LiteLLM_JWTKeyMappingMaxAggregateInput']r   EOptional['types.LiteLLM_JWTKeyMappingScalarWhereWithAggregatesInput']r_   GOptional[Union[bool, 'types.LiteLLM_JWTKeyMappingCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_JWTKeyMappingScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_JWTKeyMappingScalarFieldKeys', 'types.SortOrder']]]]0List['types.LiteLLM_JWTKeyMappingGroupByOutput']c       
      
     r   )a  Group LiteLLM_JWTKeyMapping records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_JWTKeyMapping fields to group records by
        where
            LiteLLM_JWTKeyMapping filter to select records
        take
            Limit the maximum number of LiteLLM_JWTKeyMapping records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_JWTKeyMappingGroupByOutput]
            A list of dictionaries representing the LiteLLM_JWTKeyMapping record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_JWTKeyMapping records by updated_at values
        # and count how many records are in each group
        results = await LiteLLM_JWTKeyMapping.prisma().group_by(
            ['updated_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   <  r   z%LiteLLM_JWTKeyMappingActions.group_byr   r   r   r2   )rF   r|  rH   r}  r/   r%   )rF   r~  rW   rY   r/   r   )rg   r  rH   r}  r/   rB   )rg   r  rH   r}  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r}  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r}  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r}  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r}  r/   rB   )rg   r  rF   r  rH   r}  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r{  m8  r^  r{  c                   @  r'   ){*LiteLLM_DeprecatedVerificationTokenActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   |<  r8   z3LiteLLM_DeprecatedVerificationTokenActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DeprecatedVerificationToken]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DeprecatedVerificationToken.prisma().query_raw(
            'SELECT * FROM LiteLLM_DeprecatedVerificationToken WHERE id = $1',
            'bbcigiadhb',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   <  rA   z4LiteLLM_DeprecatedVerificationTokenActions.query_rawrB   c                   r=   )a0  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DeprecatedVerificationToken.prisma().query_first(
            'SELECT * FROM LiteLLM_DeprecatedVerificationToken WHERE token = $1',
            'cfjagbbae',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   <  rE   z6LiteLLM_DeprecatedVerificationTokenActions.query_firstNrF   4types.LiteLLM_DeprecatedVerificationTokenCreateInputrH   :Optional[types.LiteLLM_DeprecatedVerificationTokenInclude]r%   c                   rJ   )a  Create a new LiteLLM_DeprecatedVerificationToken record.

        Parameters
        ----------
        data
            LiteLLM_DeprecatedVerificationToken record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The created LiteLLM_DeprecatedVerificationToken record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DeprecatedVerificationToken record from just the required fields
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().create(
            data={
                # data to create a LiteLLM_DeprecatedVerificationToken record
                'token': 'bbbfhdidef',
                'active_token_id': 'bdadhibhec',
                'revoke_at': datetime.datetime.utcnow(),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   <  rB  z1LiteLLM_DeprecatedVerificationTokenActions.createrV   JList[types.LiteLLM_DeprecatedVerificationTokenCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DeprecatedVerificationToken records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DeprecatedVerificationToken record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DeprecatedVerificationToken.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DeprecatedVerificationToken record
                    'token': 'bfhdjaiejf',
                    'active_token_id': 'bbjfijjadg',
                    'revoke_at': datetime.datetime.utcnow(),
                },
                {
                    # data to create a LiteLLM_DeprecatedVerificationToken record
                    'token': 'hdjacbehh',
                    'active_token_id': 'bhcccbeaba',
                    'revoke_at': datetime.datetime.utcnow(),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\    =  rD  z6LiteLLM_DeprecatedVerificationTokenActions.create_manyrg   9types.LiteLLM_DeprecatedVerificationTokenWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DeprecatedVerificationToken record.

        Parameters
        ----------
        where
            LiteLLM_DeprecatedVerificationToken filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The deleted LiteLLM_DeprecatedVerificationToken record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().delete(
            where={
                'id': 'bcgjbdgjdj',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   E=  ro   z1LiteLLM_DeprecatedVerificationTokenActions.deletec                   rp   )a  Find a unique LiteLLM_DeprecatedVerificationToken record.

        Parameters
        ----------
        where
            LiteLLM_DeprecatedVerificationToken filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The found LiteLLM_DeprecatedVerificationToken record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().find_unique(
            where={
                'id': 'fhdbhifae',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   y=  rs   z6LiteLLM_DeprecatedVerificationTokenActions.find_uniquec                   rJ   )aY  Find a unique LiteLLM_DeprecatedVerificationToken record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DeprecatedVerificationToken filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The found LiteLLM_DeprecatedVerificationToken record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().find_unique_or_raise(
            where={
                'id': 'beeacgfcej',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   =  ru   z?LiteLLM_DeprecatedVerificationTokenActions.find_unique_or_raiserv   rw   rx   =Optional[types.LiteLLM_DeprecatedVerificationTokenWhereInput]rz   COptional[types.LiteLLM_DeprecatedVerificationTokenWhereUniqueInput]r|   Optional[Union[types.LiteLLM_DeprecatedVerificationTokenOrderByInput, List[types.LiteLLM_DeprecatedVerificationTokenOrderByInput]]]r~   HOptional[List[types.LiteLLM_DeprecatedVerificationTokenScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_DeprecatedVerificationToken records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DeprecatedVerificationToken records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DeprecatedVerificationToken filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model
        order
            Order the returned LiteLLM_DeprecatedVerificationToken records by any field
        distinct
            Filter LiteLLM_DeprecatedVerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DeprecatedVerificationToken]
            The list of all LiteLLM_DeprecatedVerificationToken records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DeprecatedVerificationToken records
        litellm_deprecatedverificationtokens = await LiteLLM_DeprecatedVerificationToken.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DeprecatedVerificationToken records ordered by the active_token_id field
        litellm_deprecatedverificationtokens = await LiteLLM_DeprecatedVerificationToken.prisma().find_many(
            take=5,
            order={
                'active_token_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   !>  r   zHLiteLLM_DeprecatedVerificationTokenActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   =  r   z4LiteLLM_DeprecatedVerificationTokenActions.find_manyc           	   
     r   )a  Find a single LiteLLM_DeprecatedVerificationToken record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DeprecatedVerificationToken filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model
        order
            Order the returned LiteLLM_DeprecatedVerificationToken records by any field
        distinct
            Filter LiteLLM_DeprecatedVerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The first LiteLLM_DeprecatedVerificationToken record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DeprecatedVerificationToken record ordered by the revoke_at field
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().find_first(
            skip=1,
            order={
                'revoke_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   #>  r   z5LiteLLM_DeprecatedVerificationTokenActions.find_firstc              
     r   )a0  Find a single LiteLLM_DeprecatedVerificationToken record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DeprecatedVerificationToken filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model
        order
            Order the returned LiteLLM_DeprecatedVerificationToken records by any field
        distinct
            Filter LiteLLM_DeprecatedVerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The first LiteLLM_DeprecatedVerificationToken record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DeprecatedVerificationToken record ordered by the created_at field
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().find_first_or_raise(
            skip=1,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   g>  r   z>LiteLLM_DeprecatedVerificationTokenActions.find_first_or_raise4types.LiteLLM_DeprecatedVerificationTokenUpdateInputc                   r   )a  Update a single LiteLLM_DeprecatedVerificationToken record.

        Parameters
        ----------
        data
            LiteLLM_DeprecatedVerificationToken record data specifying what to update
        where
            LiteLLM_DeprecatedVerificationToken filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The updated LiteLLM_DeprecatedVerificationToken record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().update(
            where={
                'id': 'bbifhdiicc',
            },
            data={
                # data to update the LiteLLM_DeprecatedVerificationToken record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   >  r   z1LiteLLM_DeprecatedVerificationTokenActions.update4types.LiteLLM_DeprecatedVerificationTokenUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DeprecatedVerificationToken filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeprecatedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeprecatedVerificationToken
            The created or updated LiteLLM_DeprecatedVerificationToken record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deprecatedverificationtoken = await LiteLLM_DeprecatedVerificationToken.prisma().upsert(
            where={
                'id': 'bgjeccejad',
            },
            data={
                'create': {
                    'id': 'bgjeccejad',
                    'token': 'hdjacbehh',
                    'active_token_id': 'bhcccbeaba',
                    'revoke_at': datetime.datetime.utcnow(),
                },
                'update': {
                    'token': 'hdjacbehh',
                    'active_token_id': 'bhcccbeaba',
                    'revoke_at': datetime.datetime.utcnow(),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   >  rL  z1LiteLLM_DeprecatedVerificationTokenActions.upsert@types.LiteLLM_DeprecatedVerificationTokenUpdateManyMutationInput3types.LiteLLM_DeprecatedVerificationTokenWhereInputc                   r   )a  Update multiple LiteLLM_DeprecatedVerificationToken records

        Parameters
        ----------
        data
            LiteLLM_DeprecatedVerificationToken data to update the selected LiteLLM_DeprecatedVerificationToken records to
        where
            Filter to select the LiteLLM_DeprecatedVerificationToken records to update

        Returns
        -------
        int
            The total number of LiteLLM_DeprecatedVerificationToken records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DeprecatedVerificationToken records
        total = await LiteLLM_DeprecatedVerificationToken.prisma().update_many(
            data={
                'id': 'bjagdgabbg'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r    ?  r   z6LiteLLM_DeprecatedVerificationTokenActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DeprecatedVerificationToken records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DeprecatedVerificationToken fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DeprecatedVerificationToken filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DeprecatedVerificationTokenCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DeprecatedVerificationToken.prisma().count()

        # results: prisma.types.LiteLLM_DeprecatedVerificationTokenCountAggregateOutput
        results = await LiteLLM_DeprecatedVerificationToken.prisma().count(
            select={
                '_all': True,
                'token': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   L?  r   z0LiteLLM_DeprecatedVerificationTokenActions.count<types.LiteLLM_DeprecatedVerificationTokenCountAggregateInput=types.LiteLLM_DeprecatedVerificationTokenCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   ?  r   FOptional[types.LiteLLM_DeprecatedVerificationTokenCountAggregateInput]IUnion[int, types.LiteLLM_DeprecatedVerificationTokenCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DeprecatedVerificationToken records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DeprecatedVerificationToken fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DeprecatedVerificationToken filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DeprecatedVerificationTokenCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DeprecatedVerificationToken.prisma().count()

        # results: prisma.types.LiteLLM_DeprecatedVerificationTokenCountAggregateOutput
        results = await LiteLLM_DeprecatedVerificationToken.prisma().count(
            select={
                '_all': True,
                'active_token_id': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   ?  r   zCLiteLLM_DeprecatedVerificationTokenActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   7LiteLLM_DeprecatedVerificationTokenCountAggregateOutputr   r5   r5   r6   r_   ?  r   c                   r   )a  Delete multiple LiteLLM_DeprecatedVerificationToken records.

        Parameters
        ----------
        where
            Optional LiteLLM_DeprecatedVerificationToken filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DeprecatedVerificationToken records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DeprecatedVerificationToken records
        total = await LiteLLM_DeprecatedVerificationToken.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   ?  r   z6LiteLLM_DeprecatedVerificationTokenActions.delete_manyr   r   @List['types.LiteLLM_DeprecatedVerificationTokenScalarFieldKeys']?Optional['types.LiteLLM_DeprecatedVerificationTokenWhereInput']r   FOptional['types.LiteLLM_DeprecatedVerificationTokenAvgAggregateInput']r   FOptional['types.LiteLLM_DeprecatedVerificationTokenSumAggregateInput']r   FOptional['types.LiteLLM_DeprecatedVerificationTokenMinAggregateInput']r   FOptional['types.LiteLLM_DeprecatedVerificationTokenMaxAggregateInput']r   SOptional['types.LiteLLM_DeprecatedVerificationTokenScalarWhereWithAggregatesInput']r_   UOptional[Union[bool, 'types.LiteLLM_DeprecatedVerificationTokenCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DeprecatedVerificationTokenScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DeprecatedVerificationTokenScalarFieldKeys', 'types.SortOrder']]]]>List['types.LiteLLM_DeprecatedVerificationTokenGroupByOutput']c       
      
     r   )a  Group LiteLLM_DeprecatedVerificationToken records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DeprecatedVerificationToken fields to group records by
        where
            LiteLLM_DeprecatedVerificationToken filter to select records
        take
            Limit the maximum number of LiteLLM_DeprecatedVerificationToken records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DeprecatedVerificationTokenGroupByOutput]
            A list of dictionaries representing the LiteLLM_DeprecatedVerificationToken record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DeprecatedVerificationToken records by revoke_at values
        # and count how many records are in each group
        results = await LiteLLM_DeprecatedVerificationToken.prisma().group_by(
            ['revoke_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   @  r   z3LiteLLM_DeprecatedVerificationTokenActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  v<  r^  r  c                   @  r'   ){'LiteLLM_DeletedVerificationTokenActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   @  r8   z0LiteLLM_DeletedVerificationTokenActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DeletedVerificationToken]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DeletedVerificationToken.prisma().query_raw(
            'SELECT * FROM LiteLLM_DeletedVerificationToken WHERE id = $1',
            'bjbbcffdij',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   @  rA   z1LiteLLM_DeletedVerificationTokenActions.query_rawrB   c                   r=   )a'  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DeletedVerificationToken.prisma().query_first(
            'SELECT * FROM LiteLLM_DeletedVerificationToken WHERE token = $1',
            'begcgchdi',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   @  rE   z3LiteLLM_DeletedVerificationTokenActions.query_firstNrF   1types.LiteLLM_DeletedVerificationTokenCreateInputrH   7Optional[types.LiteLLM_DeletedVerificationTokenInclude]r%   c                   rJ   )a@  Create a new LiteLLM_DeletedVerificationToken record.

        Parameters
        ----------
        data
            LiteLLM_DeletedVerificationToken record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The created LiteLLM_DeletedVerificationToken record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DeletedVerificationToken record from just the required fields
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().create(
            data={
                # data to create a LiteLLM_DeletedVerificationToken record
                'token': 'bhbjceagbb',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   @  ru   z.LiteLLM_DeletedVerificationTokenActions.createrV   GList[types.LiteLLM_DeletedVerificationTokenCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DeletedVerificationToken records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DeletedVerificationToken record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DeletedVerificationToken.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DeletedVerificationToken record
                    'token': 'bjeifffjdg',
                },
                {
                    # data to create a LiteLLM_DeletedVerificationToken record
                    'token': 'bdidcfdfjd',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   A  r  z3LiteLLM_DeletedVerificationTokenActions.create_manyrg   6types.LiteLLM_DeletedVerificationTokenWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DeletedVerificationToken record.

        Parameters
        ----------
        where
            LiteLLM_DeletedVerificationToken filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The deleted LiteLLM_DeletedVerificationToken record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().delete(
            where={
                'id': 'dfeggejja',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   HA  ro   z.LiteLLM_DeletedVerificationTokenActions.deletec                   rp   )a  Find a unique LiteLLM_DeletedVerificationToken record.

        Parameters
        ----------
        where
            LiteLLM_DeletedVerificationToken filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The found LiteLLM_DeletedVerificationToken record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().find_unique(
            where={
                'id': 'gehbgghbj',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   |A  rs   z3LiteLLM_DeletedVerificationTokenActions.find_uniquec                   rJ   )aC  Find a unique LiteLLM_DeletedVerificationToken record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DeletedVerificationToken filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The found LiteLLM_DeletedVerificationToken record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().find_unique_or_raise(
            where={
                'id': 'dfhaijeie',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   A  ru   z<LiteLLM_DeletedVerificationTokenActions.find_unique_or_raiserv   rw   rx   :Optional[types.LiteLLM_DeletedVerificationTokenWhereInput]rz   @Optional[types.LiteLLM_DeletedVerificationTokenWhereUniqueInput]r|   }Optional[Union[types.LiteLLM_DeletedVerificationTokenOrderByInput, List[types.LiteLLM_DeletedVerificationTokenOrderByInput]]]r~   EOptional[List[types.LiteLLM_DeletedVerificationTokenScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_DeletedVerificationToken records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DeletedVerificationToken records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DeletedVerificationToken filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model
        order
            Order the returned LiteLLM_DeletedVerificationToken records by any field
        distinct
            Filter LiteLLM_DeletedVerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DeletedVerificationToken]
            The list of all LiteLLM_DeletedVerificationToken records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DeletedVerificationToken records
        litellm_deletedverificationtokens = await LiteLLM_DeletedVerificationToken.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DeletedVerificationToken records ordered by the key_name field
        litellm_deletedverificationtokens = await LiteLLM_DeletedVerificationToken.prisma().find_many(
            take=5,
            order={
                'key_name': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   $B  r   zELiteLLM_DeletedVerificationTokenActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   A  r   z1LiteLLM_DeletedVerificationTokenActions.find_manyc           	   
     r   )a  Find a single LiteLLM_DeletedVerificationToken record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedVerificationToken filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model
        order
            Order the returned LiteLLM_DeletedVerificationToken records by any field
        distinct
            Filter LiteLLM_DeletedVerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The first LiteLLM_DeletedVerificationToken record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DeletedVerificationToken record ordered by the key_alias field
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().find_first(
            skip=1,
            order={
                'key_alias': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   &B  r   z2LiteLLM_DeletedVerificationTokenActions.find_firstc              
     r   )a&  Find a single LiteLLM_DeletedVerificationToken record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedVerificationToken filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model
        order
            Order the returned LiteLLM_DeletedVerificationToken records by any field
        distinct
            Filter LiteLLM_DeletedVerificationToken records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The first LiteLLM_DeletedVerificationToken record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DeletedVerificationToken record ordered by the soft_budget_cooldown field
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().find_first_or_raise(
            skip=1,
            order={
                'soft_budget_cooldown': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   jB  r   z;LiteLLM_DeletedVerificationTokenActions.find_first_or_raise1types.LiteLLM_DeletedVerificationTokenUpdateInputc                   r   )ak  Update a single LiteLLM_DeletedVerificationToken record.

        Parameters
        ----------
        data
            LiteLLM_DeletedVerificationToken record data specifying what to update
        where
            LiteLLM_DeletedVerificationToken filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The updated LiteLLM_DeletedVerificationToken record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().update(
            where={
                'id': 'gbcdjgicb',
            },
            data={
                # data to update the LiteLLM_DeletedVerificationToken record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   B  r   z.LiteLLM_DeletedVerificationTokenActions.update1types.LiteLLM_DeletedVerificationTokenUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DeletedVerificationToken filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DeletedVerificationToken model

        Returns
        -------
        prisma.models.LiteLLM_DeletedVerificationToken
            The created or updated LiteLLM_DeletedVerificationToken record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_deletedverificationtoken = await LiteLLM_DeletedVerificationToken.prisma().upsert(
            where={
                'id': 'biaibdagac',
            },
            data={
                'create': {
                    'id': 'biaibdagac',
                    'token': 'bdidcfdfjd',
                },
                'update': {
                    'token': 'bdidcfdfjd',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   B  r  z.LiteLLM_DeletedVerificationTokenActions.upsert=types.LiteLLM_DeletedVerificationTokenUpdateManyMutationInput0types.LiteLLM_DeletedVerificationTokenWhereInputc                   r   )a  Update multiple LiteLLM_DeletedVerificationToken records

        Parameters
        ----------
        data
            LiteLLM_DeletedVerificationToken data to update the selected LiteLLM_DeletedVerificationToken records to
        where
            Filter to select the LiteLLM_DeletedVerificationToken records to update

        Returns
        -------
        int
            The total number of LiteLLM_DeletedVerificationToken records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DeletedVerificationToken records
        total = await LiteLLM_DeletedVerificationToken.prisma().update_many(
            data={
                'spend': 1151748123.7806
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   C  r   z3LiteLLM_DeletedVerificationTokenActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DeletedVerificationToken records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DeletedVerificationToken fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedVerificationToken filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DeletedVerificationTokenCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DeletedVerificationToken.prisma().count()

        # results: prisma.types.LiteLLM_DeletedVerificationTokenCountAggregateOutput
        results = await LiteLLM_DeletedVerificationToken.prisma().count(
            select={
                '_all': True,
                'expires': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   KC  r   z-LiteLLM_DeletedVerificationTokenActions.count9types.LiteLLM_DeletedVerificationTokenCountAggregateInput:types.LiteLLM_DeletedVerificationTokenCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   C  r   COptional[types.LiteLLM_DeletedVerificationTokenCountAggregateInput]FUnion[int, types.LiteLLM_DeletedVerificationTokenCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DeletedVerificationToken records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DeletedVerificationToken fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DeletedVerificationToken filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DeletedVerificationTokenCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DeletedVerificationToken.prisma().count()

        # results: prisma.types.LiteLLM_DeletedVerificationTokenCountAggregateOutput
        results = await LiteLLM_DeletedVerificationToken.prisma().count(
            select={
                '_all': True,
                'models': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   C  r   z@LiteLLM_DeletedVerificationTokenActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   4LiteLLM_DeletedVerificationTokenCountAggregateOutputr   r5   r5   r6   r_   C  r   c                   r   )a  Delete multiple LiteLLM_DeletedVerificationToken records.

        Parameters
        ----------
        where
            Optional LiteLLM_DeletedVerificationToken filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DeletedVerificationToken records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DeletedVerificationToken records
        total = await LiteLLM_DeletedVerificationToken.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   C  r   z3LiteLLM_DeletedVerificationTokenActions.delete_manyr   r   =List['types.LiteLLM_DeletedVerificationTokenScalarFieldKeys']<Optional['types.LiteLLM_DeletedVerificationTokenWhereInput']r   COptional['types.LiteLLM_DeletedVerificationTokenAvgAggregateInput']r   COptional['types.LiteLLM_DeletedVerificationTokenSumAggregateInput']r   COptional['types.LiteLLM_DeletedVerificationTokenMinAggregateInput']r   COptional['types.LiteLLM_DeletedVerificationTokenMaxAggregateInput']r   POptional['types.LiteLLM_DeletedVerificationTokenScalarWhereWithAggregatesInput']r_   ROptional[Union[bool, 'types.LiteLLM_DeletedVerificationTokenCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DeletedVerificationTokenScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DeletedVerificationTokenScalarFieldKeys', 'types.SortOrder']]]];List['types.LiteLLM_DeletedVerificationTokenGroupByOutput']c       
      
     r   )a  Group LiteLLM_DeletedVerificationToken records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DeletedVerificationToken fields to group records by
        where
            LiteLLM_DeletedVerificationToken filter to select records
        take
            Limit the maximum number of LiteLLM_DeletedVerificationToken records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DeletedVerificationTokenGroupByOutput]
            A list of dictionaries representing the LiteLLM_DeletedVerificationToken record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DeletedVerificationToken records by aliases values
        # and count how many records are in each group
        results = await LiteLLM_DeletedVerificationToken.prisma().group_by(
            ['aliases'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   D  r   z0LiteLLM_DeletedVerificationTokenActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  @  r  r  c                   @  r'   ){LiteLLM_EndUserTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   D  r8   z$LiteLLM_EndUserTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_EndUserTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_EndUserTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_EndUserTable WHERE user_id = $1',
            'eeejidbif',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   D  rA   z%LiteLLM_EndUserTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_EndUserTable.prisma().query_first(
            'SELECT * FROM LiteLLM_EndUserTable WHERE alias = $1',
            'efgbahec',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   D  rE   z'LiteLLM_EndUserTableActions.query_firstNrF   %types.LiteLLM_EndUserTableCreateInputrH   +Optional[types.LiteLLM_EndUserTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_EndUserTable record.

        Parameters
        ----------
        data
            LiteLLM_EndUserTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The created LiteLLM_EndUserTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_EndUserTable record from just the required fields
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().create(
            data={
                # data to create a LiteLLM_EndUserTable record
                'user_id': 'hgjaiebfb',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   D  ru   z"LiteLLM_EndUserTableActions.createrV   ;List[types.LiteLLM_EndUserTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	am  Create multiple LiteLLM_EndUserTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_EndUserTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_EndUserTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_EndUserTable record
                    'user_id': 'bddefjjabc',
                },
                {
                    # data to create a LiteLLM_EndUserTable record
                    'user_id': 'bbbghgbadh',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   E  r  z'LiteLLM_EndUserTableActions.create_manyrg   *types.LiteLLM_EndUserTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_EndUserTable record.

        Parameters
        ----------
        where
            LiteLLM_EndUserTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The deleted LiteLLM_EndUserTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().delete(
            where={
                'user_id': 'bbhcgagaic',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   GE  ro   z"LiteLLM_EndUserTableActions.deletec                   rp   )a  Find a unique LiteLLM_EndUserTable record.

        Parameters
        ----------
        where
            LiteLLM_EndUserTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The found LiteLLM_EndUserTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().find_unique(
            where={
                'user_id': 'ddaabegbb',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   {E  rs   z'LiteLLM_EndUserTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_EndUserTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_EndUserTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The found LiteLLM_EndUserTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().find_unique_or_raise(
            where={
                'user_id': 'bhgibfgbbc',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   E  ru   z0LiteLLM_EndUserTableActions.find_unique_or_raiserv   rw   rx   .Optional[types.LiteLLM_EndUserTableWhereInput]rz   4Optional[types.LiteLLM_EndUserTableWhereUniqueInput]r|   eOptional[Union[types.LiteLLM_EndUserTableOrderByInput, List[types.LiteLLM_EndUserTableOrderByInput]]]r~   9Optional[List[types.LiteLLM_EndUserTableScalarFieldKeys]]c           	        r   )	a2  Find multiple LiteLLM_EndUserTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_EndUserTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_EndUserTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model
        order
            Order the returned LiteLLM_EndUserTable records by any field
        distinct
            Filter LiteLLM_EndUserTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_EndUserTable]
            The list of all LiteLLM_EndUserTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_EndUserTable records
        litellm_endusertables = await LiteLLM_EndUserTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_EndUserTable records ordered by the spend field
        litellm_endusertables = await LiteLLM_EndUserTable.prisma().find_many(
            take=5,
            order={
                'spend': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   #F  r   z9LiteLLM_EndUserTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   E  r   z%LiteLLM_EndUserTableActions.find_manyc           	   
     r   )aX  Find a single LiteLLM_EndUserTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_EndUserTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model
        order
            Order the returned LiteLLM_EndUserTable records by any field
        distinct
            Filter LiteLLM_EndUserTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The first LiteLLM_EndUserTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_EndUserTable record ordered by the allowed_model_region field
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().find_first(
            skip=1,
            order={
                'allowed_model_region': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   %F  r   z&LiteLLM_EndUserTableActions.find_firstc              
     r   )a  Find a single LiteLLM_EndUserTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_EndUserTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model
        order
            Order the returned LiteLLM_EndUserTable records by any field
        distinct
            Filter LiteLLM_EndUserTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The first LiteLLM_EndUserTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_EndUserTable record ordered by the default_model field
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'default_model': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   iF  r   z/LiteLLM_EndUserTableActions.find_first_or_raise%types.LiteLLM_EndUserTableUpdateInputc                   r   )a  Update a single LiteLLM_EndUserTable record.

        Parameters
        ----------
        data
            LiteLLM_EndUserTable record data specifying what to update
        where
            LiteLLM_EndUserTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The updated LiteLLM_EndUserTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().update(
            where={
                'user_id': 'hbgcihef',
            },
            data={
                # data to update the LiteLLM_EndUserTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   F  r   z"LiteLLM_EndUserTableActions.update%types.LiteLLM_EndUserTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_EndUserTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_EndUserTable model

        Returns
        -------
        prisma.models.LiteLLM_EndUserTable
            The created or updated LiteLLM_EndUserTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_endusertable = await LiteLLM_EndUserTable.prisma().upsert(
            where={
                'user_id': 'ffhgghde',
            },
            data={
                'create': {
                    'user_id': 'ffhgghde',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   F  r  z"LiteLLM_EndUserTableActions.upsert1types.LiteLLM_EndUserTableUpdateManyMutationInput$types.LiteLLM_EndUserTableWhereInputc                   r   )a:  Update multiple LiteLLM_EndUserTable records

        Parameters
        ----------
        data
            LiteLLM_EndUserTable data to update the selected LiteLLM_EndUserTable records to
        where
            Filter to select the LiteLLM_EndUserTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_EndUserTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_EndUserTable records
        total = await LiteLLM_EndUserTable.prisma().update_many(
            data={
                'budget_id': 'ibcadcejf'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   G  r   z'LiteLLM_EndUserTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_EndUserTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_EndUserTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_EndUserTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_EndUserTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_EndUserTable.prisma().count()

        # results: prisma.types.LiteLLM_EndUserTableCountAggregateOutput
        results = await LiteLLM_EndUserTable.prisma().count(
            select={
                '_all': True,
                'object_permission_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   HG  r   z!LiteLLM_EndUserTableActions.count-types.LiteLLM_EndUserTableCountAggregateInput.types.LiteLLM_EndUserTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   G  r   7Optional[types.LiteLLM_EndUserTableCountAggregateInput]:Union[int, types.LiteLLM_EndUserTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_EndUserTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_EndUserTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_EndUserTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_EndUserTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_EndUserTable.prisma().count()

        # results: prisma.types.LiteLLM_EndUserTableCountAggregateOutput
        results = await LiteLLM_EndUserTable.prisma().count(
            select={
                '_all': True,
                'blocked': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   G  r   z4LiteLLM_EndUserTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   (LiteLLM_EndUserTableCountAggregateOutputr   r5   r5   r6   r_   G  r   c                   r   )as  Delete multiple LiteLLM_EndUserTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_EndUserTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_EndUserTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_EndUserTable records
        total = await LiteLLM_EndUserTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   G  r   z'LiteLLM_EndUserTableActions.delete_manyr   r   1List['types.LiteLLM_EndUserTableScalarFieldKeys']0Optional['types.LiteLLM_EndUserTableWhereInput']r   7Optional['types.LiteLLM_EndUserTableAvgAggregateInput']r   7Optional['types.LiteLLM_EndUserTableSumAggregateInput']r   7Optional['types.LiteLLM_EndUserTableMinAggregateInput']r   7Optional['types.LiteLLM_EndUserTableMaxAggregateInput']r   DOptional['types.LiteLLM_EndUserTableScalarWhereWithAggregatesInput']r_   FOptional[Union[bool, 'types.LiteLLM_EndUserTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_EndUserTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_EndUserTableScalarFieldKeys', 'types.SortOrder']]]]/List['types.LiteLLM_EndUserTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_EndUserTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_EndUserTable fields to group records by
        where
            LiteLLM_EndUserTable filter to select records
        take
            Limit the maximum number of LiteLLM_EndUserTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_EndUserTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_EndUserTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_EndUserTable records by user_id values
        # and count how many records are in each group
        results = await LiteLLM_EndUserTable.prisma().group_by(
            ['user_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   	H  r   z$LiteLLM_EndUserTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  ~D  r  r  c                   @  r'   ){LiteLLM_TagTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   H  r8   z LiteLLM_TagTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_TagTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_TagTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_TagTable WHERE tag_name = $1',
            'bdcdfgccdg',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   H  rA   z!LiteLLM_TagTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_TagTable.prisma().query_first(
            'SELECT * FROM LiteLLM_TagTable WHERE description = $1',
            'edhjgdfh',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   H  rE   z#LiteLLM_TagTableActions.query_firstNrF   !types.LiteLLM_TagTableCreateInputrH   'Optional[types.LiteLLM_TagTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_TagTable record.

        Parameters
        ----------
        data
            LiteLLM_TagTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The created LiteLLM_TagTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_TagTable record from just the required fields
        litellm_tagtable = await LiteLLM_TagTable.prisma().create(
            data={
                # data to create a LiteLLM_TagTable record
                'tag_name': 'bdeffdadda',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   H  ru   zLiteLLM_TagTableActions.createrV   7List[types.LiteLLM_TagTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	aZ  Create multiple LiteLLM_TagTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_TagTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_TagTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_TagTable record
                    'tag_name': 'bjgfdihchf',
                },
                {
                    # data to create a LiteLLM_TagTable record
                    'tag_name': 'iaeihdeei',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   I  r  z#LiteLLM_TagTableActions.create_manyrg   &types.LiteLLM_TagTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_TagTable record.

        Parameters
        ----------
        where
            LiteLLM_TagTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The deleted LiteLLM_TagTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tagtable = await LiteLLM_TagTable.prisma().delete(
            where={
                'tag_name': 'bfggejgfbd',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   DI  ro   zLiteLLM_TagTableActions.deletec                   rp   )a  Find a unique LiteLLM_TagTable record.

        Parameters
        ----------
        where
            LiteLLM_TagTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The found LiteLLM_TagTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tagtable = await LiteLLM_TagTable.prisma().find_unique(
            where={
                'tag_name': 'ifaaaedja',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   xI  rs   z#LiteLLM_TagTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_TagTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_TagTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The found LiteLLM_TagTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tagtable = await LiteLLM_TagTable.prisma().find_unique_or_raise(
            where={
                'tag_name': 'cbajdjjabf',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   I  ru   z,LiteLLM_TagTableActions.find_unique_or_raiserv   rw   rx   *Optional[types.LiteLLM_TagTableWhereInput]rz   0Optional[types.LiteLLM_TagTableWhereUniqueInput]r|   ]Optional[Union[types.LiteLLM_TagTableOrderByInput, List[types.LiteLLM_TagTableOrderByInput]]]r~   5Optional[List[types.LiteLLM_TagTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_TagTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_TagTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_TagTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model
        order
            Order the returned LiteLLM_TagTable records by any field
        distinct
            Filter LiteLLM_TagTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_TagTable]
            The list of all LiteLLM_TagTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_TagTable records
        litellm_tagtables = await LiteLLM_TagTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_TagTable records ordered by the models field
        litellm_tagtables = await LiteLLM_TagTable.prisma().find_many(
            take=5,
            order={
                'models': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r    J  r   z5LiteLLM_TagTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   I  r   z!LiteLLM_TagTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_TagTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_TagTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model
        order
            Order the returned LiteLLM_TagTable records by any field
        distinct
            Filter LiteLLM_TagTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The first LiteLLM_TagTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_TagTable record ordered by the model_info field
        litellm_tagtable = await LiteLLM_TagTable.prisma().find_first(
            skip=1,
            order={
                'model_info': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   "J  r   z"LiteLLM_TagTableActions.find_firstc              
     r   )ah  Find a single LiteLLM_TagTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_TagTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model
        order
            Order the returned LiteLLM_TagTable records by any field
        distinct
            Filter LiteLLM_TagTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The first LiteLLM_TagTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_TagTable record ordered by the spend field
        litellm_tagtable = await LiteLLM_TagTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'spend': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   fJ  r   z+LiteLLM_TagTableActions.find_first_or_raise!types.LiteLLM_TagTableUpdateInputc                   r   )a  Update a single LiteLLM_TagTable record.

        Parameters
        ----------
        data
            LiteLLM_TagTable record data specifying what to update
        where
            LiteLLM_TagTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The updated LiteLLM_TagTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_tagtable = await LiteLLM_TagTable.prisma().update(
            where={
                'tag_name': 'bcicggedea',
            },
            data={
                # data to update the LiteLLM_TagTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   J  r   zLiteLLM_TagTableActions.update!types.LiteLLM_TagTableUpsertInputc              	     r   )	al  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_TagTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_TagTable model

        Returns
        -------
        prisma.models.LiteLLM_TagTable
            The created or updated LiteLLM_TagTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tagtable = await LiteLLM_TagTable.prisma().upsert(
            where={
                'tag_name': 'cebcdadjh',
            },
            data={
                'create': {
                    'tag_name': 'cebcdadjh',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   J  r  zLiteLLM_TagTableActions.upsert-types.LiteLLM_TagTableUpdateManyMutationInput types.LiteLLM_TagTableWhereInputc                   r   )a  Update multiple LiteLLM_TagTable records

        Parameters
        ----------
        data
            LiteLLM_TagTable data to update the selected LiteLLM_TagTable records to
        where
            Filter to select the LiteLLM_TagTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_TagTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_TagTable records
        total = await LiteLLM_TagTable.prisma().update_many(
            data={
                'budget_id': 'ehfigdgac'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   K  r   z#LiteLLM_TagTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_TagTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_TagTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_TagTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_TagTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_TagTable.prisma().count()

        # results: prisma.types.LiteLLM_TagTableCountAggregateOutput
        results = await LiteLLM_TagTable.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   EK  r   zLiteLLM_TagTableActions.count)types.LiteLLM_TagTableCountAggregateInput*types.LiteLLM_TagTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   ~K  r   3Optional[types.LiteLLM_TagTableCountAggregateInput]6Union[int, types.LiteLLM_TagTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_TagTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_TagTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_TagTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_TagTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_TagTable.prisma().count()

        # results: prisma.types.LiteLLM_TagTableCountAggregateOutput
        results = await LiteLLM_TagTable.prisma().count(
            select={
                '_all': True,
                'created_by': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   K  r   z0LiteLLM_TagTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   $LiteLLM_TagTableCountAggregateOutputr   r5   r5   r6   r_   K  r   c                   r   )a_  Delete multiple LiteLLM_TagTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_TagTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_TagTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_TagTable records
        total = await LiteLLM_TagTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   K  r   z#LiteLLM_TagTableActions.delete_manyr   r   -List['types.LiteLLM_TagTableScalarFieldKeys'],Optional['types.LiteLLM_TagTableWhereInput']r   3Optional['types.LiteLLM_TagTableAvgAggregateInput']r   3Optional['types.LiteLLM_TagTableSumAggregateInput']r   3Optional['types.LiteLLM_TagTableMinAggregateInput']r   3Optional['types.LiteLLM_TagTableMaxAggregateInput']r   @Optional['types.LiteLLM_TagTableScalarWhereWithAggregatesInput']r_   BOptional[Union[bool, 'types.LiteLLM_TagTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_TagTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_TagTableScalarFieldKeys', 'types.SortOrder']]]]+List['types.LiteLLM_TagTableGroupByOutput']c       
      
     r   )af  Group LiteLLM_TagTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_TagTable fields to group records by
        where
            LiteLLM_TagTable filter to select records
        take
            Limit the maximum number of LiteLLM_TagTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_TagTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_TagTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_TagTable records by updated_at values
        # and count how many records are in each group
        results = await LiteLLM_TagTable.prisma().group_by(
            ['updated_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   L  r   z LiteLLM_TagTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r   r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  {H  r  r  c                   @  r'   ){LiteLLM_ConfigActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   ~L  r8   zLiteLLM_ConfigActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_Config]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_Config.prisma().query_raw(
            'SELECT * FROM LiteLLM_Config WHERE param_name = $1',
            'bhbgccijjf',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   L  rA   zLiteLLM_ConfigActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_Config
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_Config.prisma().query_first(
            'SELECT * FROM LiteLLM_Config WHERE param_value = $1',
            Json({'bigjhdgbjc': True}),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   L  rE   z!LiteLLM_ConfigActions.query_firstNrF   types.LiteLLM_ConfigCreateInputrH   %Optional[types.LiteLLM_ConfigInclude]r%   c                   rJ   )a  Create a new LiteLLM_Config record.

        Parameters
        ----------
        data
            LiteLLM_Config record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model

        Returns
        -------
        prisma.models.LiteLLM_Config
            The created LiteLLM_Config record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_Config record from just the required fields
        litellm_config = await LiteLLM_Config.prisma().create(
            data={
                # data to create a LiteLLM_Config record
                'param_name': 'bfifdebhfd',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   L  ru   zLiteLLM_ConfigActions.createrV   5List[types.LiteLLM_ConfigCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	aS  Create multiple LiteLLM_Config records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_Config record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_Config.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_Config record
                    'param_name': 'cjchbjde',
                },
                {
                    # data to create a LiteLLM_Config record
                    'param_name': 'bfiibjcehj',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\    M  r  z!LiteLLM_ConfigActions.create_manyrg   $types.LiteLLM_ConfigWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_Config record.

        Parameters
        ----------
        where
            LiteLLM_Config filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model

        Returns
        -------
        prisma.models.LiteLLM_Config
            The deleted LiteLLM_Config record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_config = await LiteLLM_Config.prisma().delete(
            where={
                'param_name': 'ijieafghg',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   AM  ro   zLiteLLM_ConfigActions.deletec                   rp   )a  Find a unique LiteLLM_Config record.

        Parameters
        ----------
        where
            LiteLLM_Config filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model

        Returns
        -------
        prisma.models.LiteLLM_Config
            The found LiteLLM_Config record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_config = await LiteLLM_Config.prisma().find_unique(
            where={
                'param_name': 'hhhegahcf',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   uM  rs   z!LiteLLM_ConfigActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_Config record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_Config filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model

        Returns
        -------
        prisma.models.LiteLLM_Config
            The found LiteLLM_Config record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_config = await LiteLLM_Config.prisma().find_unique_or_raise(
            where={
                'param_name': 'edhijefdi',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   M  ru   z*LiteLLM_ConfigActions.find_unique_or_raiserv   rw   rx   (Optional[types.LiteLLM_ConfigWhereInput]rz   .Optional[types.LiteLLM_ConfigWhereUniqueInput]r|   YOptional[Union[types.LiteLLM_ConfigOrderByInput, List[types.LiteLLM_ConfigOrderByInput]]]r~   3Optional[List[types.LiteLLM_ConfigScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_Config records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_Config records returned
        skip
            Ignore the first N results
        where
            LiteLLM_Config filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model
        order
            Order the returned LiteLLM_Config records by any field
        distinct
            Filter LiteLLM_Config records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_Config]
            The list of all LiteLLM_Config records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_Config records
        litellm_configs = await LiteLLM_Config.prisma().find_many(take=10)

        # find the first 5 LiteLLM_Config records ordered by the param_name field
        litellm_configs = await LiteLLM_Config.prisma().find_many(
            take=5,
            order={
                'param_name': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   N  r   z3LiteLLM_ConfigActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   M  r   zLiteLLM_ConfigActions.find_manyc           	   
     r   )a
  Find a single LiteLLM_Config record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_Config filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model
        order
            Order the returned LiteLLM_Config records by any field
        distinct
            Filter LiteLLM_Config records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_Config
            The first LiteLLM_Config record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_Config record ordered by the param_value field
        litellm_config = await LiteLLM_Config.prisma().find_first(
            skip=1,
            order={
                'param_value': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   N  r   z LiteLLM_ConfigActions.find_firstc              
     r   )a^  Find a single LiteLLM_Config record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_Config filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model
        order
            Order the returned LiteLLM_Config records by any field
        distinct
            Filter LiteLLM_Config records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_Config
            The first LiteLLM_Config record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_Config record ordered by the param_name field
        litellm_config = await LiteLLM_Config.prisma().find_first_or_raise(
            skip=1,
            order={
                'param_name': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   cN  r   z)LiteLLM_ConfigActions.find_first_or_raisetypes.LiteLLM_ConfigUpdateInputc                   r   )a  Update a single LiteLLM_Config record.

        Parameters
        ----------
        data
            LiteLLM_Config record data specifying what to update
        where
            LiteLLM_Config filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model

        Returns
        -------
        prisma.models.LiteLLM_Config
            The updated LiteLLM_Config record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_config = await LiteLLM_Config.prisma().update(
            where={
                'param_name': 'djddecjhb',
            },
            data={
                # data to update the LiteLLM_Config record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   N  r   zLiteLLM_ConfigActions.updatetypes.LiteLLM_ConfigUpsertInputc              	     r   )	ad  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_Config filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_Config model

        Returns
        -------
        prisma.models.LiteLLM_Config
            The created or updated LiteLLM_Config record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_config = await LiteLLM_Config.prisma().upsert(
            where={
                'param_name': 'bgdicjhie',
            },
            data={
                'create': {
                    'param_name': 'bgdicjhie',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   N  r  zLiteLLM_ConfigActions.upsert+types.LiteLLM_ConfigUpdateManyMutationInputtypes.LiteLLM_ConfigWhereInputc                   r   )a   Update multiple LiteLLM_Config records

        Parameters
        ----------
        data
            LiteLLM_Config data to update the selected LiteLLM_Config records to
        where
            Filter to select the LiteLLM_Config records to update

        Returns
        -------
        int
            The total number of LiteLLM_Config records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_Config records
        total = await LiteLLM_Config.prisma().update_many(
            data={
                'param_value': Json({'ceibfcgij': True})
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   O  r   z!LiteLLM_ConfigActions.update_manyr   c                   r   )a  Count the number of LiteLLM_Config records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_Config fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_Config filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ConfigCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_Config.prisma().count()

        # results: prisma.types.LiteLLM_ConfigCountAggregateOutput
        results = await LiteLLM_Config.prisma().count(
            select={
                '_all': True,
                'param_name': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   BO  r   zLiteLLM_ConfigActions.count'types.LiteLLM_ConfigCountAggregateInput(types.LiteLLM_ConfigCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   {O  r   1Optional[types.LiteLLM_ConfigCountAggregateInput]4Union[int, types.LiteLLM_ConfigCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_Config records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_Config fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_Config filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ConfigCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_Config.prisma().count()

        # results: prisma.types.LiteLLM_ConfigCountAggregateOutput
        results = await LiteLLM_Config.prisma().count(
            select={
                '_all': True,
                'param_value': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   O  r   z.LiteLLM_ConfigActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   "LiteLLM_ConfigCountAggregateOutputr   r5   r5   r6   r_   O  r   c                   r   )aU  Delete multiple LiteLLM_Config records.

        Parameters
        ----------
        where
            Optional LiteLLM_Config filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_Config records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_Config records
        total = await LiteLLM_Config.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   O  r   z!LiteLLM_ConfigActions.delete_manyr   r   +List['types.LiteLLM_ConfigScalarFieldKeys']*Optional['types.LiteLLM_ConfigWhereInput']r   1Optional['types.LiteLLM_ConfigAvgAggregateInput']r   1Optional['types.LiteLLM_ConfigSumAggregateInput']r   1Optional['types.LiteLLM_ConfigMinAggregateInput']r   1Optional['types.LiteLLM_ConfigMaxAggregateInput']r   >Optional['types.LiteLLM_ConfigScalarWhereWithAggregatesInput']r_   @Optional[Union[bool, 'types.LiteLLM_ConfigCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ConfigScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ConfigScalarFieldKeys', 'types.SortOrder']]]])List['types.LiteLLM_ConfigGroupByOutput']c       
      
     r   )aV  Group LiteLLM_Config records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_Config fields to group records by
        where
            LiteLLM_Config filter to select records
        take
            Limit the maximum number of LiteLLM_Config records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ConfigGroupByOutput]
            A list of dictionaries representing the LiteLLM_Config record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_Config records by param_name values
        # and count how many records are in each group
        results = await LiteLLM_Config.prisma().group_by(
            ['param_name'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   P  r   zLiteLLM_ConfigActions.group_byr   r   r   r2   )rF   r  rH   r	  r/   r%   )rF   r
  rW   rY   r/   r   )rg   r  rH   r	  r/   rB   )rg   r  rH   r	  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r	  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r	  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r	  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r	  r/   rB   )rg   r  rF   r  rH   r	  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r   r|   r!  r/   r"  r   r5   r5   r5   r6   r  xL  r  r  c                   @  r'   ){LiteLLM_SpendLogsActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   {P  r8   z!LiteLLM_SpendLogsActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_SpendLogs]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_SpendLogs.prisma().query_raw(
            'SELECT * FROM LiteLLM_SpendLogs WHERE request_id = $1',
            'debhbfada',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   P  rA   z"LiteLLM_SpendLogsActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_SpendLogs.prisma().query_first(
            'SELECT * FROM LiteLLM_SpendLogs WHERE call_type = $1',
            'bgjchggecd',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   P  rE   z$LiteLLM_SpendLogsActions.query_firstNrF   "types.LiteLLM_SpendLogsCreateInputrH   (Optional[types.LiteLLM_SpendLogsInclude]r%   c                   rJ   )aW  Create a new LiteLLM_SpendLogs record.

        Parameters
        ----------
        data
            LiteLLM_SpendLogs record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The created LiteLLM_SpendLogs record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_SpendLogs record from just the required fields
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().create(
            data={
                # data to create a LiteLLM_SpendLogs record
                'request_id': 'igggcfjg',
                'call_type': 'bgjhijffjh',
                'startTime': datetime.datetime.utcnow(),
                'endTime': datetime.datetime.utcnow(),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   P  r  zLiteLLM_SpendLogsActions.createrV   8List[types.LiteLLM_SpendLogsCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_SpendLogs records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_SpendLogs record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_SpendLogs.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_SpendLogs record
                    'request_id': 'bcigdhache',
                    'call_type': 'igefhgdhb',
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
                {
                    # data to create a LiteLLM_SpendLogs record
                    'request_id': 'ejbiifbae',
                    'call_type': 'djcfgedjd',
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\    Q  r  z$LiteLLM_SpendLogsActions.create_manyrg   'types.LiteLLM_SpendLogsWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_SpendLogs record.

        Parameters
        ----------
        where
            LiteLLM_SpendLogs filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The deleted LiteLLM_SpendLogs record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().delete(
            where={
                'request_id': 'bdbjcdegag',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   GQ  ro   zLiteLLM_SpendLogsActions.deletec                   rp   )a  Find a unique LiteLLM_SpendLogs record.

        Parameters
        ----------
        where
            LiteLLM_SpendLogs filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The found LiteLLM_SpendLogs record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().find_unique(
            where={
                'request_id': 'hbchfebch',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   {Q  rs   z$LiteLLM_SpendLogsActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_SpendLogs record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_SpendLogs filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The found LiteLLM_SpendLogs record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().find_unique_or_raise(
            where={
                'request_id': 'bcjjffegfc',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   Q  ru   z-LiteLLM_SpendLogsActions.find_unique_or_raiserv   rw   rx   +Optional[types.LiteLLM_SpendLogsWhereInput]rz   1Optional[types.LiteLLM_SpendLogsWhereUniqueInput]r|   _Optional[Union[types.LiteLLM_SpendLogsOrderByInput, List[types.LiteLLM_SpendLogsOrderByInput]]]r~   6Optional[List[types.LiteLLM_SpendLogsScalarFieldKeys]]c           	        r   )	a
  Find multiple LiteLLM_SpendLogs records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_SpendLogs records returned
        skip
            Ignore the first N results
        where
            LiteLLM_SpendLogs filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model
        order
            Order the returned LiteLLM_SpendLogs records by any field
        distinct
            Filter LiteLLM_SpendLogs records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_SpendLogs]
            The list of all LiteLLM_SpendLogs records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_SpendLogs records
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().find_many(take=10)

        # find the first 5 LiteLLM_SpendLogs records ordered by the api_key field
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().find_many(
            take=5,
            order={
                'api_key': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   #R  r   z6LiteLLM_SpendLogsActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   Q  r   z"LiteLLM_SpendLogsActions.find_manyc           	   
     r   )a  Find a single LiteLLM_SpendLogs record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogs filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model
        order
            Order the returned LiteLLM_SpendLogs records by any field
        distinct
            Filter LiteLLM_SpendLogs records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The first LiteLLM_SpendLogs record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SpendLogs record ordered by the spend field
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().find_first(
            skip=1,
            order={
                'spend': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   %R  r   z#LiteLLM_SpendLogsActions.find_firstc              
     r   )a  Find a single LiteLLM_SpendLogs record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogs filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model
        order
            Order the returned LiteLLM_SpendLogs records by any field
        distinct
            Filter LiteLLM_SpendLogs records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The first LiteLLM_SpendLogs record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SpendLogs record ordered by the total_tokens field
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().find_first_or_raise(
            skip=1,
            order={
                'total_tokens': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   iR  r   z,LiteLLM_SpendLogsActions.find_first_or_raise"types.LiteLLM_SpendLogsUpdateInputc                   r   )a  Update a single LiteLLM_SpendLogs record.

        Parameters
        ----------
        data
            LiteLLM_SpendLogs record data specifying what to update
        where
            LiteLLM_SpendLogs filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The updated LiteLLM_SpendLogs record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().update(
            where={
                'request_id': 'cahaeaicjd',
            },
            data={
                # data to update the LiteLLM_SpendLogs record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   R  r   zLiteLLM_SpendLogsActions.update"types.LiteLLM_SpendLogsUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_SpendLogs filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogs model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogs
            The created or updated LiteLLM_SpendLogs record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogs = await LiteLLM_SpendLogs.prisma().upsert(
            where={
                'request_id': 'ibbjaacbi',
            },
            data={
                'create': {
                    'request_id': 'ibbjaacbi',
                    'call_type': 'djcfgedjd',
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
                'update': {
                    'call_type': 'djcfgedjd',
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   R  rL  zLiteLLM_SpendLogsActions.upsert.types.LiteLLM_SpendLogsUpdateManyMutationInput!types.LiteLLM_SpendLogsWhereInputc                   r   )a'  Update multiple LiteLLM_SpendLogs records

        Parameters
        ----------
        data
            LiteLLM_SpendLogs data to update the selected LiteLLM_SpendLogs records to
        where
            Filter to select the LiteLLM_SpendLogs records to update

        Returns
        -------
        int
            The total number of LiteLLM_SpendLogs records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_SpendLogs records
        total = await LiteLLM_SpendLogs.prisma().update_many(
            data={
                'prompt_tokens': 396021227
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   "S  r   z$LiteLLM_SpendLogsActions.update_manyr   c                   r   )a  Count the number of LiteLLM_SpendLogs records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SpendLogs fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogs filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SpendLogsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SpendLogs.prisma().count()

        # results: prisma.types.LiteLLM_SpendLogsCountAggregateOutput
        results = await LiteLLM_SpendLogs.prisma().count(
            select={
                '_all': True,
                'completion_tokens': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   NS  r   zLiteLLM_SpendLogsActions.count*types.LiteLLM_SpendLogsCountAggregateInput+types.LiteLLM_SpendLogsCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   S  r   4Optional[types.LiteLLM_SpendLogsCountAggregateInput]7Union[int, types.LiteLLM_SpendLogsCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_SpendLogs records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SpendLogs fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogs filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SpendLogsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SpendLogs.prisma().count()

        # results: prisma.types.LiteLLM_SpendLogsCountAggregateOutput
        results = await LiteLLM_SpendLogs.prisma().count(
            select={
                '_all': True,
                'startTime': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   S  r   z1LiteLLM_SpendLogsActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   %LiteLLM_SpendLogsCountAggregateOutputr   r5   r5   r6   r_   S  r   c                   r   )ad  Delete multiple LiteLLM_SpendLogs records.

        Parameters
        ----------
        where
            Optional LiteLLM_SpendLogs filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_SpendLogs records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_SpendLogs records
        total = await LiteLLM_SpendLogs.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   S  r   z$LiteLLM_SpendLogsActions.delete_manyr   r   .List['types.LiteLLM_SpendLogsScalarFieldKeys']-Optional['types.LiteLLM_SpendLogsWhereInput']r   4Optional['types.LiteLLM_SpendLogsAvgAggregateInput']r   4Optional['types.LiteLLM_SpendLogsSumAggregateInput']r   4Optional['types.LiteLLM_SpendLogsMinAggregateInput']r   4Optional['types.LiteLLM_SpendLogsMaxAggregateInput']r   AOptional['types.LiteLLM_SpendLogsScalarWhereWithAggregatesInput']r_   COptional[Union[bool, 'types.LiteLLM_SpendLogsCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_SpendLogsScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_SpendLogsScalarFieldKeys', 'types.SortOrder']]]],List['types.LiteLLM_SpendLogsGroupByOutput']c       
      
     r   )ah  Group LiteLLM_SpendLogs records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_SpendLogs fields to group records by
        where
            LiteLLM_SpendLogs filter to select records
        take
            Limit the maximum number of LiteLLM_SpendLogs records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_SpendLogsGroupByOutput]
            A list of dictionaries representing the LiteLLM_SpendLogs record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_SpendLogs records by endTime values
        # and count how many records are in each group
        results = await LiteLLM_SpendLogs.prisma().group_by(
            ['endTime'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   T  r   z!LiteLLM_SpendLogsActions.group_byr   r   r   r2   )rF   r$  rH   r%  r/   r%   )rF   r&  rW   rY   r/   r   )rg   r'  rH   r%  r/   rB   )rg   r'  rH   r%  r/   r%   r   )rv   rw   rx   rw   rg   r(  rz   r)  rH   r%  r|   r*  r~   r+  r/   r<   r   )rx   rw   rg   r(  rz   r)  rH   r%  r|   r*  r~   r+  r/   rB   )rx   rw   rg   r(  rz   r)  rH   r%  r|   r*  r~   r+  r/   r%   )rF   r,  rg   r'  rH   r%  r/   rB   )rg   r'  rF   r-  rH   r%  r/   r%   )rF   r.  rg   r/  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r(  rz   r)  r/   r   r   )r   r0  rv   rw   rx   rw   rg   r(  rz   r)  r/   r1  )r   r2  rv   rw   rx   rw   rg   r(  rz   r)  r/   r3  )rg   r(  r/   r   )r   r5  rg   r6  rv   rw   rx   rw   r   r7  r   r8  r   r9  r   r:  r   r;  r_   r<  r|   r=  r/   r>  r   r5   r5   r5   r6   r#  uP      


&+7J762IFD=
@,8W,r#  c                   @  r'   ){LiteLLM_ErrorLogsActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   T  r8   z!LiteLLM_ErrorLogsActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ErrorLogs]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ErrorLogs.prisma().query_raw(
            'SELECT * FROM LiteLLM_ErrorLogs WHERE request_id = $1',
            'geeeegace',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   T  rA   z"LiteLLM_ErrorLogsActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ErrorLogs.prisma().query_first(
            'SELECT * FROM LiteLLM_ErrorLogs WHERE startTime = $1',
            datetime.datetime.utcnow(),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   T  rE   z$LiteLLM_ErrorLogsActions.query_firstNrF   "types.LiteLLM_ErrorLogsCreateInputrH   (Optional[types.LiteLLM_ErrorLogsInclude]r%   c                   rJ   )a  Create a new LiteLLM_ErrorLogs record.

        Parameters
        ----------
        data
            LiteLLM_ErrorLogs record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The created LiteLLM_ErrorLogs record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ErrorLogs record from just the required fields
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().create(
            data={
                # data to create a LiteLLM_ErrorLogs record
                'startTime': datetime.datetime.utcnow(),
                'endTime': datetime.datetime.utcnow(),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   T  rU   zLiteLLM_ErrorLogsActions.createrV   8List[types.LiteLLM_ErrorLogsCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ErrorLogs records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ErrorLogs record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ErrorLogs.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ErrorLogs record
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
                {
                    # data to create a LiteLLM_ErrorLogs record
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   
U  rf   z$LiteLLM_ErrorLogsActions.create_manyrg   'types.LiteLLM_ErrorLogsWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ErrorLogs record.

        Parameters
        ----------
        where
            LiteLLM_ErrorLogs filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The deleted LiteLLM_ErrorLogs record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().delete(
            where={
                'request_id': 'bbgdigchd',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   MU  ro   zLiteLLM_ErrorLogsActions.deletec                   rp   )a  Find a unique LiteLLM_ErrorLogs record.

        Parameters
        ----------
        where
            LiteLLM_ErrorLogs filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The found LiteLLM_ErrorLogs record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().find_unique(
            where={
                'request_id': 'dajcifgdi',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   U  rs   z$LiteLLM_ErrorLogsActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_ErrorLogs record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ErrorLogs filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The found LiteLLM_ErrorLogs record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().find_unique_or_raise(
            where={
                'request_id': 'ccedhdbj',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   U  ru   z-LiteLLM_ErrorLogsActions.find_unique_or_raiserv   rw   rx   +Optional[types.LiteLLM_ErrorLogsWhereInput]rz   1Optional[types.LiteLLM_ErrorLogsWhereUniqueInput]r|   _Optional[Union[types.LiteLLM_ErrorLogsOrderByInput, List[types.LiteLLM_ErrorLogsOrderByInput]]]r~   6Optional[List[types.LiteLLM_ErrorLogsScalarFieldKeys]]c           	        r   )	a
  Find multiple LiteLLM_ErrorLogs records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ErrorLogs records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ErrorLogs filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model
        order
            Order the returned LiteLLM_ErrorLogs records by any field
        distinct
            Filter LiteLLM_ErrorLogs records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ErrorLogs]
            The list of all LiteLLM_ErrorLogs records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ErrorLogs records
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ErrorLogs records ordered by the endTime field
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().find_many(
            take=5,
            order={
                'endTime': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   )V  r   z6LiteLLM_ErrorLogsActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   U  r   z"LiteLLM_ErrorLogsActions.find_manyc           	   
     r   )a"  Find a single LiteLLM_ErrorLogs record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ErrorLogs filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model
        order
            Order the returned LiteLLM_ErrorLogs records by any field
        distinct
            Filter LiteLLM_ErrorLogs records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The first LiteLLM_ErrorLogs record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ErrorLogs record ordered by the api_base field
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().find_first(
            skip=1,
            order={
                'api_base': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   +V  r   z#LiteLLM_ErrorLogsActions.find_firstc              
     r   )a~  Find a single LiteLLM_ErrorLogs record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ErrorLogs filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model
        order
            Order the returned LiteLLM_ErrorLogs records by any field
        distinct
            Filter LiteLLM_ErrorLogs records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The first LiteLLM_ErrorLogs record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ErrorLogs record ordered by the model_group field
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().find_first_or_raise(
            skip=1,
            order={
                'model_group': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   oV  r   z,LiteLLM_ErrorLogsActions.find_first_or_raise"types.LiteLLM_ErrorLogsUpdateInputc                   r   )a  Update a single LiteLLM_ErrorLogs record.

        Parameters
        ----------
        data
            LiteLLM_ErrorLogs record data specifying what to update
        where
            LiteLLM_ErrorLogs filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The updated LiteLLM_ErrorLogs record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().update(
            where={
                'request_id': 'bjaabjjjce',
            },
            data={
                # data to update the LiteLLM_ErrorLogs record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   V  r   zLiteLLM_ErrorLogsActions.update"types.LiteLLM_ErrorLogsUpsertInputc              	     r   )	ah  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ErrorLogs filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ErrorLogs model

        Returns
        -------
        prisma.models.LiteLLM_ErrorLogs
            The created or updated LiteLLM_ErrorLogs record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_errorlogs = await LiteLLM_ErrorLogs.prisma().upsert(
            where={
                'request_id': 'cafhdcdcjd',
            },
            data={
                'create': {
                    'request_id': 'cafhdcdcjd',
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
                'update': {
                    'startTime': datetime.datetime.utcnow(),
                    'endTime': datetime.datetime.utcnow(),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   V  r   zLiteLLM_ErrorLogsActions.upsert.types.LiteLLM_ErrorLogsUpdateManyMutationInput!types.LiteLLM_ErrorLogsWhereInputc                   r   )a/  Update multiple LiteLLM_ErrorLogs records

        Parameters
        ----------
        data
            LiteLLM_ErrorLogs data to update the selected LiteLLM_ErrorLogs records to
        where
            Filter to select the LiteLLM_ErrorLogs records to update

        Returns
        -------
        int
            The total number of LiteLLM_ErrorLogs records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ErrorLogs records
        total = await LiteLLM_ErrorLogs.prisma().update_many(
            data={
                'litellm_model_name': 'bdeebbhbdi'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   &W  r   z$LiteLLM_ErrorLogsActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ErrorLogs records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ErrorLogs fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ErrorLogs filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ErrorLogsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ErrorLogs.prisma().count()

        # results: prisma.types.LiteLLM_ErrorLogsCountAggregateOutput
        results = await LiteLLM_ErrorLogs.prisma().count(
            select={
                '_all': True,
                'model_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   RW  r   zLiteLLM_ErrorLogsActions.count*types.LiteLLM_ErrorLogsCountAggregateInput+types.LiteLLM_ErrorLogsCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   W  r   4Optional[types.LiteLLM_ErrorLogsCountAggregateInput]7Union[int, types.LiteLLM_ErrorLogsCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ErrorLogs records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ErrorLogs fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ErrorLogs filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ErrorLogsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ErrorLogs.prisma().count()

        # results: prisma.types.LiteLLM_ErrorLogsCountAggregateOutput
        results = await LiteLLM_ErrorLogs.prisma().count(
            select={
                '_all': True,
                'request_kwargs': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   W  r   z1LiteLLM_ErrorLogsActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   %LiteLLM_ErrorLogsCountAggregateOutputr   r5   r5   r6   r_   W  r   c                   r   )ad  Delete multiple LiteLLM_ErrorLogs records.

        Parameters
        ----------
        where
            Optional LiteLLM_ErrorLogs filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ErrorLogs records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ErrorLogs records
        total = await LiteLLM_ErrorLogs.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   W  r   z$LiteLLM_ErrorLogsActions.delete_manyr   r   .List['types.LiteLLM_ErrorLogsScalarFieldKeys']-Optional['types.LiteLLM_ErrorLogsWhereInput']r   4Optional['types.LiteLLM_ErrorLogsAvgAggregateInput']r   4Optional['types.LiteLLM_ErrorLogsSumAggregateInput']r   4Optional['types.LiteLLM_ErrorLogsMinAggregateInput']r   4Optional['types.LiteLLM_ErrorLogsMaxAggregateInput']r   AOptional['types.LiteLLM_ErrorLogsScalarWhereWithAggregatesInput']r_   COptional[Union[bool, 'types.LiteLLM_ErrorLogsCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ErrorLogsScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ErrorLogsScalarFieldKeys', 'types.SortOrder']]]],List['types.LiteLLM_ErrorLogsGroupByOutput']c       
      
     r   )av  Group LiteLLM_ErrorLogs records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ErrorLogs fields to group records by
        where
            LiteLLM_ErrorLogs filter to select records
        take
            Limit the maximum number of LiteLLM_ErrorLogs records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ErrorLogsGroupByOutput]
            A list of dictionaries representing the LiteLLM_ErrorLogs record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ErrorLogs records by exception_type values
        # and count how many records are in each group
        results = await LiteLLM_ErrorLogs.prisma().group_by(
            ['exception_type'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   X  r   z!LiteLLM_ErrorLogsActions.group_byr   r   r   r2   )rF   rA  rH   rB  r/   r%   )rF   rC  rW   rY   r/   r   )rg   rD  rH   rB  r/   rB   )rg   rD  rH   rB  r/   r%   r   )rv   rw   rx   rw   rg   rE  rz   rF  rH   rB  r|   rG  r~   rH  r/   r<   r   )rx   rw   rg   rE  rz   rF  rH   rB  r|   rG  r~   rH  r/   rB   )rx   rw   rg   rE  rz   rF  rH   rB  r|   rG  r~   rH  r/   r%   )rF   rI  rg   rD  rH   rB  r/   rB   )rg   rD  rF   rJ  rH   rB  r/   r%   )rF   rK  rg   rL  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rE  rz   rF  r/   r   r   )r   rM  rv   rw   rx   rw   rg   rE  rz   rF  r/   rN  )r   rO  rv   rw   rx   rw   rg   rE  rz   rF  r/   rP  )rg   rE  r/   r   )r   rR  rg   rS  rv   rw   rx   rw   r   rT  r   rU  r   rV  r   rW  r   rX  r_   rY  r|   rZ  r/   r[  r   r5   r5   r5   r6   r@  T  r   r@  c                   @  r'   ){ LiteLLM_UserNotificationsActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   X  r8   z)LiteLLM_UserNotificationsActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_UserNotifications]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_UserNotifications.prisma().query_raw(
            'SELECT * FROM LiteLLM_UserNotifications WHERE request_id = $1',
            'cafcbdchah',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   X  rA   z*LiteLLM_UserNotificationsActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_UserNotifications.prisma().query_first(
            'SELECT * FROM LiteLLM_UserNotifications WHERE user_id = $1',
            'bdffbehbae',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   X  rE   z,LiteLLM_UserNotificationsActions.query_firstNrF   *types.LiteLLM_UserNotificationsCreateInputrH   0Optional[types.LiteLLM_UserNotificationsInclude]r%   c                   rJ   )a  Create a new LiteLLM_UserNotifications record.

        Parameters
        ----------
        data
            LiteLLM_UserNotifications record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The created LiteLLM_UserNotifications record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_UserNotifications record from just the required fields
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().create(
            data={
                # data to create a LiteLLM_UserNotifications record
                'request_id': 'ieahjgeb',
                'user_id': 'hfeeddceg',
                'justification': 'dbecgbbid',
                'status': 'cchghigae',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   X  r  z'LiteLLM_UserNotificationsActions.createrV   @List[types.LiteLLM_UserNotificationsCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_UserNotifications records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_UserNotifications record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_UserNotifications.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_UserNotifications record
                    'request_id': 'ecdjjjhab',
                    'user_id': 'biachfede',
                    'justification': 'fhgaibff',
                    'status': 'cadajbcbca',
                },
                {
                    # data to create a LiteLLM_UserNotifications record
                    'request_id': 'bjheigfcdd',
                    'user_id': 'bjejigcdcg',
                    'justification': 'bifiiibcah',
                    'status': 'dbjibjdaa',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   Y  r  z,LiteLLM_UserNotificationsActions.create_manyrg   /types.LiteLLM_UserNotificationsWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_UserNotifications record.

        Parameters
        ----------
        where
            LiteLLM_UserNotifications filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The deleted LiteLLM_UserNotifications record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().delete(
            where={
                'request_id': 'dgijbdiaf',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   WY  ro   z'LiteLLM_UserNotificationsActions.deletec                   rp   )a  Find a unique LiteLLM_UserNotifications record.

        Parameters
        ----------
        where
            LiteLLM_UserNotifications filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The found LiteLLM_UserNotifications record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().find_unique(
            where={
                'request_id': 'begfaigba',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   Y  rs   z,LiteLLM_UserNotificationsActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_UserNotifications record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_UserNotifications filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The found LiteLLM_UserNotifications record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().find_unique_or_raise(
            where={
                'request_id': 'bdjiafcgjb',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   Y  ru   z5LiteLLM_UserNotificationsActions.find_unique_or_raiserv   rw   rx   3Optional[types.LiteLLM_UserNotificationsWhereInput]rz   9Optional[types.LiteLLM_UserNotificationsWhereUniqueInput]r|   oOptional[Union[types.LiteLLM_UserNotificationsOrderByInput, List[types.LiteLLM_UserNotificationsOrderByInput]]]r~   >Optional[List[types.LiteLLM_UserNotificationsScalarFieldKeys]]c           	        r   )	ax  Find multiple LiteLLM_UserNotifications records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_UserNotifications records returned
        skip
            Ignore the first N results
        where
            LiteLLM_UserNotifications filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model
        order
            Order the returned LiteLLM_UserNotifications records by any field
        distinct
            Filter LiteLLM_UserNotifications records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_UserNotifications]
            The list of all LiteLLM_UserNotifications records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_UserNotifications records
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().find_many(take=10)

        # find the first 5 LiteLLM_UserNotifications records ordered by the models field
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().find_many(
            take=5,
            order={
                'models': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   3Z  r   z>LiteLLM_UserNotificationsActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   Y  r   z*LiteLLM_UserNotificationsActions.find_manyc           	   
     r   )a|  Find a single LiteLLM_UserNotifications record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_UserNotifications filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model
        order
            Order the returned LiteLLM_UserNotifications records by any field
        distinct
            Filter LiteLLM_UserNotifications records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The first LiteLLM_UserNotifications record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_UserNotifications record ordered by the justification field
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().find_first(
            skip=1,
            order={
                'justification': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   5Z  r   z+LiteLLM_UserNotificationsActions.find_firstc              
     r   )a  Find a single LiteLLM_UserNotifications record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_UserNotifications filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model
        order
            Order the returned LiteLLM_UserNotifications records by any field
        distinct
            Filter LiteLLM_UserNotifications records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The first LiteLLM_UserNotifications record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_UserNotifications record ordered by the status field
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().find_first_or_raise(
            skip=1,
            order={
                'status': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   yZ  r   z4LiteLLM_UserNotificationsActions.find_first_or_raise*types.LiteLLM_UserNotificationsUpdateInputc                   r   )a5  Update a single LiteLLM_UserNotifications record.

        Parameters
        ----------
        data
            LiteLLM_UserNotifications record data specifying what to update
        where
            LiteLLM_UserNotifications filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The updated LiteLLM_UserNotifications record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().update(
            where={
                'request_id': 'bficecgcfg',
            },
            data={
                # data to update the LiteLLM_UserNotifications record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   Z  r   z'LiteLLM_UserNotificationsActions.update*types.LiteLLM_UserNotificationsUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_UserNotifications filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_UserNotifications model

        Returns
        -------
        prisma.models.LiteLLM_UserNotifications
            The created or updated LiteLLM_UserNotifications record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_usernotifications = await LiteLLM_UserNotifications.prisma().upsert(
            where={
                'request_id': 'cbjjeedcj',
            },
            data={
                'create': {
                    'request_id': 'cbjjeedcj',
                    'user_id': 'bjejigcdcg',
                    'justification': 'bifiiibcah',
                    'status': 'dbjibjdaa',
                },
                'update': {
                    'user_id': 'bjejigcdcg',
                    'justification': 'bifiiibcah',
                    'status': 'dbjibjdaa',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   Z  rL  z'LiteLLM_UserNotificationsActions.upsert6types.LiteLLM_UserNotificationsUpdateManyMutationInput)types.LiteLLM_UserNotificationsWhereInputc                   r   )a^  Update multiple LiteLLM_UserNotifications records

        Parameters
        ----------
        data
            LiteLLM_UserNotifications data to update the selected LiteLLM_UserNotifications records to
        where
            Filter to select the LiteLLM_UserNotifications records to update

        Returns
        -------
        int
            The total number of LiteLLM_UserNotifications records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_UserNotifications records
        total = await LiteLLM_UserNotifications.prisma().update_many(
            data={
                'request_id': 'dedgbbhja'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   2[  r   z,LiteLLM_UserNotificationsActions.update_manyr   c                   r   )a  Count the number of LiteLLM_UserNotifications records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_UserNotifications fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_UserNotifications filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_UserNotificationsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_UserNotifications.prisma().count()

        # results: prisma.types.LiteLLM_UserNotificationsCountAggregateOutput
        results = await LiteLLM_UserNotifications.prisma().count(
            select={
                '_all': True,
                'user_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   ^[  r   z&LiteLLM_UserNotificationsActions.count2types.LiteLLM_UserNotificationsCountAggregateInput3types.LiteLLM_UserNotificationsCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   [  r   <Optional[types.LiteLLM_UserNotificationsCountAggregateInput]?Union[int, types.LiteLLM_UserNotificationsCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_UserNotifications records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_UserNotifications fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_UserNotifications filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_UserNotificationsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_UserNotifications.prisma().count()

        # results: prisma.types.LiteLLM_UserNotificationsCountAggregateOutput
        results = await LiteLLM_UserNotifications.prisma().count(
            select={
                '_all': True,
                'models': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   [  r   z9LiteLLM_UserNotificationsActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   -LiteLLM_UserNotificationsCountAggregateOutputr   r5   r5   r6   r_   [  r   c                   r   )a  Delete multiple LiteLLM_UserNotifications records.

        Parameters
        ----------
        where
            Optional LiteLLM_UserNotifications filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_UserNotifications records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_UserNotifications records
        total = await LiteLLM_UserNotifications.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   [  r   z,LiteLLM_UserNotificationsActions.delete_manyr   r   6List['types.LiteLLM_UserNotificationsScalarFieldKeys']5Optional['types.LiteLLM_UserNotificationsWhereInput']r   <Optional['types.LiteLLM_UserNotificationsAvgAggregateInput']r   <Optional['types.LiteLLM_UserNotificationsSumAggregateInput']r   <Optional['types.LiteLLM_UserNotificationsMinAggregateInput']r   <Optional['types.LiteLLM_UserNotificationsMaxAggregateInput']r   IOptional['types.LiteLLM_UserNotificationsScalarWhereWithAggregatesInput']r_   KOptional[Union[bool, 'types.LiteLLM_UserNotificationsCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_UserNotificationsScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_UserNotificationsScalarFieldKeys', 'types.SortOrder']]]]4List['types.LiteLLM_UserNotificationsGroupByOutput']c       
      
     r   )a  Group LiteLLM_UserNotifications records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_UserNotifications fields to group records by
        where
            LiteLLM_UserNotifications filter to select records
        take
            Limit the maximum number of LiteLLM_UserNotifications records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_UserNotificationsGroupByOutput]
            A list of dictionaries representing the LiteLLM_UserNotifications record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_UserNotifications records by justification values
        # and count how many records are in each group
        results = await LiteLLM_UserNotifications.prisma().group_by(
            ['justification'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   \  r   z)LiteLLM_UserNotificationsActions.group_byr   r   r   r2   )rF   r]  rH   r^  r/   r%   )rF   r_  rW   rY   r/   r   )rg   r`  rH   r^  r/   rB   )rg   r`  rH   r^  r/   r%   r   )rv   rw   rx   rw   rg   ra  rz   rb  rH   r^  r|   rc  r~   rd  r/   r<   r   )rx   rw   rg   ra  rz   rb  rH   r^  r|   rc  r~   rd  r/   rB   )rx   rw   rg   ra  rz   rb  rH   r^  r|   rc  r~   rd  r/   r%   )rF   re  rg   r`  rH   r^  r/   rB   )rg   r`  rF   rf  rH   r^  r/   r%   )rF   rg  rg   rh  r/   r   r   )r   r0   rv   rw   rx   rw   rg   ra  rz   rb  r/   r   r   )r   ri  rv   rw   rx   rw   rg   ra  rz   rb  r/   rj  )r   rk  rv   rw   rx   rw   rg   ra  rz   rb  r/   rl  )rg   ra  r/   r   )r   rn  rg   ro  rv   rw   rx   rw   r   rp  r   rq  r   rr  r   rs  r   rt  r_   ru  r|   rv  r/   rw  r   r5   r5   r5   r6   r\  X  r?  r\  c                   @  r'   ){LiteLLM_TeamMembershipActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   \  r8   z&LiteLLM_TeamMembershipActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_TeamMembership]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_TeamMembership.prisma().query_raw(
            'SELECT * FROM LiteLLM_TeamMembership WHERE user_id = $1',
            'cabiahchj',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   \  rA   z'LiteLLM_TeamMembershipActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_TeamMembership.prisma().query_first(
            'SELECT * FROM LiteLLM_TeamMembership WHERE team_id = $1',
            'cgbeccfce',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   \  rE   z)LiteLLM_TeamMembershipActions.query_firstNrF   'types.LiteLLM_TeamMembershipCreateInputrH   -Optional[types.LiteLLM_TeamMembershipInclude]r%   c                   rJ   )a  Create a new LiteLLM_TeamMembership record.

        Parameters
        ----------
        data
            LiteLLM_TeamMembership record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The created LiteLLM_TeamMembership record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_TeamMembership record from just the required fields
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().create(
            data={
                # data to create a LiteLLM_TeamMembership record
                'user_id': 'fcjcagef',
                'team_id': 'bgdhaeacic',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   \  rU   z$LiteLLM_TeamMembershipActions.createrV   =List[types.LiteLLM_TeamMembershipCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_TeamMembership records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_TeamMembership record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_TeamMembership.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_TeamMembership record
                    'user_id': 'caffafcheh',
                    'team_id': 'fjjbegge',
                },
                {
                    # data to create a LiteLLM_TeamMembership record
                    'user_id': 'bdiifhbieb',
                    'team_id': 'cdcaejhgg',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   ]  rf   z)LiteLLM_TeamMembershipActions.create_manyrg   ,types.LiteLLM_TeamMembershipWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_TeamMembership record.

        Parameters
        ----------
        where
            LiteLLM_TeamMembership filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The deleted LiteLLM_TeamMembership record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().delete(
            where={
                # LiteLLM_TeamMembership where unique filter

            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ]]     'z$LiteLLM_TeamMembershipActions.deletec                   rp   )a  Find a unique LiteLLM_TeamMembership record.

        Parameters
        ----------
        where
            LiteLLM_TeamMembership filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The found LiteLLM_TeamMembership record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().find_unique(
            where={
                # LiteLLM_TeamMembership where unique filter

            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   ]     'z)LiteLLM_TeamMembershipActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_TeamMembership record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_TeamMembership filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The found LiteLLM_TeamMembership record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().find_unique_or_raise(
            where={
                # LiteLLM_TeamMembership where unique filter

            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   ]  rU   z2LiteLLM_TeamMembershipActions.find_unique_or_raiserv   rw   rx   0Optional[types.LiteLLM_TeamMembershipWhereInput]rz   6Optional[types.LiteLLM_TeamMembershipWhereUniqueInput]r|   iOptional[Union[types.LiteLLM_TeamMembershipOrderByInput, List[types.LiteLLM_TeamMembershipOrderByInput]]]r~   ;Optional[List[types.LiteLLM_TeamMembershipScalarFieldKeys]]c           	        r   )	aN  Find multiple LiteLLM_TeamMembership records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_TeamMembership records returned
        skip
            Ignore the first N results
        where
            LiteLLM_TeamMembership filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model
        order
            Order the returned LiteLLM_TeamMembership records by any field
        distinct
            Filter LiteLLM_TeamMembership records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_TeamMembership]
            The list of all LiteLLM_TeamMembership records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_TeamMembership records
        litellm_teammemberships = await LiteLLM_TeamMembership.prisma().find_many(take=10)

        # find the first 5 LiteLLM_TeamMembership records ordered by the spend field
        litellm_teammemberships = await LiteLLM_TeamMembership.prisma().find_many(
            take=5,
            order={
                'spend': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   <^  r   z;LiteLLM_TeamMembershipActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   ]  r   z'LiteLLM_TeamMembershipActions.find_manyc           	   
     r   )aV  Find a single LiteLLM_TeamMembership record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_TeamMembership filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model
        order
            Order the returned LiteLLM_TeamMembership records by any field
        distinct
            Filter LiteLLM_TeamMembership records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The first LiteLLM_TeamMembership record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_TeamMembership record ordered by the budget_id field
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().find_first(
            skip=1,
            order={
                'budget_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   >^  r   z(LiteLLM_TeamMembershipActions.find_firstc              
     r   )a  Find a single LiteLLM_TeamMembership record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_TeamMembership filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model
        order
            Order the returned LiteLLM_TeamMembership records by any field
        distinct
            Filter LiteLLM_TeamMembership records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The first LiteLLM_TeamMembership record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_TeamMembership record ordered by the user_id field
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().find_first_or_raise(
            skip=1,
            order={
                'user_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ^  r   z1LiteLLM_TeamMembershipActions.find_first_or_raise'types.LiteLLM_TeamMembershipUpdateInputc                   r   )a,  Update a single LiteLLM_TeamMembership record.

        Parameters
        ----------
        data
            LiteLLM_TeamMembership record data specifying what to update
        where
            LiteLLM_TeamMembership filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The updated LiteLLM_TeamMembership record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().update(
            where={
                # LiteLLM_TeamMembership where unique filter

            },
            data={
                # data to update the LiteLLM_TeamMembership record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   ^     +	z$LiteLLM_TeamMembershipActions.update'types.LiteLLM_TeamMembershipUpsertInputc              	     r   )	a%  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_TeamMembership filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_TeamMembership model

        Returns
        -------
        prisma.models.LiteLLM_TeamMembership
            The created or updated LiteLLM_TeamMembership record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_teammembership = await LiteLLM_TeamMembership.prisma().upsert(
            where={
                # LiteLLM_TeamMembership where unique filter
            },
            data={
                'create': {
                    # LiteLLM_TeamMembership data to be set if the record does not exist
                },
                'update': {
                    # LiteLLM_TeamMembership data to be set if the record does exist
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   ^     /
z$LiteLLM_TeamMembershipActions.upsert3types.LiteLLM_TeamMembershipUpdateManyMutationInput&types.LiteLLM_TeamMembershipWhereInputc                   r   )aF  Update multiple LiteLLM_TeamMembership records

        Parameters
        ----------
        data
            LiteLLM_TeamMembership data to update the selected LiteLLM_TeamMembership records to
        where
            Filter to select the LiteLLM_TeamMembership records to update

        Returns
        -------
        int
            The total number of LiteLLM_TeamMembership records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_TeamMembership records
        total = await LiteLLM_TeamMembership.prisma().update_many(
            data={
                'team_id': 'jbijgfbfj'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   7_  r   z)LiteLLM_TeamMembershipActions.update_manyr   c                   r   )a  Count the number of LiteLLM_TeamMembership records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_TeamMembership fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_TeamMembership filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_TeamMembershipCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_TeamMembership.prisma().count()

        # results: prisma.types.LiteLLM_TeamMembershipCountAggregateOutput
        results = await LiteLLM_TeamMembership.prisma().count(
            select={
                '_all': True,
                'spend': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   c_  r   z#LiteLLM_TeamMembershipActions.count/types.LiteLLM_TeamMembershipCountAggregateInput0types.LiteLLM_TeamMembershipCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   _  r   9Optional[types.LiteLLM_TeamMembershipCountAggregateInput]<Union[int, types.LiteLLM_TeamMembershipCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_TeamMembership records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_TeamMembership fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_TeamMembership filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_TeamMembershipCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_TeamMembership.prisma().count()

        # results: prisma.types.LiteLLM_TeamMembershipCountAggregateOutput
        results = await LiteLLM_TeamMembership.prisma().count(
            select={
                '_all': True,
                'budget_id': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   _  r   z6LiteLLM_TeamMembershipActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   *LiteLLM_TeamMembershipCountAggregateOutputr   r5   r5   r6   r_   _  r   c                   r   )a}  Delete multiple LiteLLM_TeamMembership records.

        Parameters
        ----------
        where
            Optional LiteLLM_TeamMembership filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_TeamMembership records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_TeamMembership records
        total = await LiteLLM_TeamMembership.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   _  r   z)LiteLLM_TeamMembershipActions.delete_manyr   r   3List['types.LiteLLM_TeamMembershipScalarFieldKeys']2Optional['types.LiteLLM_TeamMembershipWhereInput']r   9Optional['types.LiteLLM_TeamMembershipAvgAggregateInput']r   9Optional['types.LiteLLM_TeamMembershipSumAggregateInput']r   9Optional['types.LiteLLM_TeamMembershipMinAggregateInput']r   9Optional['types.LiteLLM_TeamMembershipMaxAggregateInput']r   FOptional['types.LiteLLM_TeamMembershipScalarWhereWithAggregatesInput']r_   HOptional[Union[bool, 'types.LiteLLM_TeamMembershipCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_TeamMembershipScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_TeamMembershipScalarFieldKeys', 'types.SortOrder']]]]1List['types.LiteLLM_TeamMembershipGroupByOutput']c       
      
     r   )a  Group LiteLLM_TeamMembership records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_TeamMembership fields to group records by
        where
            LiteLLM_TeamMembership filter to select records
        take
            Limit the maximum number of LiteLLM_TeamMembership records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_TeamMembershipGroupByOutput]
            A list of dictionaries representing the LiteLLM_TeamMembership record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_TeamMembership records by user_id values
        # and count how many records are in each group
        results = await LiteLLM_TeamMembership.prisma().group_by(
            ['user_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   $`  r   z&LiteLLM_TeamMembershipActions.group_byr   r   r   r2   )rF   ry  rH   rz  r/   r%   )rF   r{  rW   rY   r/   r   )rg   r|  rH   rz  r/   rB   )rg   r|  rH   rz  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   rz  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   rz  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   rz  r|   r  r~   r  r/   r%   )rF   r  rg   r|  rH   rz  r/   rB   )rg   r|  rF   r  rH   rz  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   rx  \      


&+5F873IFD>
;,8W,rx  c                   @  r'   ){%LiteLLM_OrganizationMembershipActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   `  r8   z.LiteLLM_OrganizationMembershipActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_OrganizationMembership]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_OrganizationMembership.prisma().query_raw(
            'SELECT * FROM LiteLLM_OrganizationMembership WHERE user_id = $1',
            'ggfbeddia',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   `  rA   z/LiteLLM_OrganizationMembershipActions.query_rawrB   c                   r=   )a*  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_OrganizationMembership.prisma().query_first(
            'SELECT * FROM LiteLLM_OrganizationMembership WHERE organization_id = $1',
            'djjejdaj',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   `  rE   z1LiteLLM_OrganizationMembershipActions.query_firstNrF   /types.LiteLLM_OrganizationMembershipCreateInputrH   5Optional[types.LiteLLM_OrganizationMembershipInclude]r%   c                   rJ   )aa  Create a new LiteLLM_OrganizationMembership record.

        Parameters
        ----------
        data
            LiteLLM_OrganizationMembership record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The created LiteLLM_OrganizationMembership record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_OrganizationMembership record from just the required fields
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().create(
            data={
                # data to create a LiteLLM_OrganizationMembership record
                'user_id': 'bjabbfceji',
                'organization_id': 'bgchfbjibb',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   `  rU   z,LiteLLM_OrganizationMembershipActions.createrV   EList[types.LiteLLM_OrganizationMembershipCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_OrganizationMembership records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_OrganizationMembership record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_OrganizationMembership.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_OrganizationMembership record
                    'user_id': 'bajecchdjc',
                    'organization_id': 'dfgacajif',
                },
                {
                    # data to create a LiteLLM_OrganizationMembership record
                    'user_id': 'bgdiddfadi',
                    'organization_id': 'bijbfghhhf',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   a  rf   z1LiteLLM_OrganizationMembershipActions.create_manyrg   4types.LiteLLM_OrganizationMembershipWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_OrganizationMembership record.

        Parameters
        ----------
        where
            LiteLLM_OrganizationMembership filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The deleted LiteLLM_OrganizationMembership record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().delete(
            where={
                # LiteLLM_OrganizationMembership where unique filter

            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ba  r}  z,LiteLLM_OrganizationMembershipActions.deletec                   rp   )a  Find a unique LiteLLM_OrganizationMembership record.

        Parameters
        ----------
        where
            LiteLLM_OrganizationMembership filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The found LiteLLM_OrganizationMembership record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().find_unique(
            where={
                # LiteLLM_OrganizationMembership where unique filter

            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   a  r~  z1LiteLLM_OrganizationMembershipActions.find_uniquec                   rJ   )aX  Find a unique LiteLLM_OrganizationMembership record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_OrganizationMembership filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The found LiteLLM_OrganizationMembership record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().find_unique_or_raise(
            where={
                # LiteLLM_OrganizationMembership where unique filter

            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   a  rU   z:LiteLLM_OrganizationMembershipActions.find_unique_or_raiserv   rw   rx   8Optional[types.LiteLLM_OrganizationMembershipWhereInput]rz   >Optional[types.LiteLLM_OrganizationMembershipWhereUniqueInput]r|   yOptional[Union[types.LiteLLM_OrganizationMembershipOrderByInput, List[types.LiteLLM_OrganizationMembershipOrderByInput]]]r~   COptional[List[types.LiteLLM_OrganizationMembershipScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_OrganizationMembership records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_OrganizationMembership records returned
        skip
            Ignore the first N results
        where
            LiteLLM_OrganizationMembership filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model
        order
            Order the returned LiteLLM_OrganizationMembership records by any field
        distinct
            Filter LiteLLM_OrganizationMembership records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_OrganizationMembership]
            The list of all LiteLLM_OrganizationMembership records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_OrganizationMembership records
        litellm_organizationmemberships = await LiteLLM_OrganizationMembership.prisma().find_many(take=10)

        # find the first 5 LiteLLM_OrganizationMembership records ordered by the user_role field
        litellm_organizationmemberships = await LiteLLM_OrganizationMembership.prisma().find_many(
            take=5,
            order={
                'user_role': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   Ab  r   zCLiteLLM_OrganizationMembershipActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   a  r   z/LiteLLM_OrganizationMembershipActions.find_manyc           	   
     r   )a  Find a single LiteLLM_OrganizationMembership record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationMembership filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model
        order
            Order the returned LiteLLM_OrganizationMembership records by any field
        distinct
            Filter LiteLLM_OrganizationMembership records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The first LiteLLM_OrganizationMembership record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_OrganizationMembership record ordered by the spend field
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().find_first(
            skip=1,
            order={
                'spend': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   Cb  r   z0LiteLLM_OrganizationMembershipActions.find_firstc              
     r   )a  Find a single LiteLLM_OrganizationMembership record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationMembership filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model
        order
            Order the returned LiteLLM_OrganizationMembership records by any field
        distinct
            Filter LiteLLM_OrganizationMembership records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The first LiteLLM_OrganizationMembership record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_OrganizationMembership record ordered by the budget_id field
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().find_first_or_raise(
            skip=1,
            order={
                'budget_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   b  r   z9LiteLLM_OrganizationMembershipActions.find_first_or_raise/types.LiteLLM_OrganizationMembershipUpdateInputc                   r   )a|  Update a single LiteLLM_OrganizationMembership record.

        Parameters
        ----------
        data
            LiteLLM_OrganizationMembership record data specifying what to update
        where
            LiteLLM_OrganizationMembership filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The updated LiteLLM_OrganizationMembership record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().update(
            where={
                # LiteLLM_OrganizationMembership where unique filter

            },
            data={
                # data to update the LiteLLM_OrganizationMembership record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   b  r  z,LiteLLM_OrganizationMembershipActions.update/types.LiteLLM_OrganizationMembershipUpsertInputc              	     r   )	am  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_OrganizationMembership filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_OrganizationMembership model

        Returns
        -------
        prisma.models.LiteLLM_OrganizationMembership
            The created or updated LiteLLM_OrganizationMembership record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_organizationmembership = await LiteLLM_OrganizationMembership.prisma().upsert(
            where={
                # LiteLLM_OrganizationMembership where unique filter
            },
            data={
                'create': {
                    # LiteLLM_OrganizationMembership data to be set if the record does not exist
                },
                'update': {
                    # LiteLLM_OrganizationMembership data to be set if the record does exist
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   c  r  z,LiteLLM_OrganizationMembershipActions.upsert;types.LiteLLM_OrganizationMembershipUpdateManyMutationInput.types.LiteLLM_OrganizationMembershipWhereInputc                   r   )a  Update multiple LiteLLM_OrganizationMembership records

        Parameters
        ----------
        data
            LiteLLM_OrganizationMembership data to update the selected LiteLLM_OrganizationMembership records to
        where
            Filter to select the LiteLLM_OrganizationMembership records to update

        Returns
        -------
        int
            The total number of LiteLLM_OrganizationMembership records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_OrganizationMembership records
        total = await LiteLLM_OrganizationMembership.prisma().update_many(
            data={
                'created_at': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   <c  r   z1LiteLLM_OrganizationMembershipActions.update_manyr   c                   r   )a  Count the number of LiteLLM_OrganizationMembership records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_OrganizationMembership fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationMembership filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_OrganizationMembershipCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_OrganizationMembership.prisma().count()

        # results: prisma.types.LiteLLM_OrganizationMembershipCountAggregateOutput
        results = await LiteLLM_OrganizationMembership.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   hc  r   z+LiteLLM_OrganizationMembershipActions.count7types.LiteLLM_OrganizationMembershipCountAggregateInput8types.LiteLLM_OrganizationMembershipCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   c  r   AOptional[types.LiteLLM_OrganizationMembershipCountAggregateInput]DUnion[int, types.LiteLLM_OrganizationMembershipCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_OrganizationMembership records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_OrganizationMembership fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_OrganizationMembership filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_OrganizationMembershipCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_OrganizationMembership.prisma().count()

        # results: prisma.types.LiteLLM_OrganizationMembershipCountAggregateOutput
        results = await LiteLLM_OrganizationMembership.prisma().count(
            select={
                '_all': True,
                'user_id': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   c  r   z>LiteLLM_OrganizationMembershipActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   2LiteLLM_OrganizationMembershipCountAggregateOutputr   r5   r5   r6   r_   c  r   c                   r   )a  Delete multiple LiteLLM_OrganizationMembership records.

        Parameters
        ----------
        where
            Optional LiteLLM_OrganizationMembership filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_OrganizationMembership records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_OrganizationMembership records
        total = await LiteLLM_OrganizationMembership.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   d  r   z1LiteLLM_OrganizationMembershipActions.delete_manyr   r   ;List['types.LiteLLM_OrganizationMembershipScalarFieldKeys']:Optional['types.LiteLLM_OrganizationMembershipWhereInput']r   AOptional['types.LiteLLM_OrganizationMembershipAvgAggregateInput']r   AOptional['types.LiteLLM_OrganizationMembershipSumAggregateInput']r   AOptional['types.LiteLLM_OrganizationMembershipMinAggregateInput']r   AOptional['types.LiteLLM_OrganizationMembershipMaxAggregateInput']r   NOptional['types.LiteLLM_OrganizationMembershipScalarWhereWithAggregatesInput']r_   POptional[Union[bool, 'types.LiteLLM_OrganizationMembershipCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_OrganizationMembershipScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_OrganizationMembershipScalarFieldKeys', 'types.SortOrder']]]]9List['types.LiteLLM_OrganizationMembershipGroupByOutput']c       
      
     r   )a  Group LiteLLM_OrganizationMembership records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_OrganizationMembership fields to group records by
        where
            LiteLLM_OrganizationMembership filter to select records
        take
            Limit the maximum number of LiteLLM_OrganizationMembership records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_OrganizationMembershipGroupByOutput]
            A list of dictionaries representing the LiteLLM_OrganizationMembership record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_OrganizationMembership records by organization_id values
        # and count how many records are in each group
        results = await LiteLLM_OrganizationMembership.prisma().group_by(
            ['organization_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   )d  r   z.LiteLLM_OrganizationMembershipActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  `  r  r  c                   @  r'   ){LiteLLM_InvitationLinkActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   d  r8   z&LiteLLM_InvitationLinkActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_InvitationLink]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_InvitationLink.prisma().query_raw(
            'SELECT * FROM LiteLLM_InvitationLink WHERE id = $1',
            'bahchhihdc',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   d  rA   z'LiteLLM_InvitationLinkActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_InvitationLink.prisma().query_first(
            'SELECT * FROM LiteLLM_InvitationLink WHERE user_id = $1',
            'bihjdcibib',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   d  rE   z)LiteLLM_InvitationLinkActions.query_firstNrF   'types.LiteLLM_InvitationLinkCreateInputrH   -Optional[types.LiteLLM_InvitationLinkInclude]r%   c                   rJ   )a  Create a new LiteLLM_InvitationLink record.

        Parameters
        ----------
        data
            LiteLLM_InvitationLink record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The created LiteLLM_InvitationLink record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_InvitationLink record from just the required fields
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().create(
            data={
                # data to create a LiteLLM_InvitationLink record
                'user_id': 'bfhhjbbdha',
                'expires_at': datetime.datetime.utcnow(),
                'created_at': datetime.datetime.utcnow(),
                'created_by': 'faehcjfdb',
                'updated_at': datetime.datetime.utcnow(),
                'updated_by': 'bbaiefbee',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   d  s   +z$LiteLLM_InvitationLinkActions.createrV   =List[types.LiteLLM_InvitationLinkCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_InvitationLink records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_InvitationLink record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_InvitationLink.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_InvitationLink record
                    'user_id': 'bdaacgjbaf',
                    'expires_at': datetime.datetime.utcnow(),
                    'created_at': datetime.datetime.utcnow(),
                    'created_by': 'biibaighec',
                    'updated_at': datetime.datetime.utcnow(),
                    'updated_by': 'baicdfeidj',
                },
                {
                    # data to create a LiteLLM_InvitationLink record
                    'user_id': 'befgiciadg',
                    'expires_at': datetime.datetime.utcnow(),
                    'created_at': datetime.datetime.utcnow(),
                    'created_by': 'cbcehahedh',
                    'updated_at': datetime.datetime.utcnow(),
                    'updated_by': 'bcjihiaide',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   (e  s   =	z)LiteLLM_InvitationLinkActions.create_manyrg   ,types.LiteLLM_InvitationLinkWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_InvitationLink record.

        Parameters
        ----------
        where
            LiteLLM_InvitationLink filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The deleted LiteLLM_InvitationLink record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().delete(
            where={
                'id': 'bagfijcgfj',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   se  ro   z$LiteLLM_InvitationLinkActions.deletec                   rp   )a  Find a unique LiteLLM_InvitationLink record.

        Parameters
        ----------
        where
            LiteLLM_InvitationLink filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The found LiteLLM_InvitationLink record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().find_unique(
            where={
                'id': 'bcggehiidc',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   e  rs   z)LiteLLM_InvitationLinkActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_InvitationLink record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_InvitationLink filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The found LiteLLM_InvitationLink record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().find_unique_or_raise(
            where={
                'id': 'bjcdacgacf',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   e  ru   z2LiteLLM_InvitationLinkActions.find_unique_or_raiserv   rw   rx   0Optional[types.LiteLLM_InvitationLinkWhereInput]rz   6Optional[types.LiteLLM_InvitationLinkWhereUniqueInput]r|   iOptional[Union[types.LiteLLM_InvitationLinkOrderByInput, List[types.LiteLLM_InvitationLinkOrderByInput]]]r~   ;Optional[List[types.LiteLLM_InvitationLinkScalarFieldKeys]]c           	        r   )	aZ  Find multiple LiteLLM_InvitationLink records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_InvitationLink records returned
        skip
            Ignore the first N results
        where
            LiteLLM_InvitationLink filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model
        order
            Order the returned LiteLLM_InvitationLink records by any field
        distinct
            Filter LiteLLM_InvitationLink records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_InvitationLink]
            The list of all LiteLLM_InvitationLink records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_InvitationLink records
        litellm_invitationlinks = await LiteLLM_InvitationLink.prisma().find_many(take=10)

        # find the first 5 LiteLLM_InvitationLink records ordered by the is_accepted field
        litellm_invitationlinks = await LiteLLM_InvitationLink.prisma().find_many(
            take=5,
            order={
                'is_accepted': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   Of  r   z;LiteLLM_InvitationLinkActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   
f  r   z'LiteLLM_InvitationLinkActions.find_manyc           	   
     r   )aZ  Find a single LiteLLM_InvitationLink record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_InvitationLink filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model
        order
            Order the returned LiteLLM_InvitationLink records by any field
        distinct
            Filter LiteLLM_InvitationLink records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The first LiteLLM_InvitationLink record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_InvitationLink record ordered by the accepted_at field
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().find_first(
            skip=1,
            order={
                'accepted_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   Qf  r   z(LiteLLM_InvitationLinkActions.find_firstc              
     r   )a  Find a single LiteLLM_InvitationLink record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_InvitationLink filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model
        order
            Order the returned LiteLLM_InvitationLink records by any field
        distinct
            Filter LiteLLM_InvitationLink records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The first LiteLLM_InvitationLink record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_InvitationLink record ordered by the expires_at field
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().find_first_or_raise(
            skip=1,
            order={
                'expires_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   f  r   z1LiteLLM_InvitationLinkActions.find_first_or_raise'types.LiteLLM_InvitationLinkUpdateInputc                   r   )a  Update a single LiteLLM_InvitationLink record.

        Parameters
        ----------
        data
            LiteLLM_InvitationLink record data specifying what to update
        where
            LiteLLM_InvitationLink filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The updated LiteLLM_InvitationLink record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().update(
            where={
                'id': 'jfieeahi',
            },
            data={
                # data to update the LiteLLM_InvitationLink record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   f  r   z$LiteLLM_InvitationLinkActions.update'types.LiteLLM_InvitationLinkUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_InvitationLink filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_InvitationLink model

        Returns
        -------
        prisma.models.LiteLLM_InvitationLink
            The created or updated LiteLLM_InvitationLink record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_invitationlink = await LiteLLM_InvitationLink.prisma().upsert(
            where={
                'id': 'bijfjbddfj',
            },
            data={
                'create': {
                    'id': 'bijfjbddfj',
                    'user_id': 'befgiciadg',
                    'expires_at': datetime.datetime.utcnow(),
                    'created_at': datetime.datetime.utcnow(),
                    'created_by': 'cbcehahedh',
                    'updated_at': datetime.datetime.utcnow(),
                    'updated_by': 'bcjihiaide',
                },
                'update': {
                    'user_id': 'befgiciadg',
                    'expires_at': datetime.datetime.utcnow(),
                    'created_at': datetime.datetime.utcnow(),
                    'created_by': 'cbcehahedh',
                    'updated_at': datetime.datetime.utcnow(),
                    'updated_by': 'bcjihiaide',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   g  s   :
z$LiteLLM_InvitationLinkActions.upsert3types.LiteLLM_InvitationLinkUpdateManyMutationInput&types.LiteLLM_InvitationLinkWhereInputc                   r   )aX  Update multiple LiteLLM_InvitationLink records

        Parameters
        ----------
        data
            LiteLLM_InvitationLink data to update the selected LiteLLM_InvitationLink records to
        where
            Filter to select the LiteLLM_InvitationLink records to update

        Returns
        -------
        int
            The total number of LiteLLM_InvitationLink records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_InvitationLink records
        total = await LiteLLM_InvitationLink.prisma().update_many(
            data={
                'created_at': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   Tg  r   z)LiteLLM_InvitationLinkActions.update_manyr   c                   r   )a  Count the number of LiteLLM_InvitationLink records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_InvitationLink fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_InvitationLink filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_InvitationLinkCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_InvitationLink.prisma().count()

        # results: prisma.types.LiteLLM_InvitationLinkCountAggregateOutput
        results = await LiteLLM_InvitationLink.prisma().count(
            select={
                '_all': True,
                'created_by': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   g  r   z#LiteLLM_InvitationLinkActions.count/types.LiteLLM_InvitationLinkCountAggregateInput0types.LiteLLM_InvitationLinkCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   g  r   9Optional[types.LiteLLM_InvitationLinkCountAggregateInput]<Union[int, types.LiteLLM_InvitationLinkCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_InvitationLink records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_InvitationLink fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_InvitationLink filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_InvitationLinkCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_InvitationLink.prisma().count()

        # results: prisma.types.LiteLLM_InvitationLinkCountAggregateOutput
        results = await LiteLLM_InvitationLink.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   h  r   z6LiteLLM_InvitationLinkActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   *LiteLLM_InvitationLinkCountAggregateOutputr   r5   r5   r6   r_   g  r   c                   r   )a}  Delete multiple LiteLLM_InvitationLink records.

        Parameters
        ----------
        where
            Optional LiteLLM_InvitationLink filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_InvitationLink records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_InvitationLink records
        total = await LiteLLM_InvitationLink.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   h  r   z)LiteLLM_InvitationLinkActions.delete_manyr   r   3List['types.LiteLLM_InvitationLinkScalarFieldKeys']2Optional['types.LiteLLM_InvitationLinkWhereInput']r   9Optional['types.LiteLLM_InvitationLinkAvgAggregateInput']r   9Optional['types.LiteLLM_InvitationLinkSumAggregateInput']r   9Optional['types.LiteLLM_InvitationLinkMinAggregateInput']r   9Optional['types.LiteLLM_InvitationLinkMaxAggregateInput']r   FOptional['types.LiteLLM_InvitationLinkScalarWhereWithAggregatesInput']r_   HOptional[Union[bool, 'types.LiteLLM_InvitationLinkCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_InvitationLinkScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_InvitationLinkScalarFieldKeys', 'types.SortOrder']]]]1List['types.LiteLLM_InvitationLinkGroupByOutput']c       
      
     r   )a  Group LiteLLM_InvitationLink records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_InvitationLink fields to group records by
        where
            LiteLLM_InvitationLink filter to select records
        take
            Limit the maximum number of LiteLLM_InvitationLink records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_InvitationLinkGroupByOutput]
            A list of dictionaries representing the LiteLLM_InvitationLink record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_InvitationLink records by updated_by values
        # and count how many records are in each group
        results = await LiteLLM_InvitationLink.prisma().group_by(
            ['updated_by'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   Ah  r   z&LiteLLM_InvitationLinkActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  d  s    


&+9N762IFD=
F,8W,r  c                   @  r'   ){LiteLLM_AuditLogActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   h  r8   z LiteLLM_AuditLogActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_AuditLog]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_AuditLog.prisma().query_raw(
            'SELECT * FROM LiteLLM_AuditLog WHERE id = $1',
            'cdcdjdcee',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   h  rA   z!LiteLLM_AuditLogActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_AuditLog.prisma().query_first(
            'SELECT * FROM LiteLLM_AuditLog WHERE updated_at = $1',
            datetime.datetime.utcnow(),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   h  rE   z#LiteLLM_AuditLogActions.query_firstNrF   !types.LiteLLM_AuditLogCreateInputrH   'Optional[types.LiteLLM_AuditLogInclude]r%   c                   rJ   )a  Create a new LiteLLM_AuditLog record.

        Parameters
        ----------
        data
            LiteLLM_AuditLog record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The created LiteLLM_AuditLog record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_AuditLog record from just the required fields
        litellm_auditlog = await LiteLLM_AuditLog.prisma().create(
            data={
                # data to create a LiteLLM_AuditLog record
                'action': 'bbbgjdbgcb',
                'table_name': 'bcedacgecg',
                'object_id': 'cbdffjeh',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   i  rB  zLiteLLM_AuditLogActions.createrV   7List[types.LiteLLM_AuditLogCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_AuditLog records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_AuditLog record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_AuditLog.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_AuditLog record
                    'action': 'idbcdhbci',
                    'table_name': 'bacegehahd',
                    'object_id': 'ebedeihec',
                },
                {
                    # data to create a LiteLLM_AuditLog record
                    'action': 'bajagjdfbb',
                    'table_name': 'bggedbjggi',
                    'object_id': 'hgbafifcf',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   =i  rD  z#LiteLLM_AuditLogActions.create_manyrg   &types.LiteLLM_AuditLogWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_AuditLog record.

        Parameters
        ----------
        where
            LiteLLM_AuditLog filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The deleted LiteLLM_AuditLog record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_auditlog = await LiteLLM_AuditLog.prisma().delete(
            where={
                'id': 'bejiecfecg',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   i  ro   zLiteLLM_AuditLogActions.deletec                   rp   )a  Find a unique LiteLLM_AuditLog record.

        Parameters
        ----------
        where
            LiteLLM_AuditLog filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The found LiteLLM_AuditLog record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_auditlog = await LiteLLM_AuditLog.prisma().find_unique(
            where={
                'id': 'bjgacaeagh',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   i  rs   z#LiteLLM_AuditLogActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_AuditLog record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_AuditLog filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The found LiteLLM_AuditLog record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_auditlog = await LiteLLM_AuditLog.prisma().find_unique_or_raise(
            where={
                'id': 'beeaihbefg',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   i  ru   z,LiteLLM_AuditLogActions.find_unique_or_raiserv   rw   rx   *Optional[types.LiteLLM_AuditLogWhereInput]rz   0Optional[types.LiteLLM_AuditLogWhereUniqueInput]r|   ]Optional[Union[types.LiteLLM_AuditLogOrderByInput, List[types.LiteLLM_AuditLogOrderByInput]]]r~   5Optional[List[types.LiteLLM_AuditLogScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_AuditLog records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_AuditLog records returned
        skip
            Ignore the first N results
        where
            LiteLLM_AuditLog filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model
        order
            Order the returned LiteLLM_AuditLog records by any field
        distinct
            Filter LiteLLM_AuditLog records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_AuditLog]
            The list of all LiteLLM_AuditLog records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_AuditLog records
        litellm_auditlogs = await LiteLLM_AuditLog.prisma().find_many(take=10)

        # find the first 5 LiteLLM_AuditLog records ordered by the changed_by field
        litellm_auditlogs = await LiteLLM_AuditLog.prisma().find_many(
            take=5,
            order={
                'changed_by': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   ^j  r   z5LiteLLM_AuditLogActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   j  r   z!LiteLLM_AuditLogActions.find_manyc           	   
     r   )a,  Find a single LiteLLM_AuditLog record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_AuditLog filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model
        order
            Order the returned LiteLLM_AuditLog records by any field
        distinct
            Filter LiteLLM_AuditLog records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The first LiteLLM_AuditLog record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_AuditLog record ordered by the changed_by_api_key field
        litellm_auditlog = await LiteLLM_AuditLog.prisma().find_first(
            skip=1,
            order={
                'changed_by_api_key': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   `j  r   z"LiteLLM_AuditLogActions.find_firstc              
     r   )aj  Find a single LiteLLM_AuditLog record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_AuditLog filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model
        order
            Order the returned LiteLLM_AuditLog records by any field
        distinct
            Filter LiteLLM_AuditLog records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The first LiteLLM_AuditLog record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_AuditLog record ordered by the action field
        litellm_auditlog = await LiteLLM_AuditLog.prisma().find_first_or_raise(
            skip=1,
            order={
                'action': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   j  r   z+LiteLLM_AuditLogActions.find_first_or_raise!types.LiteLLM_AuditLogUpdateInputc                   r   )a  Update a single LiteLLM_AuditLog record.

        Parameters
        ----------
        data
            LiteLLM_AuditLog record data specifying what to update
        where
            LiteLLM_AuditLog filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The updated LiteLLM_AuditLog record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_auditlog = await LiteLLM_AuditLog.prisma().update(
            where={
                'id': 'bfbfgeddfd',
            },
            data={
                # data to update the LiteLLM_AuditLog record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   j  r   zLiteLLM_AuditLogActions.update!types.LiteLLM_AuditLogUpsertInputc              	     r   )	at  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_AuditLog filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_AuditLog model

        Returns
        -------
        prisma.models.LiteLLM_AuditLog
            The created or updated LiteLLM_AuditLog record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_auditlog = await LiteLLM_AuditLog.prisma().upsert(
            where={
                'id': 'jbgheibja',
            },
            data={
                'create': {
                    'id': 'jbgheibja',
                    'action': 'bajagjdfbb',
                    'table_name': 'bggedbjggi',
                    'object_id': 'hgbafifcf',
                },
                'update': {
                    'action': 'bajagjdfbb',
                    'table_name': 'bggedbjggi',
                    'object_id': 'hgbafifcf',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   k  rL  zLiteLLM_AuditLogActions.upsert-types.LiteLLM_AuditLogUpdateManyMutationInput types.LiteLLM_AuditLogWhereInputc                   r   )a  Update multiple LiteLLM_AuditLog records

        Parameters
        ----------
        data
            LiteLLM_AuditLog data to update the selected LiteLLM_AuditLog records to
        where
            Filter to select the LiteLLM_AuditLog records to update

        Returns
        -------
        int
            The total number of LiteLLM_AuditLog records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_AuditLog records
        total = await LiteLLM_AuditLog.prisma().update_many(
            data={
                'table_name': 'eejajbid'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   ]k  r   z#LiteLLM_AuditLogActions.update_manyr   c                   r   )a  Count the number of LiteLLM_AuditLog records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_AuditLog fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_AuditLog filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_AuditLogCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_AuditLog.prisma().count()

        # results: prisma.types.LiteLLM_AuditLogCountAggregateOutput
        results = await LiteLLM_AuditLog.prisma().count(
            select={
                '_all': True,
                'object_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   k  r   zLiteLLM_AuditLogActions.count)types.LiteLLM_AuditLogCountAggregateInput*types.LiteLLM_AuditLogCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   k  r   3Optional[types.LiteLLM_AuditLogCountAggregateInput]6Union[int, types.LiteLLM_AuditLogCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_AuditLog records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_AuditLog fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_AuditLog filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_AuditLogCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_AuditLog.prisma().count()

        # results: prisma.types.LiteLLM_AuditLogCountAggregateOutput
        results = await LiteLLM_AuditLog.prisma().count(
            select={
                '_all': True,
                'before_value': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   l  r   z0LiteLLM_AuditLogActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   $LiteLLM_AuditLogCountAggregateOutputr   r5   r5   r6   r_   k  r   c                   r   )a_  Delete multiple LiteLLM_AuditLog records.

        Parameters
        ----------
        where
            Optional LiteLLM_AuditLog filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_AuditLog records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_AuditLog records
        total = await LiteLLM_AuditLog.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   "l  r   z#LiteLLM_AuditLogActions.delete_manyr   r   -List['types.LiteLLM_AuditLogScalarFieldKeys'],Optional['types.LiteLLM_AuditLogWhereInput']r   3Optional['types.LiteLLM_AuditLogAvgAggregateInput']r   3Optional['types.LiteLLM_AuditLogSumAggregateInput']r   3Optional['types.LiteLLM_AuditLogMinAggregateInput']r   3Optional['types.LiteLLM_AuditLogMaxAggregateInput']r   @Optional['types.LiteLLM_AuditLogScalarWhereWithAggregatesInput']r_   BOptional[Union[bool, 'types.LiteLLM_AuditLogCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_AuditLogScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_AuditLogScalarFieldKeys', 'types.SortOrder']]]]+List['types.LiteLLM_AuditLogGroupByOutput']c       
      
     r   )an  Group LiteLLM_AuditLog records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_AuditLog fields to group records by
        where
            LiteLLM_AuditLog filter to select records
        take
            Limit the maximum number of LiteLLM_AuditLog records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_AuditLogGroupByOutput]
            A list of dictionaries representing the LiteLLM_AuditLog record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_AuditLog records by updated_values values
        # and count how many records are in each group
        results = await LiteLLM_AuditLog.prisma().group_by(
            ['updated_values'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   Jl  r   z LiteLLM_AuditLogActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  h  r^  r  c                   @  r'   ){LiteLLM_DailyUserSpendActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   l  r8   z&LiteLLM_DailyUserSpendActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyUserSpend]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyUserSpend.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyUserSpend WHERE id = $1',
            'efhdcdaie',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   l  rA   z'LiteLLM_DailyUserSpendActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyUserSpend.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyUserSpend WHERE user_id = $1',
            'cadejecgbd',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   l  rE   z)LiteLLM_DailyUserSpendActions.query_firstNrF   'types.LiteLLM_DailyUserSpendCreateInputrH   -Optional[types.LiteLLM_DailyUserSpendInclude]r%   c                   rJ   )a  Create a new LiteLLM_DailyUserSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyUserSpend record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The created LiteLLM_DailyUserSpend record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyUserSpend record from just the required fields
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().create(
            data={
                # data to create a LiteLLM_DailyUserSpend record
                'date': 'bahjhjjhcc',
                'api_key': 'ebhbhbdff',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   m  rU   z$LiteLLM_DailyUserSpendActions.createrV   =List[types.LiteLLM_DailyUserSpendCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyUserSpend records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyUserSpend record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyUserSpend.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyUserSpend record
                    'date': 'bdiefcdfhg',
                    'api_key': 'cheifeghd',
                },
                {
                    # data to create a LiteLLM_DailyUserSpend record
                    'date': 'fgijheefe',
                    'api_key': 'hcbgbhfch',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   Em  rf   z)LiteLLM_DailyUserSpendActions.create_manyrg   ,types.LiteLLM_DailyUserSpendWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyUserSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyUserSpend filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The deleted LiteLLM_DailyUserSpend record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().delete(
            where={
                'id': 'bfbbbgbfhc',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   m  ro   z$LiteLLM_DailyUserSpendActions.deletec                   rp   )a  Find a unique LiteLLM_DailyUserSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyUserSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The found LiteLLM_DailyUserSpend record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().find_unique(
            where={
                'id': 'ibijjdeb',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   m  rs   z)LiteLLM_DailyUserSpendActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_DailyUserSpend record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyUserSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The found LiteLLM_DailyUserSpend record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().find_unique_or_raise(
            where={
                'id': 'caehiccddi',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   m  ru   z2LiteLLM_DailyUserSpendActions.find_unique_or_raiserv   rw   rx   0Optional[types.LiteLLM_DailyUserSpendWhereInput]rz   6Optional[types.LiteLLM_DailyUserSpendWhereUniqueInput]r|   iOptional[Union[types.LiteLLM_DailyUserSpendOrderByInput, List[types.LiteLLM_DailyUserSpendOrderByInput]]]r~   ;Optional[List[types.LiteLLM_DailyUserSpendScalarFieldKeys]]c           	        r   )	aL  Find multiple LiteLLM_DailyUserSpend records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyUserSpend records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyUserSpend filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model
        order
            Order the returned LiteLLM_DailyUserSpend records by any field
        distinct
            Filter LiteLLM_DailyUserSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyUserSpend]
            The list of all LiteLLM_DailyUserSpend records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyUserSpend records
        litellm_dailyuserspends = await LiteLLM_DailyUserSpend.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyUserSpend records ordered by the date field
        litellm_dailyuserspends = await LiteLLM_DailyUserSpend.prisma().find_many(
            take=5,
            order={
                'date': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   dn  r   z;LiteLLM_DailyUserSpendActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   n  r   z'LiteLLM_DailyUserSpendActions.find_manyc           	   
     r   )aR  Find a single LiteLLM_DailyUserSpend record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyUserSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model
        order
            Order the returned LiteLLM_DailyUserSpend records by any field
        distinct
            Filter LiteLLM_DailyUserSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The first LiteLLM_DailyUserSpend record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyUserSpend record ordered by the api_key field
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().find_first(
            skip=1,
            order={
                'api_key': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   fn  r   z(LiteLLM_DailyUserSpendActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyUserSpend record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyUserSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model
        order
            Order the returned LiteLLM_DailyUserSpend records by any field
        distinct
            Filter LiteLLM_DailyUserSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The first LiteLLM_DailyUserSpend record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyUserSpend record ordered by the model field
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().find_first_or_raise(
            skip=1,
            order={
                'model': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   n  r   z1LiteLLM_DailyUserSpendActions.find_first_or_raise'types.LiteLLM_DailyUserSpendUpdateInputc                   r   )a  Update a single LiteLLM_DailyUserSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyUserSpend record data specifying what to update
        where
            LiteLLM_DailyUserSpend filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The updated LiteLLM_DailyUserSpend record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().update(
            where={
                'id': 'bgcahjbafj',
            },
            data={
                # data to update the LiteLLM_DailyUserSpend record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   n  r   z$LiteLLM_DailyUserSpendActions.update'types.LiteLLM_DailyUserSpendUpsertInputc              	     r   )	a0  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyUserSpend filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyUserSpend
            The created or updated LiteLLM_DailyUserSpend record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyuserspend = await LiteLLM_DailyUserSpend.prisma().upsert(
            where={
                'id': 'bihhgeihca',
            },
            data={
                'create': {
                    'id': 'bihhgeihca',
                    'date': 'fgijheefe',
                    'api_key': 'hcbgbhfch',
                },
                'update': {
                    'date': 'fgijheefe',
                    'api_key': 'hcbgbhfch',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   #o  r   z$LiteLLM_DailyUserSpendActions.upsert3types.LiteLLM_DailyUserSpendUpdateManyMutationInput&types.LiteLLM_DailyUserSpendWhereInputc                   r   )aK  Update multiple LiteLLM_DailyUserSpend records

        Parameters
        ----------
        data
            LiteLLM_DailyUserSpend data to update the selected LiteLLM_DailyUserSpend records to
        where
            Filter to select the LiteLLM_DailyUserSpend records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyUserSpend records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyUserSpend records
        total = await LiteLLM_DailyUserSpend.prisma().update_many(
            data={
                'model_group': 'bdgbfahbef'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   ao  r   z)LiteLLM_DailyUserSpendActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyUserSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyUserSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyUserSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyUserSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyUserSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyUserSpendCountAggregateOutput
        results = await LiteLLM_DailyUserSpend.prisma().count(
            select={
                '_all': True,
                'custom_llm_provider': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   o  r   z#LiteLLM_DailyUserSpendActions.count/types.LiteLLM_DailyUserSpendCountAggregateInput0types.LiteLLM_DailyUserSpendCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   o  r   9Optional[types.LiteLLM_DailyUserSpendCountAggregateInput]<Union[int, types.LiteLLM_DailyUserSpendCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DailyUserSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyUserSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyUserSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyUserSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyUserSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyUserSpendCountAggregateOutput
        results = await LiteLLM_DailyUserSpend.prisma().count(
            select={
                '_all': True,
                'mcp_namespaced_tool_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   p  r   z6LiteLLM_DailyUserSpendActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   *LiteLLM_DailyUserSpendCountAggregateOutputr   r5   r5   r6   r_   o  r   c                   r   )a}  Delete multiple LiteLLM_DailyUserSpend records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyUserSpend filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyUserSpend records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyUserSpend records
        total = await LiteLLM_DailyUserSpend.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   &p  r   z)LiteLLM_DailyUserSpendActions.delete_manyr   r   3List['types.LiteLLM_DailyUserSpendScalarFieldKeys']2Optional['types.LiteLLM_DailyUserSpendWhereInput']r   9Optional['types.LiteLLM_DailyUserSpendAvgAggregateInput']r   9Optional['types.LiteLLM_DailyUserSpendSumAggregateInput']r   9Optional['types.LiteLLM_DailyUserSpendMinAggregateInput']r   9Optional['types.LiteLLM_DailyUserSpendMaxAggregateInput']r   FOptional['types.LiteLLM_DailyUserSpendScalarWhereWithAggregatesInput']r_   HOptional[Union[bool, 'types.LiteLLM_DailyUserSpendCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyUserSpendScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyUserSpendScalarFieldKeys', 'types.SortOrder']]]]1List['types.LiteLLM_DailyUserSpendGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyUserSpend records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyUserSpend fields to group records by
        where
            LiteLLM_DailyUserSpend filter to select records
        take
            Limit the maximum number of LiteLLM_DailyUserSpend records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyUserSpendGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyUserSpend record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyUserSpend records by endpoint values
        # and count how many records are in each group
        results = await LiteLLM_DailyUserSpend.prisma().group_by(
            ['endpoint'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   Np  r   z&LiteLLM_DailyUserSpendActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r   rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  l  r   r  c                   @  r'   ){%LiteLLM_DailyOrganizationSpendActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   p  r8   z.LiteLLM_DailyOrganizationSpendActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyOrganizationSpend]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyOrganizationSpend.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyOrganizationSpend WHERE id = $1',
            'fccjhidic',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   p  rA   z/LiteLLM_DailyOrganizationSpendActions.query_rawrB   c                   r=   )a,  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyOrganizationSpend.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyOrganizationSpend WHERE organization_id = $1',
            'bdgfdgdaff',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   p  rE   z1LiteLLM_DailyOrganizationSpendActions.query_firstNrF   /types.LiteLLM_DailyOrganizationSpendCreateInputrH   5Optional[types.LiteLLM_DailyOrganizationSpendInclude]r%   c                   rJ   )aU  Create a new LiteLLM_DailyOrganizationSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyOrganizationSpend record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The created LiteLLM_DailyOrganizationSpend record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyOrganizationSpend record from just the required fields
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().create(
            data={
                # data to create a LiteLLM_DailyOrganizationSpend record
                'date': 'bicgeaiaga',
                'api_key': 'fajhhafab',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   q  rU   z,LiteLLM_DailyOrganizationSpendActions.createrV   EList[types.LiteLLM_DailyOrganizationSpendCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyOrganizationSpend records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyOrganizationSpend record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyOrganizationSpend.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyOrganizationSpend record
                    'date': 'bfeiccieec',
                    'api_key': 'hciegiihf',
                },
                {
                    # data to create a LiteLLM_DailyOrganizationSpend record
                    'date': 'bahifjfga',
                    'api_key': 'baebfehjaf',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   Iq  rf   z1LiteLLM_DailyOrganizationSpendActions.create_manyrg   4types.LiteLLM_DailyOrganizationSpendWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyOrganizationSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyOrganizationSpend filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The deleted LiteLLM_DailyOrganizationSpend record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().delete(
            where={
                'id': 'bjchdacjfa',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   q  ro   z,LiteLLM_DailyOrganizationSpendActions.deletec                   rp   )a  Find a unique LiteLLM_DailyOrganizationSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyOrganizationSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The found LiteLLM_DailyOrganizationSpend record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().find_unique(
            where={
                'id': 'fcadcaihb',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   q  rs   z1LiteLLM_DailyOrganizationSpendActions.find_uniquec                   rJ   )a6  Find a unique LiteLLM_DailyOrganizationSpend record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyOrganizationSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The found LiteLLM_DailyOrganizationSpend record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().find_unique_or_raise(
            where={
                'id': 'bbdcibggga',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   q  ru   z:LiteLLM_DailyOrganizationSpendActions.find_unique_or_raiserv   rw   rx   8Optional[types.LiteLLM_DailyOrganizationSpendWhereInput]rz   >Optional[types.LiteLLM_DailyOrganizationSpendWhereUniqueInput]r|   yOptional[Union[types.LiteLLM_DailyOrganizationSpendOrderByInput, List[types.LiteLLM_DailyOrganizationSpendOrderByInput]]]r~   COptional[List[types.LiteLLM_DailyOrganizationSpendScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_DailyOrganizationSpend records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyOrganizationSpend records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyOrganizationSpend filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model
        order
            Order the returned LiteLLM_DailyOrganizationSpend records by any field
        distinct
            Filter LiteLLM_DailyOrganizationSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyOrganizationSpend]
            The list of all LiteLLM_DailyOrganizationSpend records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyOrganizationSpend records
        litellm_dailyorganizationspends = await LiteLLM_DailyOrganizationSpend.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyOrganizationSpend records ordered by the date field
        litellm_dailyorganizationspends = await LiteLLM_DailyOrganizationSpend.prisma().find_many(
            take=5,
            order={
                'date': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   hr  r   zCLiteLLM_DailyOrganizationSpendActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   #r  r   z/LiteLLM_DailyOrganizationSpendActions.find_manyc           	   
     r   )a  Find a single LiteLLM_DailyOrganizationSpend record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyOrganizationSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model
        order
            Order the returned LiteLLM_DailyOrganizationSpend records by any field
        distinct
            Filter LiteLLM_DailyOrganizationSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The first LiteLLM_DailyOrganizationSpend record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyOrganizationSpend record ordered by the api_key field
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().find_first(
            skip=1,
            order={
                'api_key': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   jr  r   z0LiteLLM_DailyOrganizationSpendActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyOrganizationSpend record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyOrganizationSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model
        order
            Order the returned LiteLLM_DailyOrganizationSpend records by any field
        distinct
            Filter LiteLLM_DailyOrganizationSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The first LiteLLM_DailyOrganizationSpend record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyOrganizationSpend record ordered by the model field
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().find_first_or_raise(
            skip=1,
            order={
                'model': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   r  r   z9LiteLLM_DailyOrganizationSpendActions.find_first_or_raise/types.LiteLLM_DailyOrganizationSpendUpdateInputc                   r   )aZ  Update a single LiteLLM_DailyOrganizationSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyOrganizationSpend record data specifying what to update
        where
            LiteLLM_DailyOrganizationSpend filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The updated LiteLLM_DailyOrganizationSpend record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().update(
            where={
                'id': 'bagbibfheb',
            },
            data={
                # data to update the LiteLLM_DailyOrganizationSpend record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   r  r   z,LiteLLM_DailyOrganizationSpendActions.update/types.LiteLLM_DailyOrganizationSpendUpsertInputc              	     r   )	ab  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyOrganizationSpend filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyOrganizationSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyOrganizationSpend
            The created or updated LiteLLM_DailyOrganizationSpend record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyorganizationspend = await LiteLLM_DailyOrganizationSpend.prisma().upsert(
            where={
                'id': 'bidgcabjag',
            },
            data={
                'create': {
                    'id': 'bidgcabjag',
                    'date': 'bahifjfga',
                    'api_key': 'baebfehjaf',
                },
                'update': {
                    'date': 'bahifjfga',
                    'api_key': 'baebfehjaf',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   's  r   z,LiteLLM_DailyOrganizationSpendActions.upsert;types.LiteLLM_DailyOrganizationSpendUpdateManyMutationInput.types.LiteLLM_DailyOrganizationSpendWhereInputc                   r   )a  Update multiple LiteLLM_DailyOrganizationSpend records

        Parameters
        ----------
        data
            LiteLLM_DailyOrganizationSpend data to update the selected LiteLLM_DailyOrganizationSpend records to
        where
            Filter to select the LiteLLM_DailyOrganizationSpend records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyOrganizationSpend records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyOrganizationSpend records
        total = await LiteLLM_DailyOrganizationSpend.prisma().update_many(
            data={
                'model_group': 'hechjdjih'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   es  r   z1LiteLLM_DailyOrganizationSpendActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyOrganizationSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyOrganizationSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyOrganizationSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyOrganizationSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyOrganizationSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyOrganizationSpendCountAggregateOutput
        results = await LiteLLM_DailyOrganizationSpend.prisma().count(
            select={
                '_all': True,
                'custom_llm_provider': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   s  r   z+LiteLLM_DailyOrganizationSpendActions.count7types.LiteLLM_DailyOrganizationSpendCountAggregateInput8types.LiteLLM_DailyOrganizationSpendCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   s  r   AOptional[types.LiteLLM_DailyOrganizationSpendCountAggregateInput]DUnion[int, types.LiteLLM_DailyOrganizationSpendCountAggregateOutput]c                   r   )a   Count the number of LiteLLM_DailyOrganizationSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyOrganizationSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyOrganizationSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyOrganizationSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyOrganizationSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyOrganizationSpendCountAggregateOutput
        results = await LiteLLM_DailyOrganizationSpend.prisma().count(
            select={
                '_all': True,
                'mcp_namespaced_tool_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   t  r   z>LiteLLM_DailyOrganizationSpendActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   2LiteLLM_DailyOrganizationSpendCountAggregateOutputr   r5   r5   r6   r_   s  r   c                   r   )a  Delete multiple LiteLLM_DailyOrganizationSpend records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyOrganizationSpend filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyOrganizationSpend records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyOrganizationSpend records
        total = await LiteLLM_DailyOrganizationSpend.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   *t  r   z1LiteLLM_DailyOrganizationSpendActions.delete_manyr   r   ;List['types.LiteLLM_DailyOrganizationSpendScalarFieldKeys']:Optional['types.LiteLLM_DailyOrganizationSpendWhereInput']r   AOptional['types.LiteLLM_DailyOrganizationSpendAvgAggregateInput']r   AOptional['types.LiteLLM_DailyOrganizationSpendSumAggregateInput']r   AOptional['types.LiteLLM_DailyOrganizationSpendMinAggregateInput']r   AOptional['types.LiteLLM_DailyOrganizationSpendMaxAggregateInput']r   NOptional['types.LiteLLM_DailyOrganizationSpendScalarWhereWithAggregatesInput']r_   POptional[Union[bool, 'types.LiteLLM_DailyOrganizationSpendCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyOrganizationSpendScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyOrganizationSpendScalarFieldKeys', 'types.SortOrder']]]]9List['types.LiteLLM_DailyOrganizationSpendGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyOrganizationSpend records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyOrganizationSpend fields to group records by
        where
            LiteLLM_DailyOrganizationSpend filter to select records
        take
            Limit the maximum number of LiteLLM_DailyOrganizationSpend records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyOrganizationSpendGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyOrganizationSpend record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyOrganizationSpend records by endpoint values
        # and count how many records are in each group
        results = await LiteLLM_DailyOrganizationSpend.prisma().group_by(
            ['endpoint'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   Rt  r   z.LiteLLM_DailyOrganizationSpendActions.group_byr   r   r   r2   )rF   r
  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r   r   r!  r_   r"  r|   r#  r/   r$  r   r5   r5   r5   r6   r	  p  r   r	  c                   @  r'   ){ LiteLLM_DailyEndUserSpendActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   t  r8   z)LiteLLM_DailyEndUserSpendActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyEndUserSpend]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyEndUserSpend.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyEndUserSpend WHERE id = $1',
            'cgfjefhci',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   t  rA   z*LiteLLM_DailyEndUserSpendActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyEndUserSpend.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyEndUserSpend WHERE end_user_id = $1',
            'egcidbiab',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   t  rE   z,LiteLLM_DailyEndUserSpendActions.query_firstNrF   *types.LiteLLM_DailyEndUserSpendCreateInputrH   0Optional[types.LiteLLM_DailyEndUserSpendInclude]r%   c                   rJ   )a'  Create a new LiteLLM_DailyEndUserSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyEndUserSpend record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The created LiteLLM_DailyEndUserSpend record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyEndUserSpend record from just the required fields
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().create(
            data={
                # data to create a LiteLLM_DailyEndUserSpend record
                'date': 'cehjjfgeg',
                'api_key': 'hiaaaeeeh',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   u  rU   z'LiteLLM_DailyEndUserSpendActions.createrV   @List[types.LiteLLM_DailyEndUserSpendCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyEndUserSpend records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyEndUserSpend record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyEndUserSpend.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyEndUserSpend record
                    'date': 'ediajdeie',
                    'api_key': 'jdgefgafd',
                },
                {
                    # data to create a LiteLLM_DailyEndUserSpend record
                    'date': 'bhhihbfeac',
                    'api_key': 'bajegedfhj',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   Mu  rf   z,LiteLLM_DailyEndUserSpendActions.create_manyrg   /types.LiteLLM_DailyEndUserSpendWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyEndUserSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyEndUserSpend filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The deleted LiteLLM_DailyEndUserSpend record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().delete(
            where={
                'id': 'bhfjihjfhg',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   u  ro   z'LiteLLM_DailyEndUserSpendActions.deletec                   rp   )a  Find a unique LiteLLM_DailyEndUserSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyEndUserSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The found LiteLLM_DailyEndUserSpend record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().find_unique(
            where={
                'id': 'iicaadeeb',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   u  rs   z,LiteLLM_DailyEndUserSpendActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_DailyEndUserSpend record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyEndUserSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The found LiteLLM_DailyEndUserSpend record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().find_unique_or_raise(
            where={
                'id': 'bigjggdhac',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   u  ru   z5LiteLLM_DailyEndUserSpendActions.find_unique_or_raiserv   rw   rx   3Optional[types.LiteLLM_DailyEndUserSpendWhereInput]rz   9Optional[types.LiteLLM_DailyEndUserSpendWhereUniqueInput]r|   oOptional[Union[types.LiteLLM_DailyEndUserSpendOrderByInput, List[types.LiteLLM_DailyEndUserSpendOrderByInput]]]r~   >Optional[List[types.LiteLLM_DailyEndUserSpendScalarFieldKeys]]c           	        r   )	av  Find multiple LiteLLM_DailyEndUserSpend records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyEndUserSpend records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyEndUserSpend filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model
        order
            Order the returned LiteLLM_DailyEndUserSpend records by any field
        distinct
            Filter LiteLLM_DailyEndUserSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyEndUserSpend]
            The list of all LiteLLM_DailyEndUserSpend records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyEndUserSpend records
        litellm_dailyenduserspends = await LiteLLM_DailyEndUserSpend.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyEndUserSpend records ordered by the date field
        litellm_dailyenduserspends = await LiteLLM_DailyEndUserSpend.prisma().find_many(
            take=5,
            order={
                'date': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   lv  r   z>LiteLLM_DailyEndUserSpendActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   'v  r   z*LiteLLM_DailyEndUserSpendActions.find_manyc           	   
     r   )ap  Find a single LiteLLM_DailyEndUserSpend record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyEndUserSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model
        order
            Order the returned LiteLLM_DailyEndUserSpend records by any field
        distinct
            Filter LiteLLM_DailyEndUserSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The first LiteLLM_DailyEndUserSpend record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyEndUserSpend record ordered by the api_key field
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().find_first(
            skip=1,
            order={
                'api_key': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   nv  r   z+LiteLLM_DailyEndUserSpendActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyEndUserSpend record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyEndUserSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model
        order
            Order the returned LiteLLM_DailyEndUserSpend records by any field
        distinct
            Filter LiteLLM_DailyEndUserSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The first LiteLLM_DailyEndUserSpend record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyEndUserSpend record ordered by the model field
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().find_first_or_raise(
            skip=1,
            order={
                'model': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   v  r   z4LiteLLM_DailyEndUserSpendActions.find_first_or_raise*types.LiteLLM_DailyEndUserSpendUpdateInputc                   r   )a-  Update a single LiteLLM_DailyEndUserSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyEndUserSpend record data specifying what to update
        where
            LiteLLM_DailyEndUserSpend filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The updated LiteLLM_DailyEndUserSpend record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().update(
            where={
                'id': 'bfdbbbjhad',
            },
            data={
                # data to update the LiteLLM_DailyEndUserSpend record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   v  r   z'LiteLLM_DailyEndUserSpendActions.update*types.LiteLLM_DailyEndUserSpendUpsertInputc              	     r   )	aF  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyEndUserSpend filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyEndUserSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyEndUserSpend
            The created or updated LiteLLM_DailyEndUserSpend record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyenduserspend = await LiteLLM_DailyEndUserSpend.prisma().upsert(
            where={
                'id': 'bdibjhdici',
            },
            data={
                'create': {
                    'id': 'bdibjhdici',
                    'date': 'bhhihbfeac',
                    'api_key': 'bajegedfhj',
                },
                'update': {
                    'date': 'bhhihbfeac',
                    'api_key': 'bajegedfhj',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   +w  r   z'LiteLLM_DailyEndUserSpendActions.upsert6types.LiteLLM_DailyEndUserSpendUpdateManyMutationInput)types.LiteLLM_DailyEndUserSpendWhereInputc                   r   )a`  Update multiple LiteLLM_DailyEndUserSpend records

        Parameters
        ----------
        data
            LiteLLM_DailyEndUserSpend data to update the selected LiteLLM_DailyEndUserSpend records to
        where
            Filter to select the LiteLLM_DailyEndUserSpend records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyEndUserSpend records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyEndUserSpend records
        total = await LiteLLM_DailyEndUserSpend.prisma().update_many(
            data={
                'model_group': 'bceigehcbd'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   iw  r   z,LiteLLM_DailyEndUserSpendActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyEndUserSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyEndUserSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyEndUserSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyEndUserSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyEndUserSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyEndUserSpendCountAggregateOutput
        results = await LiteLLM_DailyEndUserSpend.prisma().count(
            select={
                '_all': True,
                'custom_llm_provider': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   w  r   z&LiteLLM_DailyEndUserSpendActions.count2types.LiteLLM_DailyEndUserSpendCountAggregateInput3types.LiteLLM_DailyEndUserSpendCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   w  r   <Optional[types.LiteLLM_DailyEndUserSpendCountAggregateInput]?Union[int, types.LiteLLM_DailyEndUserSpendCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DailyEndUserSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyEndUserSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyEndUserSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyEndUserSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyEndUserSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyEndUserSpendCountAggregateOutput
        results = await LiteLLM_DailyEndUserSpend.prisma().count(
            select={
                '_all': True,
                'mcp_namespaced_tool_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   x  r   z9LiteLLM_DailyEndUserSpendActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   -LiteLLM_DailyEndUserSpendCountAggregateOutputr   r5   r5   r6   r_   w  r   c                   r   )a  Delete multiple LiteLLM_DailyEndUserSpend records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyEndUserSpend filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyEndUserSpend records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyEndUserSpend records
        total = await LiteLLM_DailyEndUserSpend.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   .x  r   z,LiteLLM_DailyEndUserSpendActions.delete_manyr   r   6List['types.LiteLLM_DailyEndUserSpendScalarFieldKeys']5Optional['types.LiteLLM_DailyEndUserSpendWhereInput']r   <Optional['types.LiteLLM_DailyEndUserSpendAvgAggregateInput']r   <Optional['types.LiteLLM_DailyEndUserSpendSumAggregateInput']r   <Optional['types.LiteLLM_DailyEndUserSpendMinAggregateInput']r   <Optional['types.LiteLLM_DailyEndUserSpendMaxAggregateInput']r   IOptional['types.LiteLLM_DailyEndUserSpendScalarWhereWithAggregatesInput']r_   KOptional[Union[bool, 'types.LiteLLM_DailyEndUserSpendCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyEndUserSpendScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyEndUserSpendScalarFieldKeys', 'types.SortOrder']]]]4List['types.LiteLLM_DailyEndUserSpendGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyEndUserSpend records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyEndUserSpend fields to group records by
        where
            LiteLLM_DailyEndUserSpend filter to select records
        take
            Limit the maximum number of LiteLLM_DailyEndUserSpend records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyEndUserSpendGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyEndUserSpend record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyEndUserSpend records by endpoint values
        # and count how many records are in each group
        results = await LiteLLM_DailyEndUserSpend.prisma().group_by(
            ['endpoint'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   Vx  r   z)LiteLLM_DailyEndUserSpendActions.group_byr   r   r   r2   )rF   r&  rH   r'  r/   r%   )rF   r(  rW   rY   r/   r   )rg   r)  rH   r'  r/   rB   )rg   r)  rH   r'  r/   r%   r   )rv   rw   rx   rw   rg   r*  rz   r+  rH   r'  r|   r,  r~   r-  r/   r<   r   )rx   rw   rg   r*  rz   r+  rH   r'  r|   r,  r~   r-  r/   rB   )rx   rw   rg   r*  rz   r+  rH   r'  r|   r,  r~   r-  r/   r%   )rF   r.  rg   r)  rH   r'  r/   rB   )rg   r)  rF   r/  rH   r'  r/   r%   )rF   r0  rg   r1  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r*  rz   r+  r/   r   r   )r   r2  rv   rw   rx   rw   rg   r*  rz   r+  r/   r3  )r   r4  rv   rw   rx   rw   rg   r*  rz   r+  r/   r5  )rg   r*  r/   r   )r   r7  rg   r8  rv   rw   rx   rw   r   r9  r   r:  r   r;  r   r<  r   r=  r_   r>  r|   r?  r/   r@  r   r5   r5   r5   r6   r%  t  r   r%  c                   @  r'   ){LiteLLM_DailyAgentSpendActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   x  r8   z'LiteLLM_DailyAgentSpendActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyAgentSpend]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyAgentSpend.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyAgentSpend WHERE id = $1',
            'caehahihfe',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   x  rA   z(LiteLLM_DailyAgentSpendActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyAgentSpend.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyAgentSpend WHERE agent_id = $1',
            'jjacdhech',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   x  rE   z*LiteLLM_DailyAgentSpendActions.query_firstNrF   (types.LiteLLM_DailyAgentSpendCreateInputrH   .Optional[types.LiteLLM_DailyAgentSpendInclude]r%   c                   rJ   )a  Create a new LiteLLM_DailyAgentSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyAgentSpend record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The created LiteLLM_DailyAgentSpend record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyAgentSpend record from just the required fields
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().create(
            data={
                # data to create a LiteLLM_DailyAgentSpend record
                'date': 'bbbjadabjc',
                'api_key': 'hhaechedd',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK    y  rU   z%LiteLLM_DailyAgentSpendActions.createrV   >List[types.LiteLLM_DailyAgentSpendCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyAgentSpend records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyAgentSpend record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyAgentSpend.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyAgentSpend record
                    'date': 'gjjgegdic',
                    'api_key': 'bijbiccd',
                },
                {
                    # data to create a LiteLLM_DailyAgentSpend record
                    'date': 'cbaagdieci',
                    'api_key': 'jchifaegj',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   Qy  rf   z*LiteLLM_DailyAgentSpendActions.create_manyrg   -types.LiteLLM_DailyAgentSpendWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyAgentSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyAgentSpend filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The deleted LiteLLM_DailyAgentSpend record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().delete(
            where={
                'id': 'dhhdhfebi',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   y  ro   z%LiteLLM_DailyAgentSpendActions.deletec                   rp   )a  Find a unique LiteLLM_DailyAgentSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyAgentSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The found LiteLLM_DailyAgentSpend record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().find_unique(
            where={
                'id': 'decchddih',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   y  rs   z*LiteLLM_DailyAgentSpendActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_DailyAgentSpend record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyAgentSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The found LiteLLM_DailyAgentSpend record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().find_unique_or_raise(
            where={
                'id': 'bbegbdehci',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   y  ru   z3LiteLLM_DailyAgentSpendActions.find_unique_or_raiserv   rw   rx   1Optional[types.LiteLLM_DailyAgentSpendWhereInput]rz   7Optional[types.LiteLLM_DailyAgentSpendWhereUniqueInput]r|   kOptional[Union[types.LiteLLM_DailyAgentSpendOrderByInput, List[types.LiteLLM_DailyAgentSpendOrderByInput]]]r~   <Optional[List[types.LiteLLM_DailyAgentSpendScalarFieldKeys]]c           	        r   )	aZ  Find multiple LiteLLM_DailyAgentSpend records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyAgentSpend records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyAgentSpend filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model
        order
            Order the returned LiteLLM_DailyAgentSpend records by any field
        distinct
            Filter LiteLLM_DailyAgentSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyAgentSpend]
            The list of all LiteLLM_DailyAgentSpend records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyAgentSpend records
        litellm_dailyagentspends = await LiteLLM_DailyAgentSpend.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyAgentSpend records ordered by the date field
        litellm_dailyagentspends = await LiteLLM_DailyAgentSpend.prisma().find_many(
            take=5,
            order={
                'date': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   pz  r   z<LiteLLM_DailyAgentSpendActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   +z  r   z(LiteLLM_DailyAgentSpendActions.find_manyc           	   
     r   )a\  Find a single LiteLLM_DailyAgentSpend record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyAgentSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model
        order
            Order the returned LiteLLM_DailyAgentSpend records by any field
        distinct
            Filter LiteLLM_DailyAgentSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The first LiteLLM_DailyAgentSpend record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyAgentSpend record ordered by the api_key field
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().find_first(
            skip=1,
            order={
                'api_key': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   rz  r   z)LiteLLM_DailyAgentSpendActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyAgentSpend record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyAgentSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model
        order
            Order the returned LiteLLM_DailyAgentSpend records by any field
        distinct
            Filter LiteLLM_DailyAgentSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The first LiteLLM_DailyAgentSpend record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyAgentSpend record ordered by the model field
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().find_first_or_raise(
            skip=1,
            order={
                'model': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   z  r   z2LiteLLM_DailyAgentSpendActions.find_first_or_raise(types.LiteLLM_DailyAgentSpendUpdateInputc                   r   )a  Update a single LiteLLM_DailyAgentSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyAgentSpend record data specifying what to update
        where
            LiteLLM_DailyAgentSpend filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The updated LiteLLM_DailyAgentSpend record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().update(
            where={
                'id': 'bcebgbhhgb',
            },
            data={
                # data to update the LiteLLM_DailyAgentSpend record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   z  r   z%LiteLLM_DailyAgentSpendActions.update(types.LiteLLM_DailyAgentSpendUpsertInputc              	     r   )	a6  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyAgentSpend filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyAgentSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyAgentSpend
            The created or updated LiteLLM_DailyAgentSpend record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyagentspend = await LiteLLM_DailyAgentSpend.prisma().upsert(
            where={
                'id': 'ghegfaceg',
            },
            data={
                'create': {
                    'id': 'ghegfaceg',
                    'date': 'cbaagdieci',
                    'api_key': 'jchifaegj',
                },
                'update': {
                    'date': 'cbaagdieci',
                    'api_key': 'jchifaegj',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   /{  r   z%LiteLLM_DailyAgentSpendActions.upsert4types.LiteLLM_DailyAgentSpendUpdateManyMutationInput'types.LiteLLM_DailyAgentSpendWhereInputc                   r   )aQ  Update multiple LiteLLM_DailyAgentSpend records

        Parameters
        ----------
        data
            LiteLLM_DailyAgentSpend data to update the selected LiteLLM_DailyAgentSpend records to
        where
            Filter to select the LiteLLM_DailyAgentSpend records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyAgentSpend records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyAgentSpend records
        total = await LiteLLM_DailyAgentSpend.prisma().update_many(
            data={
                'model_group': 'hdeaejgah'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   m{  r   z*LiteLLM_DailyAgentSpendActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyAgentSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyAgentSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyAgentSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyAgentSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyAgentSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyAgentSpendCountAggregateOutput
        results = await LiteLLM_DailyAgentSpend.prisma().count(
            select={
                '_all': True,
                'custom_llm_provider': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   {  r   z$LiteLLM_DailyAgentSpendActions.count0types.LiteLLM_DailyAgentSpendCountAggregateInput1types.LiteLLM_DailyAgentSpendCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   {  r   :Optional[types.LiteLLM_DailyAgentSpendCountAggregateInput]=Union[int, types.LiteLLM_DailyAgentSpendCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DailyAgentSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyAgentSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyAgentSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyAgentSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyAgentSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyAgentSpendCountAggregateOutput
        results = await LiteLLM_DailyAgentSpend.prisma().count(
            select={
                '_all': True,
                'mcp_namespaced_tool_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   |  r   z7LiteLLM_DailyAgentSpendActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   +LiteLLM_DailyAgentSpendCountAggregateOutputr   r5   r5   r6   r_   {  r   c                   r   )a  Delete multiple LiteLLM_DailyAgentSpend records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyAgentSpend filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyAgentSpend records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyAgentSpend records
        total = await LiteLLM_DailyAgentSpend.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   2|  r   z*LiteLLM_DailyAgentSpendActions.delete_manyr   r   4List['types.LiteLLM_DailyAgentSpendScalarFieldKeys']3Optional['types.LiteLLM_DailyAgentSpendWhereInput']r   :Optional['types.LiteLLM_DailyAgentSpendAvgAggregateInput']r   :Optional['types.LiteLLM_DailyAgentSpendSumAggregateInput']r   :Optional['types.LiteLLM_DailyAgentSpendMinAggregateInput']r   :Optional['types.LiteLLM_DailyAgentSpendMaxAggregateInput']r   GOptional['types.LiteLLM_DailyAgentSpendScalarWhereWithAggregatesInput']r_   IOptional[Union[bool, 'types.LiteLLM_DailyAgentSpendCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyAgentSpendScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyAgentSpendScalarFieldKeys', 'types.SortOrder']]]]2List['types.LiteLLM_DailyAgentSpendGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyAgentSpend records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyAgentSpend fields to group records by
        where
            LiteLLM_DailyAgentSpend filter to select records
        take
            Limit the maximum number of LiteLLM_DailyAgentSpend records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyAgentSpendGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyAgentSpend record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyAgentSpend records by endpoint values
        # and count how many records are in each group
        results = await LiteLLM_DailyAgentSpend.prisma().group_by(
            ['endpoint'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   Z|  r   z'LiteLLM_DailyAgentSpendActions.group_byr   r   r   r2   )rF   rB  rH   rC  r/   r%   )rF   rD  rW   rY   r/   r   )rg   rE  rH   rC  r/   rB   )rg   rE  rH   rC  r/   r%   r   )rv   rw   rx   rw   rg   rF  rz   rG  rH   rC  r|   rH  r~   rI  r/   r<   r   )rx   rw   rg   rF  rz   rG  rH   rC  r|   rH  r~   rI  r/   rB   )rx   rw   rg   rF  rz   rG  rH   rC  r|   rH  r~   rI  r/   r%   )rF   rJ  rg   rE  rH   rC  r/   rB   )rg   rE  rF   rK  rH   rC  r/   r%   )rF   rL  rg   rM  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rF  rz   rG  r/   r   r   )r   rN  rv   rw   rx   rw   rg   rF  rz   rG  r/   rO  )r   rP  rv   rw   rx   rw   rg   rF  rz   rG  r/   rQ  )rg   rF  r/   r   )r   rS  rg   rT  rv   rw   rx   rw   r   rU  r   rV  r   rW  r   rX  r   rY  r_   rZ  r|   r[  r/   r\  r   r5   r5   r5   r6   rA  x  r   rA  c                   @  r'   ){LiteLLM_DailyTeamSpendActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   |  r8   z&LiteLLM_DailyTeamSpendActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyTeamSpend]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyTeamSpend.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyTeamSpend WHERE id = $1',
            'ddiiihaci',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   |  rA   z'LiteLLM_DailyTeamSpendActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyTeamSpend.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyTeamSpend WHERE team_id = $1',
            'jdhfacdgf',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   |  rE   z)LiteLLM_DailyTeamSpendActions.query_firstNrF   'types.LiteLLM_DailyTeamSpendCreateInputrH   -Optional[types.LiteLLM_DailyTeamSpendInclude]r%   c                   rJ   )a  Create a new LiteLLM_DailyTeamSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyTeamSpend record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The created LiteLLM_DailyTeamSpend record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyTeamSpend record from just the required fields
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().create(
            data={
                # data to create a LiteLLM_DailyTeamSpend record
                'date': 'fcbbahcbi',
                'api_key': 'edcgchech',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   $}  rU   z$LiteLLM_DailyTeamSpendActions.createrV   =List[types.LiteLLM_DailyTeamSpendCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyTeamSpend records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyTeamSpend record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyTeamSpend.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyTeamSpend record
                    'date': 'bfehccdcge',
                    'api_key': 'ehcibdegf',
                },
                {
                    # data to create a LiteLLM_DailyTeamSpend record
                    'date': 'ebhjifbbi',
                    'api_key': 'jaigficdj',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   U}  rf   z)LiteLLM_DailyTeamSpendActions.create_manyrg   ,types.LiteLLM_DailyTeamSpendWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyTeamSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyTeamSpend filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The deleted LiteLLM_DailyTeamSpend record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().delete(
            where={
                'id': 'bggcfifgbc',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   }  ro   z$LiteLLM_DailyTeamSpendActions.deletec                   rp   )a  Find a unique LiteLLM_DailyTeamSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyTeamSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The found LiteLLM_DailyTeamSpend record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().find_unique(
            where={
                'id': 'bhidfjibgf',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   }  rs   z)LiteLLM_DailyTeamSpendActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_DailyTeamSpend record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyTeamSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The found LiteLLM_DailyTeamSpend record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().find_unique_or_raise(
            where={
                'id': 'fcgdaijha',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   }  ru   z2LiteLLM_DailyTeamSpendActions.find_unique_or_raiserv   rw   rx   0Optional[types.LiteLLM_DailyTeamSpendWhereInput]rz   6Optional[types.LiteLLM_DailyTeamSpendWhereUniqueInput]r|   iOptional[Union[types.LiteLLM_DailyTeamSpendOrderByInput, List[types.LiteLLM_DailyTeamSpendOrderByInput]]]r~   ;Optional[List[types.LiteLLM_DailyTeamSpendScalarFieldKeys]]c           	        r   )	aL  Find multiple LiteLLM_DailyTeamSpend records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyTeamSpend records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyTeamSpend filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model
        order
            Order the returned LiteLLM_DailyTeamSpend records by any field
        distinct
            Filter LiteLLM_DailyTeamSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyTeamSpend]
            The list of all LiteLLM_DailyTeamSpend records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyTeamSpend records
        litellm_dailyteamspends = await LiteLLM_DailyTeamSpend.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyTeamSpend records ordered by the date field
        litellm_dailyteamspends = await LiteLLM_DailyTeamSpend.prisma().find_many(
            take=5,
            order={
                'date': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   t~  r   z;LiteLLM_DailyTeamSpendActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   /~  r   z'LiteLLM_DailyTeamSpendActions.find_manyc           	   
     r   )aR  Find a single LiteLLM_DailyTeamSpend record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTeamSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model
        order
            Order the returned LiteLLM_DailyTeamSpend records by any field
        distinct
            Filter LiteLLM_DailyTeamSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The first LiteLLM_DailyTeamSpend record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyTeamSpend record ordered by the api_key field
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().find_first(
            skip=1,
            order={
                'api_key': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   v~  r   z(LiteLLM_DailyTeamSpendActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyTeamSpend record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTeamSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model
        order
            Order the returned LiteLLM_DailyTeamSpend records by any field
        distinct
            Filter LiteLLM_DailyTeamSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The first LiteLLM_DailyTeamSpend record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyTeamSpend record ordered by the model field
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().find_first_or_raise(
            skip=1,
            order={
                'model': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ~  r   z1LiteLLM_DailyTeamSpendActions.find_first_or_raise'types.LiteLLM_DailyTeamSpendUpdateInputc                   r   )a  Update a single LiteLLM_DailyTeamSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyTeamSpend record data specifying what to update
        where
            LiteLLM_DailyTeamSpend filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The updated LiteLLM_DailyTeamSpend record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().update(
            where={
                'id': 'bbgfajah',
            },
            data={
                # data to update the LiteLLM_DailyTeamSpend record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   ~  r   z$LiteLLM_DailyTeamSpendActions.update'types.LiteLLM_DailyTeamSpendUpsertInputc              	     r   )	a0  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyTeamSpend filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTeamSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTeamSpend
            The created or updated LiteLLM_DailyTeamSpend record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyteamspend = await LiteLLM_DailyTeamSpend.prisma().upsert(
            where={
                'id': 'bbaecgicia',
            },
            data={
                'create': {
                    'id': 'bbaecgicia',
                    'date': 'ebhjifbbi',
                    'api_key': 'jaigficdj',
                },
                'update': {
                    'date': 'ebhjifbbi',
                    'api_key': 'jaigficdj',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   3  r   z$LiteLLM_DailyTeamSpendActions.upsert3types.LiteLLM_DailyTeamSpendUpdateManyMutationInput&types.LiteLLM_DailyTeamSpendWhereInputc                   r   )aJ  Update multiple LiteLLM_DailyTeamSpend records

        Parameters
        ----------
        data
            LiteLLM_DailyTeamSpend data to update the selected LiteLLM_DailyTeamSpend records to
        where
            Filter to select the LiteLLM_DailyTeamSpend records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyTeamSpend records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyTeamSpend records
        total = await LiteLLM_DailyTeamSpend.prisma().update_many(
            data={
                'model_group': 'hedacahfd'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   q  r   z)LiteLLM_DailyTeamSpendActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyTeamSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyTeamSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTeamSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyTeamSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyTeamSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyTeamSpendCountAggregateOutput
        results = await LiteLLM_DailyTeamSpend.prisma().count(
            select={
                '_all': True,
                'custom_llm_provider': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z#LiteLLM_DailyTeamSpendActions.count/types.LiteLLM_DailyTeamSpendCountAggregateInput0types.LiteLLM_DailyTeamSpendCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   9Optional[types.LiteLLM_DailyTeamSpendCountAggregateInput]<Union[int, types.LiteLLM_DailyTeamSpendCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DailyTeamSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyTeamSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTeamSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyTeamSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyTeamSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyTeamSpendCountAggregateOutput
        results = await LiteLLM_DailyTeamSpend.prisma().count(
            select={
                '_all': True,
                'mcp_namespaced_tool_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   "  r   z6LiteLLM_DailyTeamSpendActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   *LiteLLM_DailyTeamSpendCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a}  Delete multiple LiteLLM_DailyTeamSpend records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyTeamSpend filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyTeamSpend records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyTeamSpend records
        total = await LiteLLM_DailyTeamSpend.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   6  r   z)LiteLLM_DailyTeamSpendActions.delete_manyr   r   3List['types.LiteLLM_DailyTeamSpendScalarFieldKeys']2Optional['types.LiteLLM_DailyTeamSpendWhereInput']r   9Optional['types.LiteLLM_DailyTeamSpendAvgAggregateInput']r   9Optional['types.LiteLLM_DailyTeamSpendSumAggregateInput']r   9Optional['types.LiteLLM_DailyTeamSpendMinAggregateInput']r   9Optional['types.LiteLLM_DailyTeamSpendMaxAggregateInput']r   FOptional['types.LiteLLM_DailyTeamSpendScalarWhereWithAggregatesInput']r_   HOptional[Union[bool, 'types.LiteLLM_DailyTeamSpendCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyTeamSpendScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyTeamSpendScalarFieldKeys', 'types.SortOrder']]]]1List['types.LiteLLM_DailyTeamSpendGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyTeamSpend records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyTeamSpend fields to group records by
        where
            LiteLLM_DailyTeamSpend filter to select records
        take
            Limit the maximum number of LiteLLM_DailyTeamSpend records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyTeamSpendGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyTeamSpend record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyTeamSpend records by endpoint values
        # and count how many records are in each group
        results = await LiteLLM_DailyTeamSpend.prisma().group_by(
            ['endpoint'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   ^  r   z&LiteLLM_DailyTeamSpendActions.group_byr   r   r   r2   )rF   r^  rH   r_  r/   r%   )rF   r`  rW   rY   r/   r   )rg   ra  rH   r_  r/   rB   )rg   ra  rH   r_  r/   r%   r   )rv   rw   rx   rw   rg   rb  rz   rc  rH   r_  r|   rd  r~   re  r/   r<   r   )rx   rw   rg   rb  rz   rc  rH   r_  r|   rd  r~   re  r/   rB   )rx   rw   rg   rb  rz   rc  rH   r_  r|   rd  r~   re  r/   r%   )rF   rf  rg   ra  rH   r_  r/   rB   )rg   ra  rF   rg  rH   r_  r/   r%   )rF   rh  rg   ri  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rb  rz   rc  r/   r   r   )r   rj  rv   rw   rx   rw   rg   rb  rz   rc  r/   rk  )r   rl  rv   rw   rx   rw   rg   rb  rz   rc  r/   rm  )rg   rb  r/   r   )r   ro  rg   rp  rv   rw   rx   rw   r   rq  r   rr  r   rs  r   rt  r   ru  r_   rv  r|   rw  r/   rx  r   r5   r5   r5   r6   r]  |  r   r]  c                   @  r'   ){LiteLLM_DailyTagSpendActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   ր  r8   z%LiteLLM_DailyTagSpendActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyTagSpend]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyTagSpend.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyTagSpend WHERE id = $1',
            'bhgjecjac',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   ڀ  rA   z&LiteLLM_DailyTagSpendActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyTagSpend.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyTagSpend WHERE request_id = $1',
            'bfbdieidhf',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD      rE   z(LiteLLM_DailyTagSpendActions.query_firstNrF   &types.LiteLLM_DailyTagSpendCreateInputrH   ,Optional[types.LiteLLM_DailyTagSpendInclude]r%   c                   rJ   )a  Create a new LiteLLM_DailyTagSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyTagSpend record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The created LiteLLM_DailyTagSpend record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyTagSpend record from just the required fields
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().create(
            data={
                # data to create a LiteLLM_DailyTagSpend record
                'date': 'ffjbdcfia',
                'api_key': 'hfeidjicb',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   (  rU   z#LiteLLM_DailyTagSpendActions.createrV   <List[types.LiteLLM_DailyTagSpendCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyTagSpend records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyTagSpend record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyTagSpend.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyTagSpend record
                    'date': 'bbfbdccdag',
                    'api_key': 'biggefaged',
                },
                {
                    # data to create a LiteLLM_DailyTagSpend record
                    'date': 'gfdbeaejg',
                    'api_key': 'bhacdebcb',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   Y  rf   z(LiteLLM_DailyTagSpendActions.create_manyrg   +types.LiteLLM_DailyTagSpendWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyTagSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyTagSpend filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The deleted LiteLLM_DailyTagSpend record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().delete(
            where={
                'id': 'jhffeibhe',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z#LiteLLM_DailyTagSpendActions.deletec                   rp   )a  Find a unique LiteLLM_DailyTagSpend record.

        Parameters
        ----------
        where
            LiteLLM_DailyTagSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The found LiteLLM_DailyTagSpend record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().find_unique(
            where={
                'id': 'iaiieefjb',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   Ё  rs   z(LiteLLM_DailyTagSpendActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_DailyTagSpend record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyTagSpend filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The found LiteLLM_DailyTagSpend record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().find_unique_or_raise(
            where={
                'id': 'jjhjdgjfg',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z1LiteLLM_DailyTagSpendActions.find_unique_or_raiserv   rw   rx   /Optional[types.LiteLLM_DailyTagSpendWhereInput]rz   5Optional[types.LiteLLM_DailyTagSpendWhereUniqueInput]r|   gOptional[Union[types.LiteLLM_DailyTagSpendOrderByInput, List[types.LiteLLM_DailyTagSpendOrderByInput]]]r~   :Optional[List[types.LiteLLM_DailyTagSpendScalarFieldKeys]]c           	        r   )	a<  Find multiple LiteLLM_DailyTagSpend records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyTagSpend records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyTagSpend filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model
        order
            Order the returned LiteLLM_DailyTagSpend records by any field
        distinct
            Filter LiteLLM_DailyTagSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyTagSpend]
            The list of all LiteLLM_DailyTagSpend records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyTagSpend records
        litellm_dailytagspends = await LiteLLM_DailyTagSpend.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyTagSpend records ordered by the tag field
        litellm_dailytagspends = await LiteLLM_DailyTagSpend.prisma().find_many(
            take=5,
            order={
                'tag': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   x  r   z:LiteLLM_DailyTagSpendActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   3  r   z&LiteLLM_DailyTagSpendActions.find_manyc           	   
     r   )aB  Find a single LiteLLM_DailyTagSpend record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTagSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model
        order
            Order the returned LiteLLM_DailyTagSpend records by any field
        distinct
            Filter LiteLLM_DailyTagSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The first LiteLLM_DailyTagSpend record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyTagSpend record ordered by the date field
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().find_first(
            skip=1,
            order={
                'date': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   z  r   z'LiteLLM_DailyTagSpendActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyTagSpend record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTagSpend filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model
        order
            Order the returned LiteLLM_DailyTagSpend records by any field
        distinct
            Filter LiteLLM_DailyTagSpend records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The first LiteLLM_DailyTagSpend record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyTagSpend record ordered by the api_key field
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().find_first_or_raise(
            skip=1,
            order={
                'api_key': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z0LiteLLM_DailyTagSpendActions.find_first_or_raise&types.LiteLLM_DailyTagSpendUpdateInputc                   r   )a	  Update a single LiteLLM_DailyTagSpend record.

        Parameters
        ----------
        data
            LiteLLM_DailyTagSpend record data specifying what to update
        where
            LiteLLM_DailyTagSpend filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The updated LiteLLM_DailyTagSpend record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().update(
            where={
                'id': 'bhhjcfadhd',
            },
            data={
                # data to update the LiteLLM_DailyTagSpend record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z#LiteLLM_DailyTagSpendActions.update&types.LiteLLM_DailyTagSpendUpsertInputc              	     r   )	a&  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyTagSpend filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyTagSpend model

        Returns
        -------
        prisma.models.LiteLLM_DailyTagSpend
            The created or updated LiteLLM_DailyTagSpend record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailytagspend = await LiteLLM_DailyTagSpend.prisma().upsert(
            where={
                'id': 'fbejadda',
            },
            data={
                'create': {
                    'id': 'fbejadda',
                    'date': 'gfdbeaejg',
                    'api_key': 'bhacdebcb',
                },
                'update': {
                    'date': 'gfdbeaejg',
                    'api_key': 'bhacdebcb',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   7  r   z#LiteLLM_DailyTagSpendActions.upsert2types.LiteLLM_DailyTagSpendUpdateManyMutationInput%types.LiteLLM_DailyTagSpendWhereInputc                   r   )a>  Update multiple LiteLLM_DailyTagSpend records

        Parameters
        ----------
        data
            LiteLLM_DailyTagSpend data to update the selected LiteLLM_DailyTagSpend records to
        where
            Filter to select the LiteLLM_DailyTagSpend records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyTagSpend records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyTagSpend records
        total = await LiteLLM_DailyTagSpend.prisma().update_many(
            data={
                'model': 'bjeaigeddb'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   u  r   z(LiteLLM_DailyTagSpendActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyTagSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyTagSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTagSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyTagSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyTagSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyTagSpendCountAggregateOutput
        results = await LiteLLM_DailyTagSpend.prisma().count(
            select={
                '_all': True,
                'model_group': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z"LiteLLM_DailyTagSpendActions.count.types.LiteLLM_DailyTagSpendCountAggregateInput/types.LiteLLM_DailyTagSpendCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   ڃ  r   8Optional[types.LiteLLM_DailyTagSpendCountAggregateInput];Union[int, types.LiteLLM_DailyTagSpendCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DailyTagSpend records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyTagSpend fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyTagSpend filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyTagSpendCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyTagSpend.prisma().count()

        # results: prisma.types.LiteLLM_DailyTagSpendCountAggregateOutput
        results = await LiteLLM_DailyTagSpend.prisma().count(
            select={
                '_all': True,
                'custom_llm_provider': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   &  r   z5LiteLLM_DailyTagSpendActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   )LiteLLM_DailyTagSpendCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )ax  Delete multiple LiteLLM_DailyTagSpend records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyTagSpend filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyTagSpend records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyTagSpend records
        total = await LiteLLM_DailyTagSpend.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   :  r   z(LiteLLM_DailyTagSpendActions.delete_manyr   r   2List['types.LiteLLM_DailyTagSpendScalarFieldKeys']1Optional['types.LiteLLM_DailyTagSpendWhereInput']r   8Optional['types.LiteLLM_DailyTagSpendAvgAggregateInput']r   8Optional['types.LiteLLM_DailyTagSpendSumAggregateInput']r   8Optional['types.LiteLLM_DailyTagSpendMinAggregateInput']r   8Optional['types.LiteLLM_DailyTagSpendMaxAggregateInput']r   EOptional['types.LiteLLM_DailyTagSpendScalarWhereWithAggregatesInput']r_   GOptional[Union[bool, 'types.LiteLLM_DailyTagSpendCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyTagSpendScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyTagSpendScalarFieldKeys', 'types.SortOrder']]]]0List['types.LiteLLM_DailyTagSpendGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyTagSpend records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyTagSpend fields to group records by
        where
            LiteLLM_DailyTagSpend filter to select records
        take
            Limit the maximum number of LiteLLM_DailyTagSpend records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyTagSpendGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyTagSpend record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyTagSpend records by mcp_namespaced_tool_name values
        # and count how many records are in each group
        results = await LiteLLM_DailyTagSpend.prisma().group_by(
            ['mcp_namespaced_tool_name'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   b  r   z%LiteLLM_DailyTagSpendActions.group_byr   r   r   r2   )rF   rz  rH   r{  r/   r%   )rF   r|  rW   rY   r/   r   )rg   r}  rH   r{  r/   rB   )rg   r}  rH   r{  r/   r%   r   )rv   rw   rx   rw   rg   r~  rz   r  rH   r{  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r~  rz   r  rH   r{  r|   r  r~   r  r/   rB   )rx   rw   rg   r~  rz   r  rH   r{  r|   r  r~   r  r/   r%   )rF   r  rg   r}  rH   r{  r/   rB   )rg   r}  rF   r  rH   r{  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r~  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r~  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r~  rz   r  r/   r  )rg   r~  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   ry  Ѐ  r   ry  c                   @  r'   ){LiteLLM_CronJobActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   ڄ  r8   zLiteLLM_CronJobActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_CronJob]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_CronJob.prisma().query_raw(
            'SELECT * FROM LiteLLM_CronJob WHERE cronjob_id = $1',
            'eceecabdg',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   ބ  rA   z LiteLLM_CronJobActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_CronJob.prisma().query_first(
            'SELECT * FROM LiteLLM_CronJob WHERE pod_id = $1',
            'bdgaajbcab',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z"LiteLLM_CronJobActions.query_firstNrF    types.LiteLLM_CronJobCreateInputrH   &Optional[types.LiteLLM_CronJobInclude]r%   c                   rJ   )a  Create a new LiteLLM_CronJob record.

        Parameters
        ----------
        data
            LiteLLM_CronJob record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The created LiteLLM_CronJob record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_CronJob record from just the required fields
        litellm_cronjob = await LiteLLM_CronJob.prisma().create(
            data={
                # data to create a LiteLLM_CronJob record
                'pod_id': 'chhgehieg',
                'ttl': datetime.datetime.utcnow(),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   ,  rU   zLiteLLM_CronJobActions.createrV   6List[types.LiteLLM_CronJobCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_CronJob records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_CronJob record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_CronJob.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_CronJob record
                    'pod_id': 'faggbiggd',
                    'ttl': datetime.datetime.utcnow(),
                },
                {
                    # data to create a LiteLLM_CronJob record
                    'pod_id': 'bciijiajei',
                    'ttl': datetime.datetime.utcnow(),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   ]  rf   z"LiteLLM_CronJobActions.create_manyrg   %types.LiteLLM_CronJobWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_CronJob record.

        Parameters
        ----------
        where
            LiteLLM_CronJob filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The deleted LiteLLM_CronJob record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cronjob = await LiteLLM_CronJob.prisma().delete(
            where={
                'cronjob_id': 'bdjaadchgf',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   zLiteLLM_CronJobActions.deletec                   rp   )a  Find a unique LiteLLM_CronJob record.

        Parameters
        ----------
        where
            LiteLLM_CronJob filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The found LiteLLM_CronJob record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cronjob = await LiteLLM_CronJob.prisma().find_unique(
            where={
                'cronjob_id': 'biadfeebhi',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   ԅ  rs   z"LiteLLM_CronJobActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_CronJob record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_CronJob filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The found LiteLLM_CronJob record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cronjob = await LiteLLM_CronJob.prisma().find_unique_or_raise(
            where={
                'cronjob_id': 'biajdcaged',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z+LiteLLM_CronJobActions.find_unique_or_raiserv   rw   rx   )Optional[types.LiteLLM_CronJobWhereInput]rz   /Optional[types.LiteLLM_CronJobWhereUniqueInput]r|   [Optional[Union[types.LiteLLM_CronJobOrderByInput, List[types.LiteLLM_CronJobOrderByInput]]]r~   4Optional[List[types.LiteLLM_CronJobScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_CronJob records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_CronJob records returned
        skip
            Ignore the first N results
        where
            LiteLLM_CronJob filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model
        order
            Order the returned LiteLLM_CronJob records by any field
        distinct
            Filter LiteLLM_CronJob records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_CronJob]
            The list of all LiteLLM_CronJob records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_CronJob records
        litellm_cronjobs = await LiteLLM_CronJob.prisma().find_many(take=10)

        # find the first 5 LiteLLM_CronJob records ordered by the status field
        litellm_cronjobs = await LiteLLM_CronJob.prisma().find_many(
            take=5,
            order={
                'status': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r   |  r   z4LiteLLM_CronJobActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   7  r   z LiteLLM_CronJobActions.find_manyc           	   
     r   )a  Find a single LiteLLM_CronJob record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_CronJob filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model
        order
            Order the returned LiteLLM_CronJob records by any field
        distinct
            Filter LiteLLM_CronJob records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The first LiteLLM_CronJob record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_CronJob record ordered by the last_updated field
        litellm_cronjob = await LiteLLM_CronJob.prisma().find_first(
            skip=1,
            order={
                'last_updated': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ~  r   z!LiteLLM_CronJobActions.find_firstc              
     r   )aZ  Find a single LiteLLM_CronJob record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_CronJob filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model
        order
            Order the returned LiteLLM_CronJob records by any field
        distinct
            Filter LiteLLM_CronJob records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The first LiteLLM_CronJob record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_CronJob record ordered by the ttl field
        litellm_cronjob = await LiteLLM_CronJob.prisma().find_first_or_raise(
            skip=1,
            order={
                'ttl': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z*LiteLLM_CronJobActions.find_first_or_raise types.LiteLLM_CronJobUpdateInputc                   r   )a  Update a single LiteLLM_CronJob record.

        Parameters
        ----------
        data
            LiteLLM_CronJob record data specifying what to update
        where
            LiteLLM_CronJob filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The updated LiteLLM_CronJob record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_cronjob = await LiteLLM_CronJob.prisma().update(
            where={
                'cronjob_id': 'ddgjjicai',
            },
            data={
                # data to update the LiteLLM_CronJob record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   zLiteLLM_CronJobActions.update types.LiteLLM_CronJobUpsertInputc              	     r   )	a0  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_CronJob filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_CronJob model

        Returns
        -------
        prisma.models.LiteLLM_CronJob
            The created or updated LiteLLM_CronJob record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cronjob = await LiteLLM_CronJob.prisma().upsert(
            where={
                'cronjob_id': 'efihdjdcb',
            },
            data={
                'create': {
                    'cronjob_id': 'efihdjdcb',
                    'pod_id': 'bciijiajei',
                    'ttl': datetime.datetime.utcnow(),
                },
                'update': {
                    'pod_id': 'bciijiajei',
                    'ttl': datetime.datetime.utcnow(),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   ;  r   zLiteLLM_CronJobActions.upsert,types.LiteLLM_CronJobUpdateManyMutationInputtypes.LiteLLM_CronJobWhereInputc                   r   )a  Update multiple LiteLLM_CronJob records

        Parameters
        ----------
        data
            LiteLLM_CronJob data to update the selected LiteLLM_CronJob records to
        where
            Filter to select the LiteLLM_CronJob records to update

        Returns
        -------
        int
            The total number of LiteLLM_CronJob records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_CronJob records
        total = await LiteLLM_CronJob.prisma().update_many(
            data={
                'cronjob_id': 'bdeacajaig'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   y  r   z"LiteLLM_CronJobActions.update_manyr   c                   r   )a  Count the number of LiteLLM_CronJob records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_CronJob fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_CronJob filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_CronJobCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_CronJob.prisma().count()

        # results: prisma.types.LiteLLM_CronJobCountAggregateOutput
        results = await LiteLLM_CronJob.prisma().count(
            select={
                '_all': True,
                'pod_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   zLiteLLM_CronJobActions.count(types.LiteLLM_CronJobCountAggregateInput)types.LiteLLM_CronJobCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   އ  r   2Optional[types.LiteLLM_CronJobCountAggregateInput]5Union[int, types.LiteLLM_CronJobCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_CronJob records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_CronJob fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_CronJob filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_CronJobCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_CronJob.prisma().count()

        # results: prisma.types.LiteLLM_CronJobCountAggregateOutput
        results = await LiteLLM_CronJob.prisma().count(
            select={
                '_all': True,
                'status': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   *  r   z/LiteLLM_CronJobActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   #LiteLLM_CronJobCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )aZ  Delete multiple LiteLLM_CronJob records.

        Parameters
        ----------
        where
            Optional LiteLLM_CronJob filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_CronJob records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_CronJob records
        total = await LiteLLM_CronJob.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   >  r   z"LiteLLM_CronJobActions.delete_manyr   r   ,List['types.LiteLLM_CronJobScalarFieldKeys']+Optional['types.LiteLLM_CronJobWhereInput']r   2Optional['types.LiteLLM_CronJobAvgAggregateInput']r   2Optional['types.LiteLLM_CronJobSumAggregateInput']r   2Optional['types.LiteLLM_CronJobMinAggregateInput']r   2Optional['types.LiteLLM_CronJobMaxAggregateInput']r   ?Optional['types.LiteLLM_CronJobScalarWhereWithAggregatesInput']r_   AOptional[Union[bool, 'types.LiteLLM_CronJobCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_CronJobScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_CronJobScalarFieldKeys', 'types.SortOrder']]]]*List['types.LiteLLM_CronJobGroupByOutput']c       
      
     r   )ab  Group LiteLLM_CronJob records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_CronJob fields to group records by
        where
            LiteLLM_CronJob filter to select records
        take
            Limit the maximum number of LiteLLM_CronJob records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_CronJobGroupByOutput]
            A list of dictionaries representing the LiteLLM_CronJob record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_CronJob records by last_updated values
        # and count how many records are in each group
        results = await LiteLLM_CronJob.prisma().group_by(
            ['last_updated'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   f  r   zLiteLLM_CronJobActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  Ԅ  r   r  c                   @  r'   ){LiteLLM_ManagedFileTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   ވ  r8   z(LiteLLM_ManagedFileTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedFileTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ManagedFileTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ManagedFileTable WHERE id = $1',
            'jddggchfb',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z)LiteLLM_ManagedFileTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ManagedFileTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ManagedFileTable WHERE unified_file_id = $1',
            'bccbfcfdfg',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z+LiteLLM_ManagedFileTableActions.query_firstNrF   )types.LiteLLM_ManagedFileTableCreateInputrH   /Optional[types.LiteLLM_ManagedFileTableInclude]r%   c                   rJ   )a>  Create a new LiteLLM_ManagedFileTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedFileTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The created LiteLLM_ManagedFileTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ManagedFileTable record from just the required fields
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().create(
            data={
                # data to create a LiteLLM_ManagedFileTable record
                'unified_file_id': 'bjchjgjib',
                'model_mappings': Json({'ibiaaifcc': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   0  rU   z&LiteLLM_ManagedFileTableActions.createrV   ?List[types.LiteLLM_ManagedFileTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ManagedFileTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ManagedFileTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ManagedFileTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ManagedFileTable record
                    'unified_file_id': 'bffejbbadf',
                    'model_mappings': Json({'bajgjiebfc': True}),
                },
                {
                    # data to create a LiteLLM_ManagedFileTable record
                    'unified_file_id': 'bhahahadif',
                    'model_mappings': Json({'bijhaihbcg': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   a  rf   z+LiteLLM_ManagedFileTableActions.create_manyrg   .types.LiteLLM_ManagedFileTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ManagedFileTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedFileTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The deleted LiteLLM_ManagedFileTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().delete(
            where={
                'id': 'cbgcjeecd',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z&LiteLLM_ManagedFileTableActions.deletec                   rp   )a  Find a unique LiteLLM_ManagedFileTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedFileTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The found LiteLLM_ManagedFileTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().find_unique(
            where={
                'id': 'bebibighfg',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   ؉  rs   z+LiteLLM_ManagedFileTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_ManagedFileTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ManagedFileTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The found LiteLLM_ManagedFileTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().find_unique_or_raise(
            where={
                'id': 'bbhjeejidh',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z4LiteLLM_ManagedFileTableActions.find_unique_or_raiserv   rw   rx   2Optional[types.LiteLLM_ManagedFileTableWhereInput]rz   8Optional[types.LiteLLM_ManagedFileTableWhereUniqueInput]r|   mOptional[Union[types.LiteLLM_ManagedFileTableOrderByInput, List[types.LiteLLM_ManagedFileTableOrderByInput]]]r~   =Optional[List[types.LiteLLM_ManagedFileTableScalarFieldKeys]]c           	        r   )	av  Find multiple LiteLLM_ManagedFileTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ManagedFileTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ManagedFileTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model
        order
            Order the returned LiteLLM_ManagedFileTable records by any field
        distinct
            Filter LiteLLM_ManagedFileTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedFileTable]
            The list of all LiteLLM_ManagedFileTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ManagedFileTable records
        litellm_managedfiletables = await LiteLLM_ManagedFileTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ManagedFileTable records ordered by the file_object field
        litellm_managedfiletables = await LiteLLM_ManagedFileTable.prisma().find_many(
            take=5,
            order={
                'file_object': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z=LiteLLM_ManagedFileTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   ;  r   z)LiteLLM_ManagedFileTableActions.find_manyc           	   
     r   )at  Find a single LiteLLM_ManagedFileTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedFileTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model
        order
            Order the returned LiteLLM_ManagedFileTable records by any field
        distinct
            Filter LiteLLM_ManagedFileTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The first LiteLLM_ManagedFileTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedFileTable record ordered by the model_mappings field
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().find_first(
            skip=1,
            order={
                'model_mappings': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z*LiteLLM_ManagedFileTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ManagedFileTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedFileTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model
        order
            Order the returned LiteLLM_ManagedFileTable records by any field
        distinct
            Filter LiteLLM_ManagedFileTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The first LiteLLM_ManagedFileTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedFileTable record ordered by the flat_model_file_ids field
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'flat_model_file_ids': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   Ɗ  r   z3LiteLLM_ManagedFileTableActions.find_first_or_raise)types.LiteLLM_ManagedFileTableUpdateInputc                   r   )a$  Update a single LiteLLM_ManagedFileTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedFileTable record data specifying what to update
        where
            LiteLLM_ManagedFileTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The updated LiteLLM_ManagedFileTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().update(
            where={
                'id': 'bfgebdfefi',
            },
            data={
                # data to update the LiteLLM_ManagedFileTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z&LiteLLM_ManagedFileTableActions.update)types.LiteLLM_ManagedFileTableUpsertInputc              	     r   )	a~  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ManagedFileTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedFileTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedFileTable
            The created or updated LiteLLM_ManagedFileTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedfiletable = await LiteLLM_ManagedFileTable.prisma().upsert(
            where={
                'id': 'jgijgagjb',
            },
            data={
                'create': {
                    'id': 'jgijgagjb',
                    'unified_file_id': 'bhahahadif',
                    'model_mappings': Json({'bijhaihbcg': True}),
                },
                'update': {
                    'unified_file_id': 'bhahahadif',
                    'model_mappings': Json({'bijhaihbcg': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   ?  r   z&LiteLLM_ManagedFileTableActions.upsert5types.LiteLLM_ManagedFileTableUpdateManyMutationInput(types.LiteLLM_ManagedFileTableWhereInputc                   r   )a]  Update multiple LiteLLM_ManagedFileTable records

        Parameters
        ----------
        data
            LiteLLM_ManagedFileTable data to update the selected LiteLLM_ManagedFileTable records to
        where
            Filter to select the LiteLLM_ManagedFileTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ManagedFileTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ManagedFileTable records
        total = await LiteLLM_ManagedFileTable.prisma().update_many(
            data={
                'storage_backend': 'biagjfcfga'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r   }  r   z+LiteLLM_ManagedFileTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ManagedFileTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedFileTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedFileTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedFileTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedFileTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedFileTableCountAggregateOutput
        results = await LiteLLM_ManagedFileTable.prisma().count(
            select={
                '_all': True,
                'storage_url': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z%LiteLLM_ManagedFileTableActions.count1types.LiteLLM_ManagedFileTableCountAggregateInput2types.LiteLLM_ManagedFileTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   ;Optional[types.LiteLLM_ManagedFileTableCountAggregateInput]>Union[int, types.LiteLLM_ManagedFileTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ManagedFileTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedFileTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedFileTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedFileTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedFileTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedFileTableCountAggregateOutput
        results = await LiteLLM_ManagedFileTable.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   .  r   z8LiteLLM_ManagedFileTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   ,LiteLLM_ManagedFileTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_ManagedFileTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ManagedFileTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ManagedFileTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ManagedFileTable records
        total = await LiteLLM_ManagedFileTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   B  r   z+LiteLLM_ManagedFileTableActions.delete_manyr   r   5List['types.LiteLLM_ManagedFileTableScalarFieldKeys']4Optional['types.LiteLLM_ManagedFileTableWhereInput']r   ;Optional['types.LiteLLM_ManagedFileTableAvgAggregateInput']r   ;Optional['types.LiteLLM_ManagedFileTableSumAggregateInput']r   ;Optional['types.LiteLLM_ManagedFileTableMinAggregateInput']r   ;Optional['types.LiteLLM_ManagedFileTableMaxAggregateInput']r   HOptional['types.LiteLLM_ManagedFileTableScalarWhereWithAggregatesInput']r_   JOptional[Union[bool, 'types.LiteLLM_ManagedFileTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ManagedFileTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ManagedFileTableScalarFieldKeys', 'types.SortOrder']]]]3List['types.LiteLLM_ManagedFileTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ManagedFileTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ManagedFileTable fields to group records by
        where
            LiteLLM_ManagedFileTable filter to select records
        take
            Limit the maximum number of LiteLLM_ManagedFileTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ManagedFileTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ManagedFileTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ManagedFileTable records by created_by values
        # and count how many records are in each group
        results = await LiteLLM_ManagedFileTable.prisma().group_by(
            ['created_by'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   j  r   z(LiteLLM_ManagedFileTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  ؈  r   r  c                   @  r'   ){!LiteLLM_ManagedObjectTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z*LiteLLM_ManagedObjectTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedObjectTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ManagedObjectTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ManagedObjectTable WHERE id = $1',
            'bggbhejccf',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z+LiteLLM_ManagedObjectTableActions.query_rawrB   c                   r=   )a!  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ManagedObjectTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ManagedObjectTable WHERE unified_object_id = $1',
            'ichjgigcc',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z-LiteLLM_ManagedObjectTableActions.query_firstNrF   +types.LiteLLM_ManagedObjectTableCreateInputrH   1Optional[types.LiteLLM_ManagedObjectTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ManagedObjectTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedObjectTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The created LiteLLM_ManagedObjectTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ManagedObjectTable record from just the required fields
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().create(
            data={
                # data to create a LiteLLM_ManagedObjectTable record
                'unified_object_id': 'bhiiegaibf',
                'model_object_id': 'bdegidheae',
                'file_object': Json({'bddbbjidhd': True}),
                'file_purpose': 'jefedjaji',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   4  r  z(LiteLLM_ManagedObjectTableActions.createrV   AList[types.LiteLLM_ManagedObjectTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ManagedObjectTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ManagedObjectTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ManagedObjectTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ManagedObjectTable record
                    'unified_object_id': 'eicbgeabb',
                    'model_object_id': 'fchjhjjbc',
                    'file_object': Json({'bagfajdjcb': True}),
                    'file_purpose': 'bddhgfeaig',
                },
                {
                    # data to create a LiteLLM_ManagedObjectTable record
                    'unified_object_id': 'bfgchaiff',
                    'model_object_id': 'cifcjfbfg',
                    'file_object': Json({'bdcjigjhd': True}),
                    'file_purpose': 'bfefdahgac',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   g  r  z-LiteLLM_ManagedObjectTableActions.create_manyrg   0types.LiteLLM_ManagedObjectTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ManagedObjectTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedObjectTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The deleted LiteLLM_ManagedObjectTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().delete(
            where={
                'id': 'bichcieged',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z(LiteLLM_ManagedObjectTableActions.deletec                   rp   )a  Find a unique LiteLLM_ManagedObjectTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedObjectTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The found LiteLLM_ManagedObjectTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().find_unique(
            where={
                'id': 'caijedigce',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z-LiteLLM_ManagedObjectTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_ManagedObjectTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ManagedObjectTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The found LiteLLM_ManagedObjectTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().find_unique_or_raise(
            where={
                'id': 'bebebdfbcj',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z6LiteLLM_ManagedObjectTableActions.find_unique_or_raiserv   rw   rx   4Optional[types.LiteLLM_ManagedObjectTableWhereInput]rz   :Optional[types.LiteLLM_ManagedObjectTableWhereUniqueInput]r|   qOptional[Union[types.LiteLLM_ManagedObjectTableOrderByInput, List[types.LiteLLM_ManagedObjectTableOrderByInput]]]r~   ?Optional[List[types.LiteLLM_ManagedObjectTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_ManagedObjectTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ManagedObjectTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ManagedObjectTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model
        order
            Order the returned LiteLLM_ManagedObjectTable records by any field
        distinct
            Filter LiteLLM_ManagedObjectTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedObjectTable]
            The list of all LiteLLM_ManagedObjectTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ManagedObjectTable records
        litellm_managedobjecttables = await LiteLLM_ManagedObjectTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ManagedObjectTable records ordered by the model_object_id field
        litellm_managedobjecttables = await LiteLLM_ManagedObjectTable.prisma().find_many(
            take=5,
            order={
                'model_object_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z?LiteLLM_ManagedObjectTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   E  r   z+LiteLLM_ManagedObjectTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_ManagedObjectTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedObjectTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model
        order
            Order the returned LiteLLM_ManagedObjectTable records by any field
        distinct
            Filter LiteLLM_ManagedObjectTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The first LiteLLM_ManagedObjectTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedObjectTable record ordered by the file_object field
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().find_first(
            skip=1,
            order={
                'file_object': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z,LiteLLM_ManagedObjectTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ManagedObjectTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedObjectTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model
        order
            Order the returned LiteLLM_ManagedObjectTable records by any field
        distinct
            Filter LiteLLM_ManagedObjectTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The first LiteLLM_ManagedObjectTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedObjectTable record ordered by the file_purpose field
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'file_purpose': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   Ў  r   z5LiteLLM_ManagedObjectTableActions.find_first_or_raise+types.LiteLLM_ManagedObjectTableUpdateInputc                   r   )a6  Update a single LiteLLM_ManagedObjectTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedObjectTable record data specifying what to update
        where
            LiteLLM_ManagedObjectTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The updated LiteLLM_ManagedObjectTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().update(
            where={
                'id': 'caffheehji',
            },
            data={
                # data to update the LiteLLM_ManagedObjectTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z(LiteLLM_ManagedObjectTableActions.update+types.LiteLLM_ManagedObjectTableUpsertInputc              	     r   )	aP  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ManagedObjectTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedObjectTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedObjectTable
            The created or updated LiteLLM_ManagedObjectTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedobjecttable = await LiteLLM_ManagedObjectTable.prisma().upsert(
            where={
                'id': 'hfdidadjj',
            },
            data={
                'create': {
                    'id': 'hfdidadjj',
                    'unified_object_id': 'bfgchaiff',
                    'model_object_id': 'cifcjfbfg',
                    'file_object': Json({'bdcjigjhd': True}),
                    'file_purpose': 'bfefdahgac',
                },
                'update': {
                    'unified_object_id': 'bfgchaiff',
                    'model_object_id': 'cifcjfbfg',
                    'file_object': Json({'bdcjigjhd': True}),
                    'file_purpose': 'bfefdahgac',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   I  r  z(LiteLLM_ManagedObjectTableActions.upsert7types.LiteLLM_ManagedObjectTableUpdateManyMutationInput*types.LiteLLM_ManagedObjectTableWhereInputc                   r   )ab  Update multiple LiteLLM_ManagedObjectTable records

        Parameters
        ----------
        data
            LiteLLM_ManagedObjectTable data to update the selected LiteLLM_ManagedObjectTable records to
        where
            Filter to select the LiteLLM_ManagedObjectTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ManagedObjectTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ManagedObjectTable records
        total = await LiteLLM_ManagedObjectTable.prisma().update_many(
            data={
                'status': 'bcdiiadeae'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z-LiteLLM_ManagedObjectTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ManagedObjectTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedObjectTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedObjectTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedObjectTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedObjectTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedObjectTableCountAggregateOutput
        results = await LiteLLM_ManagedObjectTable.prisma().count(
            select={
                '_all': True,
                'batch_processed': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z'LiteLLM_ManagedObjectTableActions.count3types.LiteLLM_ManagedObjectTableCountAggregateInput4types.LiteLLM_ManagedObjectTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   =Optional[types.LiteLLM_ManagedObjectTableCountAggregateInput]@Union[int, types.LiteLLM_ManagedObjectTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ManagedObjectTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedObjectTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedObjectTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedObjectTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedObjectTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedObjectTableCountAggregateOutput
        results = await LiteLLM_ManagedObjectTable.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   <  r   z:LiteLLM_ManagedObjectTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   .LiteLLM_ManagedObjectTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_ManagedObjectTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ManagedObjectTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ManagedObjectTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ManagedObjectTable records
        total = await LiteLLM_ManagedObjectTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   P  r   z-LiteLLM_ManagedObjectTableActions.delete_manyr   r   7List['types.LiteLLM_ManagedObjectTableScalarFieldKeys']6Optional['types.LiteLLM_ManagedObjectTableWhereInput']r   =Optional['types.LiteLLM_ManagedObjectTableAvgAggregateInput']r   =Optional['types.LiteLLM_ManagedObjectTableSumAggregateInput']r   =Optional['types.LiteLLM_ManagedObjectTableMinAggregateInput']r   =Optional['types.LiteLLM_ManagedObjectTableMaxAggregateInput']r   JOptional['types.LiteLLM_ManagedObjectTableScalarWhereWithAggregatesInput']r_   LOptional[Union[bool, 'types.LiteLLM_ManagedObjectTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ManagedObjectTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ManagedObjectTableScalarFieldKeys', 'types.SortOrder']]]]5List['types.LiteLLM_ManagedObjectTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ManagedObjectTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ManagedObjectTable fields to group records by
        where
            LiteLLM_ManagedObjectTable filter to select records
        take
            Limit the maximum number of LiteLLM_ManagedObjectTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ManagedObjectTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ManagedObjectTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ManagedObjectTable records by created_by values
        # and count how many records are in each group
        results = await LiteLLM_ManagedObjectTable.prisma().group_by(
            ['created_by'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   x  r   z*LiteLLM_ManagedObjectTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r  ܌  r  r  c                   @  r'   ){&LiteLLM_ManagedVectorStoreTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z/LiteLLM_ManagedVectorStoreTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedVectorStoreTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ManagedVectorStoreTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ManagedVectorStoreTable WHERE id = $1',
            'bdhhaeiaif',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z0LiteLLM_ManagedVectorStoreTableActions.query_rawrB   c                   r=   )a3  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ManagedVectorStoreTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ManagedVectorStoreTable WHERE unified_resource_id = $1',
            'caffgabefa',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z2LiteLLM_ManagedVectorStoreTableActions.query_firstNrF   0types.LiteLLM_ManagedVectorStoreTableCreateInputrH   6Optional[types.LiteLLM_ManagedVectorStoreTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ManagedVectorStoreTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoreTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The created LiteLLM_ManagedVectorStoreTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ManagedVectorStoreTable record from just the required fields
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().create(
            data={
                # data to create a LiteLLM_ManagedVectorStoreTable record
                'unified_resource_id': 'bjjajgjbbf',
                'model_mappings': Json({'jdecjdgii': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   B  rU   z-LiteLLM_ManagedVectorStoreTableActions.createrV   FList[types.LiteLLM_ManagedVectorStoreTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a>  Create multiple LiteLLM_ManagedVectorStoreTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ManagedVectorStoreTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ManagedVectorStoreTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ManagedVectorStoreTable record
                    'unified_resource_id': 'bcgbcdjjfd',
                    'model_mappings': Json({'bicgfdhjhe': True}),
                },
                {
                    # data to create a LiteLLM_ManagedVectorStoreTable record
                    'unified_resource_id': 'ihfjdgceh',
                    'model_mappings': Json({'gdaedbiee': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   s  rf   z2LiteLLM_ManagedVectorStoreTableActions.create_manyrg   5types.LiteLLM_ManagedVectorStoreTableWhereUniqueInputc                   ri   )a   Delete a single LiteLLM_ManagedVectorStoreTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The deleted LiteLLM_ManagedVectorStoreTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().delete(
            where={
                'id': 'bibdbbffjh',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z-LiteLLM_ManagedVectorStoreTableActions.deletec                   rp   )a  Find a unique LiteLLM_ManagedVectorStoreTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The found LiteLLM_ManagedVectorStoreTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().find_unique(
            where={
                'id': 'bdjfefjjha',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z2LiteLLM_ManagedVectorStoreTableActions.find_uniquec                   rJ   )a=  Find a unique LiteLLM_ManagedVectorStoreTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The found LiteLLM_ManagedVectorStoreTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().find_unique_or_raise(
            where={
                'id': 'bjcjfbafeh',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt     ru   z;LiteLLM_ManagedVectorStoreTableActions.find_unique_or_raiserv   rw   rx   9Optional[types.LiteLLM_ManagedVectorStoreTableWhereInput]rz   ?Optional[types.LiteLLM_ManagedVectorStoreTableWhereUniqueInput]r|   {Optional[Union[types.LiteLLM_ManagedVectorStoreTableOrderByInput, List[types.LiteLLM_ManagedVectorStoreTableOrderByInput]]]r~   DOptional[List[types.LiteLLM_ManagedVectorStoreTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_ManagedVectorStoreTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ManagedVectorStoreTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ManagedVectorStoreTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model
        order
            Order the returned LiteLLM_ManagedVectorStoreTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoreTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedVectorStoreTable]
            The list of all LiteLLM_ManagedVectorStoreTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ManagedVectorStoreTable records
        litellm_managedvectorstoretables = await LiteLLM_ManagedVectorStoreTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ManagedVectorStoreTable records ordered by the resource_object field
        litellm_managedvectorstoretables = await LiteLLM_ManagedVectorStoreTable.prisma().find_many(
            take=5,
            order={
                'resource_object': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   zDLiteLLM_ManagedVectorStoreTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   M  r   z0LiteLLM_ManagedVectorStoreTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_ManagedVectorStoreTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model
        order
            Order the returned LiteLLM_ManagedVectorStoreTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoreTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The first LiteLLM_ManagedVectorStoreTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedVectorStoreTable record ordered by the model_mappings field
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().find_first(
            skip=1,
            order={
                'model_mappings': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z1LiteLLM_ManagedVectorStoreTableActions.find_firstc              
     r   )a"  Find a single LiteLLM_ManagedVectorStoreTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model
        order
            Order the returned LiteLLM_ManagedVectorStoreTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoreTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The first LiteLLM_ManagedVectorStoreTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedVectorStoreTable record ordered by the flat_model_resource_ids field
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'flat_model_resource_ids': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ؒ  r   z:LiteLLM_ManagedVectorStoreTableActions.find_first_or_raise0types.LiteLLM_ManagedVectorStoreTableUpdateInputc                   r   )ac  Update a single LiteLLM_ManagedVectorStoreTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoreTable record data specifying what to update
        where
            LiteLLM_ManagedVectorStoreTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The updated LiteLLM_ManagedVectorStoreTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().update(
            where={
                'id': 'bchgjchgjg',
            },
            data={
                # data to update the LiteLLM_ManagedVectorStoreTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z-LiteLLM_ManagedVectorStoreTableActions.update0types.LiteLLM_ManagedVectorStoreTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreTable
            The created or updated LiteLLM_ManagedVectorStoreTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoretable = await LiteLLM_ManagedVectorStoreTable.prisma().upsert(
            where={
                'id': 'idgcdejfd',
            },
            data={
                'create': {
                    'id': 'idgcdejfd',
                    'unified_resource_id': 'ihfjdgceh',
                    'model_mappings': Json({'gdaedbiee': True}),
                },
                'update': {
                    'unified_resource_id': 'ihfjdgceh',
                    'model_mappings': Json({'gdaedbiee': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   Q  r   z-LiteLLM_ManagedVectorStoreTableActions.upsert<types.LiteLLM_ManagedVectorStoreTableUpdateManyMutationInput/types.LiteLLM_ManagedVectorStoreTableWhereInputc                   r   )a  Update multiple LiteLLM_ManagedVectorStoreTable records

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoreTable data to update the selected LiteLLM_ManagedVectorStoreTable records to
        where
            Filter to select the LiteLLM_ManagedVectorStoreTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ManagedVectorStoreTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ManagedVectorStoreTable records
        total = await LiteLLM_ManagedVectorStoreTable.prisma().update_many(
            data={
                'storage_backend': 'baajcgbaag'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z2LiteLLM_ManagedVectorStoreTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ManagedVectorStoreTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedVectorStoreTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedVectorStoreTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedVectorStoreTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedVectorStoreTableCountAggregateOutput
        results = await LiteLLM_ManagedVectorStoreTable.prisma().count(
            select={
                '_all': True,
                'storage_url': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z,LiteLLM_ManagedVectorStoreTableActions.count8types.LiteLLM_ManagedVectorStoreTableCountAggregateInput9types.LiteLLM_ManagedVectorStoreTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   BOptional[types.LiteLLM_ManagedVectorStoreTableCountAggregateInput]EUnion[int, types.LiteLLM_ManagedVectorStoreTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ManagedVectorStoreTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedVectorStoreTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedVectorStoreTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedVectorStoreTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedVectorStoreTableCountAggregateOutput
        results = await LiteLLM_ManagedVectorStoreTable.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   @  r   z?LiteLLM_ManagedVectorStoreTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   3LiteLLM_ManagedVectorStoreTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_ManagedVectorStoreTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ManagedVectorStoreTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ManagedVectorStoreTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ManagedVectorStoreTable records
        total = await LiteLLM_ManagedVectorStoreTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   T  r   z2LiteLLM_ManagedVectorStoreTableActions.delete_manyr   r   <List['types.LiteLLM_ManagedVectorStoreTableScalarFieldKeys'];Optional['types.LiteLLM_ManagedVectorStoreTableWhereInput']r   BOptional['types.LiteLLM_ManagedVectorStoreTableAvgAggregateInput']r   BOptional['types.LiteLLM_ManagedVectorStoreTableSumAggregateInput']r   BOptional['types.LiteLLM_ManagedVectorStoreTableMinAggregateInput']r   BOptional['types.LiteLLM_ManagedVectorStoreTableMaxAggregateInput']r   OOptional['types.LiteLLM_ManagedVectorStoreTableScalarWhereWithAggregatesInput']r_   QOptional[Union[bool, 'types.LiteLLM_ManagedVectorStoreTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ManagedVectorStoreTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ManagedVectorStoreTableScalarFieldKeys', 'types.SortOrder']]]]:List['types.LiteLLM_ManagedVectorStoreTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ManagedVectorStoreTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ManagedVectorStoreTable fields to group records by
        where
            LiteLLM_ManagedVectorStoreTable filter to select records
        take
            Limit the maximum number of LiteLLM_ManagedVectorStoreTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ManagedVectorStoreTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ManagedVectorStoreTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ManagedVectorStoreTable records by created_by values
        # and count how many records are in each group
        results = await LiteLLM_ManagedVectorStoreTable.prisma().group_by(
            ['created_by'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   |  r   z/LiteLLM_ManagedVectorStoreTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r   r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r   r  c                   @  r'   ){'LiteLLM_ManagedVectorStoresTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z0LiteLLM_ManagedVectorStoresTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedVectorStoresTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ManagedVectorStoresTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ManagedVectorStoresTable WHERE vector_store_id = $1',
            'eahbafhhf',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z1LiteLLM_ManagedVectorStoresTableActions.query_rawrB   c                   r=   )a5  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ManagedVectorStoresTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ManagedVectorStoresTable WHERE custom_llm_provider = $1',
            'chbgcaajc',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD     rE   z3LiteLLM_ManagedVectorStoresTableActions.query_firstNrF   1types.LiteLLM_ManagedVectorStoresTableCreateInputrH   7Optional[types.LiteLLM_ManagedVectorStoresTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ManagedVectorStoresTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoresTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The created LiteLLM_ManagedVectorStoresTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ManagedVectorStoresTable record from just the required fields
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().create(
            data={
                # data to create a LiteLLM_ManagedVectorStoresTable record
                'vector_store_id': 'baafadjcdh',
                'custom_llm_provider': 'beihjdafig',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   F  rU   z.LiteLLM_ManagedVectorStoresTableActions.createrV   GList[types.LiteLLM_ManagedVectorStoresTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a+  Create multiple LiteLLM_ManagedVectorStoresTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ManagedVectorStoresTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ManagedVectorStoresTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ManagedVectorStoresTable record
                    'vector_store_id': 'cbdbchfabj',
                    'custom_llm_provider': 'bffjafacbg',
                },
                {
                    # data to create a LiteLLM_ManagedVectorStoresTable record
                    'vector_store_id': 'cbafbcgeab',
                    'custom_llm_provider': 'bedgbciecc',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   w  rf   z3LiteLLM_ManagedVectorStoresTableActions.create_manyrg   6types.LiteLLM_ManagedVectorStoresTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ManagedVectorStoresTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoresTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The deleted LiteLLM_ManagedVectorStoresTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().delete(
            where={
                'vector_store_id': 'bfeehfcihb',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z.LiteLLM_ManagedVectorStoresTableActions.deletec                   rp   )a  Find a unique LiteLLM_ManagedVectorStoresTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoresTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The found LiteLLM_ManagedVectorStoresTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().find_unique(
            where={
                'vector_store_id': 'ibagheidg',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z3LiteLLM_ManagedVectorStoresTableActions.find_uniquec                   rJ   )aP  Find a unique LiteLLM_ManagedVectorStoresTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoresTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The found LiteLLM_ManagedVectorStoresTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().find_unique_or_raise(
            where={
                'vector_store_id': 'bibfefchh',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   !  ru   z<LiteLLM_ManagedVectorStoresTableActions.find_unique_or_raiserv   rw   rx   :Optional[types.LiteLLM_ManagedVectorStoresTableWhereInput]rz   @Optional[types.LiteLLM_ManagedVectorStoresTableWhereUniqueInput]r|   }Optional[Union[types.LiteLLM_ManagedVectorStoresTableOrderByInput, List[types.LiteLLM_ManagedVectorStoresTableOrderByInput]]]r~   EOptional[List[types.LiteLLM_ManagedVectorStoresTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_ManagedVectorStoresTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ManagedVectorStoresTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ManagedVectorStoresTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model
        order
            Order the returned LiteLLM_ManagedVectorStoresTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoresTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedVectorStoresTable]
            The list of all LiteLLM_ManagedVectorStoresTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ManagedVectorStoresTable records
        litellm_managedvectorstorestables = await LiteLLM_ManagedVectorStoresTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ManagedVectorStoresTable records ordered by the vector_store_name field
        litellm_managedvectorstorestables = await LiteLLM_ManagedVectorStoresTable.prisma().find_many(
            take=5,
            order={
                'vector_store_name': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   zELiteLLM_ManagedVectorStoresTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   Q  r   z1LiteLLM_ManagedVectorStoresTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_ManagedVectorStoresTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoresTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model
        order
            Order the returned LiteLLM_ManagedVectorStoresTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoresTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The first LiteLLM_ManagedVectorStoresTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedVectorStoresTable record ordered by the vector_store_description field
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().find_first(
            skip=1,
            order={
                'vector_store_description': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z2LiteLLM_ManagedVectorStoresTableActions.find_firstc              
     r   )a(  Find a single LiteLLM_ManagedVectorStoresTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoresTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model
        order
            Order the returned LiteLLM_ManagedVectorStoresTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoresTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The first LiteLLM_ManagedVectorStoresTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedVectorStoresTable record ordered by the vector_store_metadata field
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'vector_store_metadata': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ܖ  r   z;LiteLLM_ManagedVectorStoresTableActions.find_first_or_raise1types.LiteLLM_ManagedVectorStoresTableUpdateInputc                   r   )ax  Update a single LiteLLM_ManagedVectorStoresTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoresTable record data specifying what to update
        where
            LiteLLM_ManagedVectorStoresTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The updated LiteLLM_ManagedVectorStoresTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().update(
            where={
                'vector_store_id': 'baeeigbje',
            },
            data={
                # data to update the LiteLLM_ManagedVectorStoresTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z.LiteLLM_ManagedVectorStoresTableActions.update1types.LiteLLM_ManagedVectorStoresTableUpsertInputc              	     r   )	aJ  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoresTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoresTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoresTable
            The created or updated LiteLLM_ManagedVectorStoresTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstorestable = await LiteLLM_ManagedVectorStoresTable.prisma().upsert(
            where={
                'vector_store_id': 'fibhgbdb',
            },
            data={
                'create': {
                    'vector_store_id': 'fibhgbdb',
                    'custom_llm_provider': 'bedgbciecc',
                },
                'update': {
                    'custom_llm_provider': 'bedgbciecc',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   U  r  z.LiteLLM_ManagedVectorStoresTableActions.upsert=types.LiteLLM_ManagedVectorStoresTableUpdateManyMutationInput0types.LiteLLM_ManagedVectorStoresTableWhereInputc                   r   )a  Update multiple LiteLLM_ManagedVectorStoresTable records

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoresTable data to update the selected LiteLLM_ManagedVectorStoresTable records to
        where
            Filter to select the LiteLLM_ManagedVectorStoresTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ManagedVectorStoresTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ManagedVectorStoresTable records
        total = await LiteLLM_ManagedVectorStoresTable.prisma().update_many(
            data={
                'created_at': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z3LiteLLM_ManagedVectorStoresTableActions.update_manyr   c                   r   )a   Count the number of LiteLLM_ManagedVectorStoresTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedVectorStoresTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoresTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedVectorStoresTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedVectorStoresTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedVectorStoresTableCountAggregateOutput
        results = await LiteLLM_ManagedVectorStoresTable.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z-LiteLLM_ManagedVectorStoresTableActions.count9types.LiteLLM_ManagedVectorStoresTableCountAggregateInput:types.LiteLLM_ManagedVectorStoresTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   COptional[types.LiteLLM_ManagedVectorStoresTableCountAggregateInput]FUnion[int, types.LiteLLM_ManagedVectorStoresTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ManagedVectorStoresTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedVectorStoresTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoresTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedVectorStoresTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedVectorStoresTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedVectorStoresTableCountAggregateOutput
        results = await LiteLLM_ManagedVectorStoresTable.prisma().count(
            select={
                '_all': True,
                'litellm_credential_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   B  r   z@LiteLLM_ManagedVectorStoresTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   4LiteLLM_ManagedVectorStoresTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_ManagedVectorStoresTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ManagedVectorStoresTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ManagedVectorStoresTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ManagedVectorStoresTable records
        total = await LiteLLM_ManagedVectorStoresTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   V  r   z3LiteLLM_ManagedVectorStoresTableActions.delete_manyr   r   =List['types.LiteLLM_ManagedVectorStoresTableScalarFieldKeys']<Optional['types.LiteLLM_ManagedVectorStoresTableWhereInput']r   COptional['types.LiteLLM_ManagedVectorStoresTableAvgAggregateInput']r   COptional['types.LiteLLM_ManagedVectorStoresTableSumAggregateInput']r   COptional['types.LiteLLM_ManagedVectorStoresTableMinAggregateInput']r   COptional['types.LiteLLM_ManagedVectorStoresTableMaxAggregateInput']r   POptional['types.LiteLLM_ManagedVectorStoresTableScalarWhereWithAggregatesInput']r_   ROptional[Union[bool, 'types.LiteLLM_ManagedVectorStoresTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ManagedVectorStoresTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ManagedVectorStoresTableScalarFieldKeys', 'types.SortOrder']]]];List['types.LiteLLM_ManagedVectorStoresTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ManagedVectorStoresTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ManagedVectorStoresTable fields to group records by
        where
            LiteLLM_ManagedVectorStoresTable filter to select records
        take
            Limit the maximum number of LiteLLM_ManagedVectorStoresTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ManagedVectorStoresTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ManagedVectorStoresTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ManagedVectorStoresTable records by litellm_params values
        # and count how many records are in each group
        results = await LiteLLM_ManagedVectorStoresTable.prisma().group_by(
            ['litellm_params'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r   ~  r   z0LiteLLM_ManagedVectorStoresTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r	  rH   r  r/   rB   )rg   r	  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r
  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r
  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r
  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r	  rH   r  r/   rB   )rg   r	  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r
  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r
  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r
  rz   r  r/   r  )rg   r
  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r   r   r5   r5   r5   r6   r        


&+5F762IFD=
<,8W,r  c                   @  r'   ){LiteLLM_GuardrailsTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z'LiteLLM_GuardrailsTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_GuardrailsTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_GuardrailsTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_GuardrailsTable WHERE guardrail_id = $1',
            'bbifhfaabg',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z(LiteLLM_GuardrailsTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_GuardrailsTable.prisma().query_first(
            'SELECT * FROM LiteLLM_GuardrailsTable WHERE guardrail_name = $1',
            'cbbhjdebdh',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD      rE   z*LiteLLM_GuardrailsTableActions.query_firstNrF   (types.LiteLLM_GuardrailsTableCreateInputrH   .Optional[types.LiteLLM_GuardrailsTableInclude]r%   c                   rJ   )a5  Create a new LiteLLM_GuardrailsTable record.

        Parameters
        ----------
        data
            LiteLLM_GuardrailsTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The created LiteLLM_GuardrailsTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_GuardrailsTable record from just the required fields
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().create(
            data={
                # data to create a LiteLLM_GuardrailsTable record
                'guardrail_name': 'hddcfecha',
                'litellm_params': Json({'bibbehhehb': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   H  rU   z%LiteLLM_GuardrailsTableActions.createrV   >List[types.LiteLLM_GuardrailsTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_GuardrailsTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_GuardrailsTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_GuardrailsTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_GuardrailsTable record
                    'guardrail_name': 'cibfeagfc',
                    'litellm_params': Json({'ibifgbhib': True}),
                },
                {
                    # data to create a LiteLLM_GuardrailsTable record
                    'guardrail_name': 'bgjehbiaja',
                    'litellm_params': Json({'cadgbfjjf': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   y  rf   z*LiteLLM_GuardrailsTableActions.create_manyrg   -types.LiteLLM_GuardrailsTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_GuardrailsTable record.

        Parameters
        ----------
        where
            LiteLLM_GuardrailsTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The deleted LiteLLM_GuardrailsTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().delete(
            where={
                'guardrail_id': 'bgceeachbc',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z%LiteLLM_GuardrailsTableActions.deletec                   rp   )a  Find a unique LiteLLM_GuardrailsTable record.

        Parameters
        ----------
        where
            LiteLLM_GuardrailsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The found LiteLLM_GuardrailsTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().find_unique(
            where={
                'guardrail_id': 'bbcaehffaf',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z*LiteLLM_GuardrailsTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_GuardrailsTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_GuardrailsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The found LiteLLM_GuardrailsTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().find_unique_or_raise(
            where={
                'guardrail_id': 'ddbhhchfi',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   #  ru   z3LiteLLM_GuardrailsTableActions.find_unique_or_raiserv   rw   rx   1Optional[types.LiteLLM_GuardrailsTableWhereInput]rz   7Optional[types.LiteLLM_GuardrailsTableWhereUniqueInput]r|   kOptional[Union[types.LiteLLM_GuardrailsTableOrderByInput, List[types.LiteLLM_GuardrailsTableOrderByInput]]]r~   <Optional[List[types.LiteLLM_GuardrailsTableScalarFieldKeys]]c           	        r   )	an  Find multiple LiteLLM_GuardrailsTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_GuardrailsTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_GuardrailsTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model
        order
            Order the returned LiteLLM_GuardrailsTable records by any field
        distinct
            Filter LiteLLM_GuardrailsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_GuardrailsTable]
            The list of all LiteLLM_GuardrailsTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_GuardrailsTable records
        litellm_guardrailstables = await LiteLLM_GuardrailsTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_GuardrailsTable records ordered by the litellm_params field
        litellm_guardrailstables = await LiteLLM_GuardrailsTable.prisma().find_many(
            take=5,
            order={
                'litellm_params': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z<LiteLLM_GuardrailsTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   S  r   z(LiteLLM_GuardrailsTableActions.find_manyc           	   
     r   )aj  Find a single LiteLLM_GuardrailsTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_GuardrailsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model
        order
            Order the returned LiteLLM_GuardrailsTable records by any field
        distinct
            Filter LiteLLM_GuardrailsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The first LiteLLM_GuardrailsTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_GuardrailsTable record ordered by the guardrail_info field
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().find_first(
            skip=1,
            order={
                'guardrail_info': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z)LiteLLM_GuardrailsTableActions.find_firstc              
     r   )a  Find a single LiteLLM_GuardrailsTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_GuardrailsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model
        order
            Order the returned LiteLLM_GuardrailsTable records by any field
        distinct
            Filter LiteLLM_GuardrailsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The first LiteLLM_GuardrailsTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_GuardrailsTable record ordered by the team_id field
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'team_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   ޚ  r   z2LiteLLM_GuardrailsTableActions.find_first_or_raise(types.LiteLLM_GuardrailsTableUpdateInputc                   r   )a%  Update a single LiteLLM_GuardrailsTable record.

        Parameters
        ----------
        data
            LiteLLM_GuardrailsTable record data specifying what to update
        where
            LiteLLM_GuardrailsTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The updated LiteLLM_GuardrailsTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().update(
            where={
                'guardrail_id': 'bidbdafbhf',
            },
            data={
                # data to update the LiteLLM_GuardrailsTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r     r   z%LiteLLM_GuardrailsTableActions.update(types.LiteLLM_GuardrailsTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_GuardrailsTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_GuardrailsTable model

        Returns
        -------
        prisma.models.LiteLLM_GuardrailsTable
            The created or updated LiteLLM_GuardrailsTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_guardrailstable = await LiteLLM_GuardrailsTable.prisma().upsert(
            where={
                'guardrail_id': 'caehibbhia',
            },
            data={
                'create': {
                    'guardrail_id': 'caehibbhia',
                    'guardrail_name': 'bgjehbiaja',
                    'litellm_params': Json({'cadgbfjjf': True}),
                },
                'update': {
                    'guardrail_name': 'bgjehbiaja',
                    'litellm_params': Json({'cadgbfjjf': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   W  r   z%LiteLLM_GuardrailsTableActions.upsert4types.LiteLLM_GuardrailsTableUpdateManyMutationInput'types.LiteLLM_GuardrailsTableWhereInputc                   r   )a_  Update multiple LiteLLM_GuardrailsTable records

        Parameters
        ----------
        data
            LiteLLM_GuardrailsTable data to update the selected LiteLLM_GuardrailsTable records to
        where
            Filter to select the LiteLLM_GuardrailsTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_GuardrailsTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_GuardrailsTable records
        total = await LiteLLM_GuardrailsTable.prisma().update_many(
            data={
                'created_at': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z*LiteLLM_GuardrailsTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_GuardrailsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_GuardrailsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_GuardrailsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_GuardrailsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_GuardrailsTable.prisma().count()

        # results: prisma.types.LiteLLM_GuardrailsTableCountAggregateOutput
        results = await LiteLLM_GuardrailsTable.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z$LiteLLM_GuardrailsTableActions.count0types.LiteLLM_GuardrailsTableCountAggregateInput1types.LiteLLM_GuardrailsTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   :Optional[types.LiteLLM_GuardrailsTableCountAggregateInput]=Union[int, types.LiteLLM_GuardrailsTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_GuardrailsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_GuardrailsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_GuardrailsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_GuardrailsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_GuardrailsTable.prisma().count()

        # results: prisma.types.LiteLLM_GuardrailsTableCountAggregateOutput
        results = await LiteLLM_GuardrailsTable.prisma().count(
            select={
                '_all': True,
                'status': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   F  r   z7LiteLLM_GuardrailsTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   +LiteLLM_GuardrailsTableCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_GuardrailsTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_GuardrailsTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_GuardrailsTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_GuardrailsTable records
        total = await LiteLLM_GuardrailsTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   Z  r   z*LiteLLM_GuardrailsTableActions.delete_manyr   r   4List['types.LiteLLM_GuardrailsTableScalarFieldKeys']3Optional['types.LiteLLM_GuardrailsTableWhereInput']r   :Optional['types.LiteLLM_GuardrailsTableAvgAggregateInput']r   :Optional['types.LiteLLM_GuardrailsTableSumAggregateInput']r   :Optional['types.LiteLLM_GuardrailsTableMinAggregateInput']r   :Optional['types.LiteLLM_GuardrailsTableMaxAggregateInput']r   GOptional['types.LiteLLM_GuardrailsTableScalarWhereWithAggregatesInput']r_   IOptional[Union[bool, 'types.LiteLLM_GuardrailsTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_GuardrailsTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_GuardrailsTableScalarFieldKeys', 'types.SortOrder']]]]2List['types.LiteLLM_GuardrailsTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_GuardrailsTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_GuardrailsTable fields to group records by
        where
            LiteLLM_GuardrailsTable filter to select records
        take
            Limit the maximum number of LiteLLM_GuardrailsTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_GuardrailsTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_GuardrailsTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_GuardrailsTable records by submitted_at values
        # and count how many records are in each group
        results = await LiteLLM_GuardrailsTable.prisma().group_by(
            ['submitted_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z'LiteLLM_GuardrailsTableActions.group_byr   r   r   r2   )rF   r#  rH   r$  r/   r%   )rF   r%  rW   rY   r/   r   )rg   r&  rH   r$  r/   rB   )rg   r&  rH   r$  r/   r%   r   )rv   rw   rx   rw   rg   r'  rz   r(  rH   r$  r|   r)  r~   r*  r/   r<   r   )rx   rw   rg   r'  rz   r(  rH   r$  r|   r)  r~   r*  r/   rB   )rx   rw   rg   r'  rz   r(  rH   r$  r|   r)  r~   r*  r/   r%   )rF   r+  rg   r&  rH   r$  r/   rB   )rg   r&  rF   r,  rH   r$  r/   r%   )rF   r-  rg   r.  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r'  rz   r(  r/   r   r   )r   r/  rv   rw   rx   rw   rg   r'  rz   r(  r/   r0  )r   r1  rv   rw   rx   rw   rg   r'  rz   r(  r/   r2  )rg   r'  r/   r   )r   r4  rg   r5  rv   rw   rx   rw   r   r6  r   r7  r   r8  r   r9  r   r:  r_   r;  r|   r<  r/   r=  r   r5   r5   r5   r6   r"    r   r"  c                   @  r'   ){$LiteLLM_DailyGuardrailMetricsActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z-LiteLLM_DailyGuardrailMetricsActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyGuardrailMetrics]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyGuardrailMetrics.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyGuardrailMetrics WHERE guardrail_id = $1',
            'iafgcehej',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z.LiteLLM_DailyGuardrailMetricsActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyGuardrailMetrics.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyGuardrailMetrics WHERE date = $1',
            'bbaeaehiec',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   $  rE   z0LiteLLM_DailyGuardrailMetricsActions.query_firstNrF   .types.LiteLLM_DailyGuardrailMetricsCreateInputrH   4Optional[types.LiteLLM_DailyGuardrailMetricsInclude]r%   c                   rJ   )aQ  Create a new LiteLLM_DailyGuardrailMetrics record.

        Parameters
        ----------
        data
            LiteLLM_DailyGuardrailMetrics record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The created LiteLLM_DailyGuardrailMetrics record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyGuardrailMetrics record from just the required fields
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().create(
            data={
                # data to create a LiteLLM_DailyGuardrailMetrics record
                'guardrail_id': 'cfjghaged',
                'date': 'biggeddiea',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   L  rU   z+LiteLLM_DailyGuardrailMetricsActions.createrV   DList[types.LiteLLM_DailyGuardrailMetricsCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyGuardrailMetrics records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyGuardrailMetrics record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyGuardrailMetrics.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyGuardrailMetrics record
                    'guardrail_id': 'biahhhjceb',
                    'date': 'bdjjdgddhe',
                },
                {
                    # data to create a LiteLLM_DailyGuardrailMetrics record
                    'guardrail_id': 'cbaaahdbgh',
                    'date': 'cahhcbdhii',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\   }  rf   z0LiteLLM_DailyGuardrailMetricsActions.create_manyrg   3types.LiteLLM_DailyGuardrailMetricsWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyGuardrailMetrics record.

        Parameters
        ----------
        where
            LiteLLM_DailyGuardrailMetrics filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The deleted LiteLLM_DailyGuardrailMetrics record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().delete(
            where={
                # LiteLLM_DailyGuardrailMetrics where unique filter

            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     r}  z+LiteLLM_DailyGuardrailMetricsActions.deletec                   rp   )a  Find a unique LiteLLM_DailyGuardrailMetrics record.

        Parameters
        ----------
        where
            LiteLLM_DailyGuardrailMetrics filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The found LiteLLM_DailyGuardrailMetrics record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().find_unique(
            where={
                # LiteLLM_DailyGuardrailMetrics where unique filter

            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     r~  z0LiteLLM_DailyGuardrailMetricsActions.find_uniquec                   rJ   )aP  Find a unique LiteLLM_DailyGuardrailMetrics record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyGuardrailMetrics filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The found LiteLLM_DailyGuardrailMetrics record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().find_unique_or_raise(
            where={
                # LiteLLM_DailyGuardrailMetrics where unique filter

            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   )  rU   z9LiteLLM_DailyGuardrailMetricsActions.find_unique_or_raiserv   rw   rx   7Optional[types.LiteLLM_DailyGuardrailMetricsWhereInput]rz   =Optional[types.LiteLLM_DailyGuardrailMetricsWhereUniqueInput]r|   wOptional[Union[types.LiteLLM_DailyGuardrailMetricsOrderByInput, List[types.LiteLLM_DailyGuardrailMetricsOrderByInput]]]r~   BOptional[List[types.LiteLLM_DailyGuardrailMetricsScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_DailyGuardrailMetrics records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyGuardrailMetrics records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyGuardrailMetrics filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model
        order
            Order the returned LiteLLM_DailyGuardrailMetrics records by any field
        distinct
            Filter LiteLLM_DailyGuardrailMetrics records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyGuardrailMetrics]
            The list of all LiteLLM_DailyGuardrailMetrics records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyGuardrailMetrics records
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyGuardrailMetrics records ordered by the requests_evaluated field
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().find_many(
            take=5,
            order={
                'requests_evaluated': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   zBLiteLLM_DailyGuardrailMetricsActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   Z  r   z.LiteLLM_DailyGuardrailMetricsActions.find_manyc           	   
     r   )a  Find a single LiteLLM_DailyGuardrailMetrics record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyGuardrailMetrics filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model
        order
            Order the returned LiteLLM_DailyGuardrailMetrics records by any field
        distinct
            Filter LiteLLM_DailyGuardrailMetrics records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The first LiteLLM_DailyGuardrailMetrics record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyGuardrailMetrics record ordered by the passed_count field
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().find_first(
            skip=1,
            order={
                'passed_count': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z/LiteLLM_DailyGuardrailMetricsActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyGuardrailMetrics record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyGuardrailMetrics filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model
        order
            Order the returned LiteLLM_DailyGuardrailMetrics records by any field
        distinct
            Filter LiteLLM_DailyGuardrailMetrics records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The first LiteLLM_DailyGuardrailMetrics record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyGuardrailMetrics record ordered by the blocked_count field
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().find_first_or_raise(
            skip=1,
            order={
                'blocked_count': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z8LiteLLM_DailyGuardrailMetricsActions.find_first_or_raise.types.LiteLLM_DailyGuardrailMetricsUpdateInputc                   r   )ar  Update a single LiteLLM_DailyGuardrailMetrics record.

        Parameters
        ----------
        data
            LiteLLM_DailyGuardrailMetrics record data specifying what to update
        where
            LiteLLM_DailyGuardrailMetrics filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The updated LiteLLM_DailyGuardrailMetrics record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().update(
            where={
                # LiteLLM_DailyGuardrailMetrics where unique filter

            },
            data={
                # data to update the LiteLLM_DailyGuardrailMetrics record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   %  r  z+LiteLLM_DailyGuardrailMetricsActions.update.types.LiteLLM_DailyGuardrailMetricsUpsertInputc              	     r   )	ad  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyGuardrailMetrics filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyGuardrailMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyGuardrailMetrics
            The created or updated LiteLLM_DailyGuardrailMetrics record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailyguardrailmetrics = await LiteLLM_DailyGuardrailMetrics.prisma().upsert(
            where={
                # LiteLLM_DailyGuardrailMetrics where unique filter
            },
            data={
                'create': {
                    # LiteLLM_DailyGuardrailMetrics data to be set if the record does not exist
                },
                'update': {
                    # LiteLLM_DailyGuardrailMetrics data to be set if the record does exist
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   _  r  z+LiteLLM_DailyGuardrailMetricsActions.upsert:types.LiteLLM_DailyGuardrailMetricsUpdateManyMutationInput-types.LiteLLM_DailyGuardrailMetricsWhereInputc                   r   )a}  Update multiple LiteLLM_DailyGuardrailMetrics records

        Parameters
        ----------
        data
            LiteLLM_DailyGuardrailMetrics data to update the selected LiteLLM_DailyGuardrailMetrics records to
        where
            Filter to select the LiteLLM_DailyGuardrailMetrics records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyGuardrailMetrics records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyGuardrailMetrics records
        total = await LiteLLM_DailyGuardrailMetrics.prisma().update_many(
            data={
                'flagged_count': 12975204540
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z0LiteLLM_DailyGuardrailMetricsActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyGuardrailMetrics records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyGuardrailMetrics fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyGuardrailMetrics filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyGuardrailMetricsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyGuardrailMetrics.prisma().count()

        # results: prisma.types.LiteLLM_DailyGuardrailMetricsCountAggregateOutput
        results = await LiteLLM_DailyGuardrailMetrics.prisma().count(
            select={
                '_all': True,
                'avg_score': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   Ɵ  r   z*LiteLLM_DailyGuardrailMetricsActions.count6types.LiteLLM_DailyGuardrailMetricsCountAggregateInput7types.LiteLLM_DailyGuardrailMetricsCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   @Optional[types.LiteLLM_DailyGuardrailMetricsCountAggregateInput]CUnion[int, types.LiteLLM_DailyGuardrailMetricsCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DailyGuardrailMetrics records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyGuardrailMetrics fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyGuardrailMetrics filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyGuardrailMetricsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyGuardrailMetrics.prisma().count()

        # results: prisma.types.LiteLLM_DailyGuardrailMetricsCountAggregateOutput
        results = await LiteLLM_DailyGuardrailMetrics.prisma().count(
            select={
                '_all': True,
                'avg_latency_ms': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   K  r   z=LiteLLM_DailyGuardrailMetricsActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   1LiteLLM_DailyGuardrailMetricsCountAggregateOutputr   r5   r5   r6   r_   
  r   c                   r   )a  Delete multiple LiteLLM_DailyGuardrailMetrics records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyGuardrailMetrics filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyGuardrailMetrics records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyGuardrailMetrics records
        total = await LiteLLM_DailyGuardrailMetrics.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   _  r   z0LiteLLM_DailyGuardrailMetricsActions.delete_manyr   r   :List['types.LiteLLM_DailyGuardrailMetricsScalarFieldKeys']9Optional['types.LiteLLM_DailyGuardrailMetricsWhereInput']r   @Optional['types.LiteLLM_DailyGuardrailMetricsAvgAggregateInput']r   @Optional['types.LiteLLM_DailyGuardrailMetricsSumAggregateInput']r   @Optional['types.LiteLLM_DailyGuardrailMetricsMinAggregateInput']r   @Optional['types.LiteLLM_DailyGuardrailMetricsMaxAggregateInput']r   MOptional['types.LiteLLM_DailyGuardrailMetricsScalarWhereWithAggregatesInput']r_   OOptional[Union[bool, 'types.LiteLLM_DailyGuardrailMetricsCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyGuardrailMetricsScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyGuardrailMetricsScalarFieldKeys', 'types.SortOrder']]]]8List['types.LiteLLM_DailyGuardrailMetricsGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyGuardrailMetrics records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyGuardrailMetrics fields to group records by
        where
            LiteLLM_DailyGuardrailMetrics filter to select records
        take
            Limit the maximum number of LiteLLM_DailyGuardrailMetrics records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyGuardrailMetricsGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyGuardrailMetrics record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyGuardrailMetrics records by created_at values
        # and count how many records are in each group
        results = await LiteLLM_DailyGuardrailMetrics.prisma().group_by(
            ['created_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z-LiteLLM_DailyGuardrailMetricsActions.group_byr   r   r   r2   )rF   r?  rH   r@  r/   r%   )rF   rA  rW   rY   r/   r   )rg   rB  rH   r@  r/   rB   )rg   rB  rH   r@  r/   r%   r   )rv   rw   rx   rw   rg   rC  rz   rD  rH   r@  r|   rE  r~   rF  r/   r<   r   )rx   rw   rg   rC  rz   rD  rH   r@  r|   rE  r~   rF  r/   rB   )rx   rw   rg   rC  rz   rD  rH   r@  r|   rE  r~   rF  r/   r%   )rF   rG  rg   rB  rH   r@  r/   rB   )rg   rB  rF   rH  rH   r@  r/   r%   )rF   rI  rg   rJ  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rC  rz   rD  r/   r   r   )r   rK  rv   rw   rx   rw   rg   rC  rz   rD  r/   rL  )r   rM  rv   rw   rx   rw   rg   rC  rz   rD  r/   rN  )rg   rC  r/   r   )r   rP  rg   rQ  rv   rw   rx   rw   r   rR  r   rS  r   rT  r   rU  r   rV  r_   rW  r|   rX  r/   rY  r   r5   r5   r5   r6   r>    r  r>  c                   @  r'   ){!LiteLLM_DailyPolicyMetricsActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z*LiteLLM_DailyPolicyMetricsActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_DailyPolicyMetrics]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_DailyPolicyMetrics.prisma().query_raw(
            'SELECT * FROM LiteLLM_DailyPolicyMetrics WHERE policy_id = $1',
            'dajaaacfa',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z+LiteLLM_DailyPolicyMetricsActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_DailyPolicyMetrics.prisma().query_first(
            'SELECT * FROM LiteLLM_DailyPolicyMetrics WHERE date = $1',
            'gdibgabah',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   )  rE   z-LiteLLM_DailyPolicyMetricsActions.query_firstNrF   +types.LiteLLM_DailyPolicyMetricsCreateInputrH   1Optional[types.LiteLLM_DailyPolicyMetricsInclude]r%   c                   rJ   )a4  Create a new LiteLLM_DailyPolicyMetrics record.

        Parameters
        ----------
        data
            LiteLLM_DailyPolicyMetrics record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The created LiteLLM_DailyPolicyMetrics record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_DailyPolicyMetrics record from just the required fields
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().create(
            data={
                # data to create a LiteLLM_DailyPolicyMetrics record
                'policy_id': 'bbdgidjcea',
                'date': 'bigggbcjgb',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   Q  rU   z(LiteLLM_DailyPolicyMetricsActions.createrV   AList[types.LiteLLM_DailyPolicyMetricsCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_DailyPolicyMetrics records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_DailyPolicyMetrics record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_DailyPolicyMetrics.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_DailyPolicyMetrics record
                    'policy_id': 'bfhhaicdhe',
                    'date': 'bgdeigedch',
                },
                {
                    # data to create a LiteLLM_DailyPolicyMetrics record
                    'policy_id': 'gedhbbhdc',
                    'date': 'bcgcffdgcj',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z-LiteLLM_DailyPolicyMetricsActions.create_manyrg   0types.LiteLLM_DailyPolicyMetricsWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_DailyPolicyMetrics record.

        Parameters
        ----------
        where
            LiteLLM_DailyPolicyMetrics filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The deleted LiteLLM_DailyPolicyMetrics record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().delete(
            where={
                # LiteLLM_DailyPolicyMetrics where unique filter

            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   š  r}  z(LiteLLM_DailyPolicyMetricsActions.deletec                   rp   )a  Find a unique LiteLLM_DailyPolicyMetrics record.

        Parameters
        ----------
        where
            LiteLLM_DailyPolicyMetrics filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The found LiteLLM_DailyPolicyMetrics record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().find_unique(
            where={
                # LiteLLM_DailyPolicyMetrics where unique filter

            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     r~  z-LiteLLM_DailyPolicyMetricsActions.find_uniquec                   rJ   )a8  Find a unique LiteLLM_DailyPolicyMetrics record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_DailyPolicyMetrics filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The found LiteLLM_DailyPolicyMetrics record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().find_unique_or_raise(
            where={
                # LiteLLM_DailyPolicyMetrics where unique filter

            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   .  rU   z6LiteLLM_DailyPolicyMetricsActions.find_unique_or_raiserv   rw   rx   4Optional[types.LiteLLM_DailyPolicyMetricsWhereInput]rz   :Optional[types.LiteLLM_DailyPolicyMetricsWhereUniqueInput]r|   qOptional[Union[types.LiteLLM_DailyPolicyMetricsOrderByInput, List[types.LiteLLM_DailyPolicyMetricsOrderByInput]]]r~   ?Optional[List[types.LiteLLM_DailyPolicyMetricsScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_DailyPolicyMetrics records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_DailyPolicyMetrics records returned
        skip
            Ignore the first N results
        where
            LiteLLM_DailyPolicyMetrics filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model
        order
            Order the returned LiteLLM_DailyPolicyMetrics records by any field
        distinct
            Filter LiteLLM_DailyPolicyMetrics records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_DailyPolicyMetrics]
            The list of all LiteLLM_DailyPolicyMetrics records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_DailyPolicyMetrics records
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().find_many(take=10)

        # find the first 5 LiteLLM_DailyPolicyMetrics records ordered by the requests_evaluated field
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().find_many(
            take=5,
            order={
                'requests_evaluated': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z?LiteLLM_DailyPolicyMetricsActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   _  r   z+LiteLLM_DailyPolicyMetricsActions.find_manyc           	   
     r   )a  Find a single LiteLLM_DailyPolicyMetrics record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyPolicyMetrics filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model
        order
            Order the returned LiteLLM_DailyPolicyMetrics records by any field
        distinct
            Filter LiteLLM_DailyPolicyMetrics records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The first LiteLLM_DailyPolicyMetrics record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyPolicyMetrics record ordered by the passed_count field
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().find_first(
            skip=1,
            order={
                'passed_count': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z,LiteLLM_DailyPolicyMetricsActions.find_firstc              
     r   )a  Find a single LiteLLM_DailyPolicyMetrics record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_DailyPolicyMetrics filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model
        order
            Order the returned LiteLLM_DailyPolicyMetrics records by any field
        distinct
            Filter LiteLLM_DailyPolicyMetrics records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The first LiteLLM_DailyPolicyMetrics record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_DailyPolicyMetrics record ordered by the blocked_count field
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().find_first_or_raise(
            skip=1,
            order={
                'blocked_count': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z5LiteLLM_DailyPolicyMetricsActions.find_first_or_raise+types.LiteLLM_DailyPolicyMetricsUpdateInputc                   r   )aT  Update a single LiteLLM_DailyPolicyMetrics record.

        Parameters
        ----------
        data
            LiteLLM_DailyPolicyMetrics record data specifying what to update
        where
            LiteLLM_DailyPolicyMetrics filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The updated LiteLLM_DailyPolicyMetrics record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().update(
            where={
                # LiteLLM_DailyPolicyMetrics where unique filter

            },
            data={
                # data to update the LiteLLM_DailyPolicyMetrics record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   *  r  z(LiteLLM_DailyPolicyMetricsActions.update+types.LiteLLM_DailyPolicyMetricsUpsertInputc              	     r   )	aI  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_DailyPolicyMetrics filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_DailyPolicyMetrics model

        Returns
        -------
        prisma.models.LiteLLM_DailyPolicyMetrics
            The created or updated LiteLLM_DailyPolicyMetrics record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_dailypolicymetrics = await LiteLLM_DailyPolicyMetrics.prisma().upsert(
            where={
                # LiteLLM_DailyPolicyMetrics where unique filter
            },
            data={
                'create': {
                    # LiteLLM_DailyPolicyMetrics data to be set if the record does not exist
                },
                'update': {
                    # LiteLLM_DailyPolicyMetrics data to be set if the record does exist
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   d  r  z(LiteLLM_DailyPolicyMetricsActions.upsert7types.LiteLLM_DailyPolicyMetricsUpdateManyMutationInput*types.LiteLLM_DailyPolicyMetricsWhereInputc                   r   )ag  Update multiple LiteLLM_DailyPolicyMetrics records

        Parameters
        ----------
        data
            LiteLLM_DailyPolicyMetrics data to update the selected LiteLLM_DailyPolicyMetrics records to
        where
            Filter to select the LiteLLM_DailyPolicyMetrics records to update

        Returns
        -------
        int
            The total number of LiteLLM_DailyPolicyMetrics records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_DailyPolicyMetrics records
        total = await LiteLLM_DailyPolicyMetrics.prisma().update_many(
            data={
                'flagged_count': 2255746776
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z-LiteLLM_DailyPolicyMetricsActions.update_manyr   c                   r   )a  Count the number of LiteLLM_DailyPolicyMetrics records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyPolicyMetrics fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyPolicyMetrics filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyPolicyMetricsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyPolicyMetrics.prisma().count()

        # results: prisma.types.LiteLLM_DailyPolicyMetricsCountAggregateOutput
        results = await LiteLLM_DailyPolicyMetrics.prisma().count(
            select={
                '_all': True,
                'avg_score': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   ˣ  r   z'LiteLLM_DailyPolicyMetricsActions.count3types.LiteLLM_DailyPolicyMetricsCountAggregateInput4types.LiteLLM_DailyPolicyMetricsCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   =Optional[types.LiteLLM_DailyPolicyMetricsCountAggregateInput]@Union[int, types.LiteLLM_DailyPolicyMetricsCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_DailyPolicyMetrics records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_DailyPolicyMetrics fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_DailyPolicyMetrics filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_DailyPolicyMetricsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_DailyPolicyMetrics.prisma().count()

        # results: prisma.types.LiteLLM_DailyPolicyMetricsCountAggregateOutput
        results = await LiteLLM_DailyPolicyMetrics.prisma().count(
            select={
                '_all': True,
                'avg_latency_ms': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   P  r   z:LiteLLM_DailyPolicyMetricsActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   .LiteLLM_DailyPolicyMetricsCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_DailyPolicyMetrics records.

        Parameters
        ----------
        where
            Optional LiteLLM_DailyPolicyMetrics filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_DailyPolicyMetrics records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_DailyPolicyMetrics records
        total = await LiteLLM_DailyPolicyMetrics.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   d  r   z-LiteLLM_DailyPolicyMetricsActions.delete_manyr   r   7List['types.LiteLLM_DailyPolicyMetricsScalarFieldKeys']6Optional['types.LiteLLM_DailyPolicyMetricsWhereInput']r   =Optional['types.LiteLLM_DailyPolicyMetricsAvgAggregateInput']r   =Optional['types.LiteLLM_DailyPolicyMetricsSumAggregateInput']r   =Optional['types.LiteLLM_DailyPolicyMetricsMinAggregateInput']r   =Optional['types.LiteLLM_DailyPolicyMetricsMaxAggregateInput']r   JOptional['types.LiteLLM_DailyPolicyMetricsScalarWhereWithAggregatesInput']r_   LOptional[Union[bool, 'types.LiteLLM_DailyPolicyMetricsCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_DailyPolicyMetricsScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_DailyPolicyMetricsScalarFieldKeys', 'types.SortOrder']]]]5List['types.LiteLLM_DailyPolicyMetricsGroupByOutput']c       
      
     r   )a  Group LiteLLM_DailyPolicyMetrics records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_DailyPolicyMetrics fields to group records by
        where
            LiteLLM_DailyPolicyMetrics filter to select records
        take
            Limit the maximum number of LiteLLM_DailyPolicyMetrics records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_DailyPolicyMetricsGroupByOutput]
            A list of dictionaries representing the LiteLLM_DailyPolicyMetrics record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_DailyPolicyMetrics records by created_at values
        # and count how many records are in each group
        results = await LiteLLM_DailyPolicyMetrics.prisma().group_by(
            ['created_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z*LiteLLM_DailyPolicyMetricsActions.group_byr   r   r   r2   )rF   r[  rH   r\  r/   r%   )rF   r]  rW   rY   r/   r   )rg   r^  rH   r\  r/   rB   )rg   r^  rH   r\  r/   r%   r   )rv   rw   rx   rw   rg   r_  rz   r`  rH   r\  r|   ra  r~   rb  r/   r<   r   )rx   rw   rg   r_  rz   r`  rH   r\  r|   ra  r~   rb  r/   rB   )rx   rw   rg   r_  rz   r`  rH   r\  r|   ra  r~   rb  r/   r%   )rF   rc  rg   r^  rH   r\  r/   rB   )rg   r^  rF   rd  rH   r\  r/   r%   )rF   re  rg   rf  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r_  rz   r`  r/   r   r   )r   rg  rv   rw   rx   rw   rg   r_  rz   r`  r/   rh  )r   ri  rv   rw   rx   rw   rg   r_  rz   r`  r/   rj  )rg   r_  r/   r   )r   rl  rg   rm  rv   rw   rx   rw   r   rn  r   ro  r   rp  r   rq  r   rr  r_   rs  r|   rt  r/   ru  r   r5   r5   r5   r6   rZ    r  rZ  c                   @  r'   ){%LiteLLM_SpendLogGuardrailIndexActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z.LiteLLM_SpendLogGuardrailIndexActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_SpendLogGuardrailIndex]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_SpendLogGuardrailIndex.prisma().query_raw(
            'SELECT * FROM LiteLLM_SpendLogGuardrailIndex WHERE request_id = $1',
            'ididibbff',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z/LiteLLM_SpendLogGuardrailIndexActions.query_rawrB   c                   r=   )a(  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_SpendLogGuardrailIndex.prisma().query_first(
            'SELECT * FROM LiteLLM_SpendLogGuardrailIndex WHERE guardrail_id = $1',
            'cgbfcibga',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   .  rE   z1LiteLLM_SpendLogGuardrailIndexActions.query_firstNrF   /types.LiteLLM_SpendLogGuardrailIndexCreateInputrH   5Optional[types.LiteLLM_SpendLogGuardrailIndexInclude]r%   c                   rJ   )a  Create a new LiteLLM_SpendLogGuardrailIndex record.

        Parameters
        ----------
        data
            LiteLLM_SpendLogGuardrailIndex record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The created LiteLLM_SpendLogGuardrailIndex record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_SpendLogGuardrailIndex record from just the required fields
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().create(
            data={
                # data to create a LiteLLM_SpendLogGuardrailIndex record
                'request_id': 'bcibjgahcj',
                'guardrail_id': 'bbbbedfcda',
                'start_time': datetime.datetime.utcnow(),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   V  rB  z,LiteLLM_SpendLogGuardrailIndexActions.createrV   EList[types.LiteLLM_SpendLogGuardrailIndexCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_SpendLogGuardrailIndex records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_SpendLogGuardrailIndex record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_SpendLogGuardrailIndex.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_SpendLogGuardrailIndex record
                    'request_id': 'gejjhdbid',
                    'guardrail_id': 'bjfaacchjg',
                    'start_time': datetime.datetime.utcnow(),
                },
                {
                    # data to create a LiteLLM_SpendLogGuardrailIndex record
                    'request_id': 'beeigdcchh',
                    'guardrail_id': 'bgihcicggg',
                    'start_time': datetime.datetime.utcnow(),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rD  z1LiteLLM_SpendLogGuardrailIndexActions.create_manyrg   4types.LiteLLM_SpendLogGuardrailIndexWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_SpendLogGuardrailIndex record.

        Parameters
        ----------
        where
            LiteLLM_SpendLogGuardrailIndex filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The deleted LiteLLM_SpendLogGuardrailIndex record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().delete(
            where={
                # LiteLLM_SpendLogGuardrailIndex where unique filter

            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ͥ  r}  z,LiteLLM_SpendLogGuardrailIndexActions.deletec                   rp   )a  Find a unique LiteLLM_SpendLogGuardrailIndex record.

        Parameters
        ----------
        where
            LiteLLM_SpendLogGuardrailIndex filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The found LiteLLM_SpendLogGuardrailIndex record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().find_unique(
            where={
                # LiteLLM_SpendLogGuardrailIndex where unique filter

            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     r~  z1LiteLLM_SpendLogGuardrailIndexActions.find_uniquec                   rJ   )aX  Find a unique LiteLLM_SpendLogGuardrailIndex record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_SpendLogGuardrailIndex filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The found LiteLLM_SpendLogGuardrailIndex record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().find_unique_or_raise(
            where={
                # LiteLLM_SpendLogGuardrailIndex where unique filter

            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   6  rU   z:LiteLLM_SpendLogGuardrailIndexActions.find_unique_or_raiserv   rw   rx   8Optional[types.LiteLLM_SpendLogGuardrailIndexWhereInput]rz   >Optional[types.LiteLLM_SpendLogGuardrailIndexWhereUniqueInput]r|   yOptional[Union[types.LiteLLM_SpendLogGuardrailIndexOrderByInput, List[types.LiteLLM_SpendLogGuardrailIndexOrderByInput]]]r~   COptional[List[types.LiteLLM_SpendLogGuardrailIndexScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_SpendLogGuardrailIndex records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_SpendLogGuardrailIndex records returned
        skip
            Ignore the first N results
        where
            LiteLLM_SpendLogGuardrailIndex filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model
        order
            Order the returned LiteLLM_SpendLogGuardrailIndex records by any field
        distinct
            Filter LiteLLM_SpendLogGuardrailIndex records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_SpendLogGuardrailIndex]
            The list of all LiteLLM_SpendLogGuardrailIndex records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_SpendLogGuardrailIndex records
        litellm_spendlogguardrailindexs = await LiteLLM_SpendLogGuardrailIndex.prisma().find_many(take=10)

        # find the first 5 LiteLLM_SpendLogGuardrailIndex records ordered by the policy_id field
        litellm_spendlogguardrailindexs = await LiteLLM_SpendLogGuardrailIndex.prisma().find_many(
            take=5,
            order={
                'policy_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   zCLiteLLM_SpendLogGuardrailIndexActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   g  r   z/LiteLLM_SpendLogGuardrailIndexActions.find_manyc           	   
     r   )a  Find a single LiteLLM_SpendLogGuardrailIndex record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogGuardrailIndex filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model
        order
            Order the returned LiteLLM_SpendLogGuardrailIndex records by any field
        distinct
            Filter LiteLLM_SpendLogGuardrailIndex records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The first LiteLLM_SpendLogGuardrailIndex record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SpendLogGuardrailIndex record ordered by the start_time field
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().find_first(
            skip=1,
            order={
                'start_time': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z0LiteLLM_SpendLogGuardrailIndexActions.find_firstc              
     r   )a  Find a single LiteLLM_SpendLogGuardrailIndex record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogGuardrailIndex filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model
        order
            Order the returned LiteLLM_SpendLogGuardrailIndex records by any field
        distinct
            Filter LiteLLM_SpendLogGuardrailIndex records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The first LiteLLM_SpendLogGuardrailIndex record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SpendLogGuardrailIndex record ordered by the request_id field
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().find_first_or_raise(
            skip=1,
            order={
                'request_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z9LiteLLM_SpendLogGuardrailIndexActions.find_first_or_raise/types.LiteLLM_SpendLogGuardrailIndexUpdateInputc                   r   )a|  Update a single LiteLLM_SpendLogGuardrailIndex record.

        Parameters
        ----------
        data
            LiteLLM_SpendLogGuardrailIndex record data specifying what to update
        where
            LiteLLM_SpendLogGuardrailIndex filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The updated LiteLLM_SpendLogGuardrailIndex record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().update(
            where={
                # LiteLLM_SpendLogGuardrailIndex where unique filter

            },
            data={
                # data to update the LiteLLM_SpendLogGuardrailIndex record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   2  r  z,LiteLLM_SpendLogGuardrailIndexActions.update/types.LiteLLM_SpendLogGuardrailIndexUpsertInputc              	     r   )	am  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_SpendLogGuardrailIndex filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogGuardrailIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogGuardrailIndex
            The created or updated LiteLLM_SpendLogGuardrailIndex record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogguardrailindex = await LiteLLM_SpendLogGuardrailIndex.prisma().upsert(
            where={
                # LiteLLM_SpendLogGuardrailIndex where unique filter
            },
            data={
                'create': {
                    # LiteLLM_SpendLogGuardrailIndex data to be set if the record does not exist
                },
                'update': {
                    # LiteLLM_SpendLogGuardrailIndex data to be set if the record does exist
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   l  r  z,LiteLLM_SpendLogGuardrailIndexActions.upsert;types.LiteLLM_SpendLogGuardrailIndexUpdateManyMutationInput.types.LiteLLM_SpendLogGuardrailIndexWhereInputc                   r   )a  Update multiple LiteLLM_SpendLogGuardrailIndex records

        Parameters
        ----------
        data
            LiteLLM_SpendLogGuardrailIndex data to update the selected LiteLLM_SpendLogGuardrailIndex records to
        where
            Filter to select the LiteLLM_SpendLogGuardrailIndex records to update

        Returns
        -------
        int
            The total number of LiteLLM_SpendLogGuardrailIndex records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_SpendLogGuardrailIndex records
        total = await LiteLLM_SpendLogGuardrailIndex.prisma().update_many(
            data={
                'guardrail_id': 'bjiiifffbf'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z1LiteLLM_SpendLogGuardrailIndexActions.update_manyr   c                   r   )a  Count the number of LiteLLM_SpendLogGuardrailIndex records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SpendLogGuardrailIndex fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogGuardrailIndex filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SpendLogGuardrailIndexCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SpendLogGuardrailIndex.prisma().count()

        # results: prisma.types.LiteLLM_SpendLogGuardrailIndexCountAggregateOutput
        results = await LiteLLM_SpendLogGuardrailIndex.prisma().count(
            select={
                '_all': True,
                'policy_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   ӧ  r   z+LiteLLM_SpendLogGuardrailIndexActions.count7types.LiteLLM_SpendLogGuardrailIndexCountAggregateInput8types.LiteLLM_SpendLogGuardrailIndexCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   AOptional[types.LiteLLM_SpendLogGuardrailIndexCountAggregateInput]DUnion[int, types.LiteLLM_SpendLogGuardrailIndexCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_SpendLogGuardrailIndex records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SpendLogGuardrailIndex fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogGuardrailIndex filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SpendLogGuardrailIndexCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SpendLogGuardrailIndex.prisma().count()

        # results: prisma.types.LiteLLM_SpendLogGuardrailIndexCountAggregateOutput
        results = await LiteLLM_SpendLogGuardrailIndex.prisma().count(
            select={
                '_all': True,
                'start_time': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   X  r   z>LiteLLM_SpendLogGuardrailIndexActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   2LiteLLM_SpendLogGuardrailIndexCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_SpendLogGuardrailIndex records.

        Parameters
        ----------
        where
            Optional LiteLLM_SpendLogGuardrailIndex filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_SpendLogGuardrailIndex records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_SpendLogGuardrailIndex records
        total = await LiteLLM_SpendLogGuardrailIndex.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   l  r   z1LiteLLM_SpendLogGuardrailIndexActions.delete_manyr   r   ;List['types.LiteLLM_SpendLogGuardrailIndexScalarFieldKeys']:Optional['types.LiteLLM_SpendLogGuardrailIndexWhereInput']r   AOptional['types.LiteLLM_SpendLogGuardrailIndexAvgAggregateInput']r   AOptional['types.LiteLLM_SpendLogGuardrailIndexSumAggregateInput']r   AOptional['types.LiteLLM_SpendLogGuardrailIndexMinAggregateInput']r   AOptional['types.LiteLLM_SpendLogGuardrailIndexMaxAggregateInput']r   NOptional['types.LiteLLM_SpendLogGuardrailIndexScalarWhereWithAggregatesInput']r_   POptional[Union[bool, 'types.LiteLLM_SpendLogGuardrailIndexCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_SpendLogGuardrailIndexScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_SpendLogGuardrailIndexScalarFieldKeys', 'types.SortOrder']]]]9List['types.LiteLLM_SpendLogGuardrailIndexGroupByOutput']c       
      
     r   )a  Group LiteLLM_SpendLogGuardrailIndex records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_SpendLogGuardrailIndex fields to group records by
        where
            LiteLLM_SpendLogGuardrailIndex filter to select records
        take
            Limit the maximum number of LiteLLM_SpendLogGuardrailIndex records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_SpendLogGuardrailIndexGroupByOutput]
            A list of dictionaries representing the LiteLLM_SpendLogGuardrailIndex record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_SpendLogGuardrailIndex records by request_id values
        # and count how many records are in each group
        results = await LiteLLM_SpendLogGuardrailIndex.prisma().group_by(
            ['request_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z.LiteLLM_SpendLogGuardrailIndexActions.group_byr   r   r   r2   )rF   rw  rH   rx  r/   r%   )rF   ry  rW   rY   r/   r   )rg   rz  rH   rx  r/   rB   )rg   rz  rH   rx  r/   r%   r   )rv   rw   rx   rw   rg   r{  rz   r|  rH   rx  r|   r}  r~   r~  r/   r<   r   )rx   rw   rg   r{  rz   r|  rH   rx  r|   r}  r~   r~  r/   rB   )rx   rw   rg   r{  rz   r|  rH   rx  r|   r}  r~   r~  r/   r%   )rF   r  rg   rz  rH   rx  r/   rB   )rg   rz  rF   r  rH   rx  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r{  rz   r|  r/   r   r   )r   r  rv   rw   rx   rw   rg   r{  rz   r|  r/   r  )r   r  rv   rw   rx   rw   rg   r{  rz   r|  r/   r  )rg   r{  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   rv        


&+6H873IFD>
;,8W,rv  c                   @  r'   ){ LiteLLM_SpendLogToolIndexActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z)LiteLLM_SpendLogToolIndexActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_SpendLogToolIndex]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_SpendLogToolIndex.prisma().query_raw(
            'SELECT * FROM LiteLLM_SpendLogToolIndex WHERE request_id = $1',
            'bgjceijaia',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z*LiteLLM_SpendLogToolIndexActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_SpendLogToolIndex.prisma().query_first(
            'SELECT * FROM LiteLLM_SpendLogToolIndex WHERE tool_name = $1',
            'hifbdafhh',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   6  rE   z,LiteLLM_SpendLogToolIndexActions.query_firstNrF   *types.LiteLLM_SpendLogToolIndexCreateInputrH   0Optional[types.LiteLLM_SpendLogToolIndexInclude]r%   c                   rJ   )aj  Create a new LiteLLM_SpendLogToolIndex record.

        Parameters
        ----------
        data
            LiteLLM_SpendLogToolIndex record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The created LiteLLM_SpendLogToolIndex record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_SpendLogToolIndex record from just the required fields
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().create(
            data={
                # data to create a LiteLLM_SpendLogToolIndex record
                'request_id': 'bcabicaife',
                'tool_name': 'ibgjfchfj',
                'start_time': datetime.datetime.utcnow(),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   ^  rB  z'LiteLLM_SpendLogToolIndexActions.createrV   @List[types.LiteLLM_SpendLogToolIndexCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	ae  Create multiple LiteLLM_SpendLogToolIndex records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_SpendLogToolIndex record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_SpendLogToolIndex.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_SpendLogToolIndex record
                    'request_id': 'bghafddebc',
                    'tool_name': 'bgaidgfbjh',
                    'start_time': datetime.datetime.utcnow(),
                },
                {
                    # data to create a LiteLLM_SpendLogToolIndex record
                    'request_id': 'bdejjhhggg',
                    'tool_name': 'fdahaiafb',
                    'start_time': datetime.datetime.utcnow(),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rD  z,LiteLLM_SpendLogToolIndexActions.create_manyrg   /types.LiteLLM_SpendLogToolIndexWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_SpendLogToolIndex record.

        Parameters
        ----------
        where
            LiteLLM_SpendLogToolIndex filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The deleted LiteLLM_SpendLogToolIndex record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().delete(
            where={
                # LiteLLM_SpendLogToolIndex where unique filter

            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   թ  r}  z'LiteLLM_SpendLogToolIndexActions.deletec                   rp   )a  Find a unique LiteLLM_SpendLogToolIndex record.

        Parameters
        ----------
        where
            LiteLLM_SpendLogToolIndex filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The found LiteLLM_SpendLogToolIndex record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().find_unique(
            where={
                # LiteLLM_SpendLogToolIndex where unique filter

            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq   
  r~  z,LiteLLM_SpendLogToolIndexActions.find_uniquec                   rJ   )a0  Find a unique LiteLLM_SpendLogToolIndex record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_SpendLogToolIndex filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The found LiteLLM_SpendLogToolIndex record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().find_unique_or_raise(
            where={
                # LiteLLM_SpendLogToolIndex where unique filter

            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   >  rU   z5LiteLLM_SpendLogToolIndexActions.find_unique_or_raiserv   rw   rx   3Optional[types.LiteLLM_SpendLogToolIndexWhereInput]rz   9Optional[types.LiteLLM_SpendLogToolIndexWhereUniqueInput]r|   oOptional[Union[types.LiteLLM_SpendLogToolIndexOrderByInput, List[types.LiteLLM_SpendLogToolIndexOrderByInput]]]r~   >Optional[List[types.LiteLLM_SpendLogToolIndexScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_SpendLogToolIndex records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_SpendLogToolIndex records returned
        skip
            Ignore the first N results
        where
            LiteLLM_SpendLogToolIndex filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model
        order
            Order the returned LiteLLM_SpendLogToolIndex records by any field
        distinct
            Filter LiteLLM_SpendLogToolIndex records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_SpendLogToolIndex]
            The list of all LiteLLM_SpendLogToolIndex records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_SpendLogToolIndex records
        litellm_spendlogtoolindexs = await LiteLLM_SpendLogToolIndex.prisma().find_many(take=10)

        # find the first 5 LiteLLM_SpendLogToolIndex records ordered by the start_time field
        litellm_spendlogtoolindexs = await LiteLLM_SpendLogToolIndex.prisma().find_many(
            take=5,
            order={
                'start_time': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z>LiteLLM_SpendLogToolIndexActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   o  r   z*LiteLLM_SpendLogToolIndexActions.find_manyc           	   
     r   )av  Find a single LiteLLM_SpendLogToolIndex record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogToolIndex filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model
        order
            Order the returned LiteLLM_SpendLogToolIndex records by any field
        distinct
            Filter LiteLLM_SpendLogToolIndex records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The first LiteLLM_SpendLogToolIndex record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SpendLogToolIndex record ordered by the request_id field
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().find_first(
            skip=1,
            order={
                'request_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z+LiteLLM_SpendLogToolIndexActions.find_firstc              
     r   )a  Find a single LiteLLM_SpendLogToolIndex record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogToolIndex filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model
        order
            Order the returned LiteLLM_SpendLogToolIndex records by any field
        distinct
            Filter LiteLLM_SpendLogToolIndex records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The first LiteLLM_SpendLogToolIndex record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SpendLogToolIndex record ordered by the tool_name field
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().find_first_or_raise(
            skip=1,
            order={
                'tool_name': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z4LiteLLM_SpendLogToolIndexActions.find_first_or_raise*types.LiteLLM_SpendLogToolIndexUpdateInputc                   r   )aJ  Update a single LiteLLM_SpendLogToolIndex record.

        Parameters
        ----------
        data
            LiteLLM_SpendLogToolIndex record data specifying what to update
        where
            LiteLLM_SpendLogToolIndex filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The updated LiteLLM_SpendLogToolIndex record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().update(
            where={
                # LiteLLM_SpendLogToolIndex where unique filter

            },
            data={
                # data to update the LiteLLM_SpendLogToolIndex record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   :  r  z'LiteLLM_SpendLogToolIndexActions.update*types.LiteLLM_SpendLogToolIndexUpsertInputc              	     r   )	a@  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_SpendLogToolIndex filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SpendLogToolIndex model

        Returns
        -------
        prisma.models.LiteLLM_SpendLogToolIndex
            The created or updated LiteLLM_SpendLogToolIndex record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_spendlogtoolindex = await LiteLLM_SpendLogToolIndex.prisma().upsert(
            where={
                # LiteLLM_SpendLogToolIndex where unique filter
            },
            data={
                'create': {
                    # LiteLLM_SpendLogToolIndex data to be set if the record does not exist
                },
                'update': {
                    # LiteLLM_SpendLogToolIndex data to be set if the record does exist
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   t  r  z'LiteLLM_SpendLogToolIndexActions.upsert6types.LiteLLM_SpendLogToolIndexUpdateManyMutationInput)types.LiteLLM_SpendLogToolIndexWhereInputc                   r   )am  Update multiple LiteLLM_SpendLogToolIndex records

        Parameters
        ----------
        data
            LiteLLM_SpendLogToolIndex data to update the selected LiteLLM_SpendLogToolIndex records to
        where
            Filter to select the LiteLLM_SpendLogToolIndex records to update

        Returns
        -------
        int
            The total number of LiteLLM_SpendLogToolIndex records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_SpendLogToolIndex records
        total = await LiteLLM_SpendLogToolIndex.prisma().update_many(
            data={
                'start_time': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z,LiteLLM_SpendLogToolIndexActions.update_manyr   c                   r   )a  Count the number of LiteLLM_SpendLogToolIndex records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SpendLogToolIndex fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogToolIndex filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SpendLogToolIndexCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SpendLogToolIndex.prisma().count()

        # results: prisma.types.LiteLLM_SpendLogToolIndexCountAggregateOutput
        results = await LiteLLM_SpendLogToolIndex.prisma().count(
            select={
                '_all': True,
                'request_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   ۫  r   z&LiteLLM_SpendLogToolIndexActions.count2types.LiteLLM_SpendLogToolIndexCountAggregateInput3types.LiteLLM_SpendLogToolIndexCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   <Optional[types.LiteLLM_SpendLogToolIndexCountAggregateInput]?Union[int, types.LiteLLM_SpendLogToolIndexCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_SpendLogToolIndex records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SpendLogToolIndex fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SpendLogToolIndex filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SpendLogToolIndexCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SpendLogToolIndex.prisma().count()

        # results: prisma.types.LiteLLM_SpendLogToolIndexCountAggregateOutput
        results = await LiteLLM_SpendLogToolIndex.prisma().count(
            select={
                '_all': True,
                'tool_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   `  r   z9LiteLLM_SpendLogToolIndexActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   -LiteLLM_SpendLogToolIndexCountAggregateOutputr   r5   r5   r6   r_     r   c                   r   )a  Delete multiple LiteLLM_SpendLogToolIndex records.

        Parameters
        ----------
        where
            Optional LiteLLM_SpendLogToolIndex filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_SpendLogToolIndex records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_SpendLogToolIndex records
        total = await LiteLLM_SpendLogToolIndex.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   t  r   z,LiteLLM_SpendLogToolIndexActions.delete_manyr   r   6List['types.LiteLLM_SpendLogToolIndexScalarFieldKeys']5Optional['types.LiteLLM_SpendLogToolIndexWhereInput']r   <Optional['types.LiteLLM_SpendLogToolIndexAvgAggregateInput']r   <Optional['types.LiteLLM_SpendLogToolIndexSumAggregateInput']r   <Optional['types.LiteLLM_SpendLogToolIndexMinAggregateInput']r   <Optional['types.LiteLLM_SpendLogToolIndexMaxAggregateInput']r   IOptional['types.LiteLLM_SpendLogToolIndexScalarWhereWithAggregatesInput']r_   KOptional[Union[bool, 'types.LiteLLM_SpendLogToolIndexCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_SpendLogToolIndexScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_SpendLogToolIndexScalarFieldKeys', 'types.SortOrder']]]]4List['types.LiteLLM_SpendLogToolIndexGroupByOutput']c       
      
     r   )a  Group LiteLLM_SpendLogToolIndex records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_SpendLogToolIndex fields to group records by
        where
            LiteLLM_SpendLogToolIndex filter to select records
        take
            Limit the maximum number of LiteLLM_SpendLogToolIndex records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_SpendLogToolIndexGroupByOutput]
            A list of dictionaries representing the LiteLLM_SpendLogToolIndex record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_SpendLogToolIndex records by start_time values
        # and count how many records are in each group
        results = await LiteLLM_SpendLogToolIndex.prisma().group_by(
            ['start_time'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z)LiteLLM_SpendLogToolIndexActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r  r  c                   @  r'   ){LiteLLM_PromptTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z#LiteLLM_PromptTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_PromptTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_PromptTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_PromptTable WHERE id = $1',
            'bheidchdbc',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z$LiteLLM_PromptTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_PromptTable.prisma().query_first(
            'SELECT * FROM LiteLLM_PromptTable WHERE prompt_id = $1',
            'ddecgfgj',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   >  rE   z&LiteLLM_PromptTableActions.query_firstNrF   $types.LiteLLM_PromptTableCreateInputrH   *Optional[types.LiteLLM_PromptTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_PromptTable record.

        Parameters
        ----------
        data
            LiteLLM_PromptTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The created LiteLLM_PromptTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_PromptTable record from just the required fields
        litellm_prompttable = await LiteLLM_PromptTable.prisma().create(
            data={
                # data to create a LiteLLM_PromptTable record
                'prompt_id': 'baafhjifec',
                'litellm_params': Json({'jgbcfighb': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   f  rU   z!LiteLLM_PromptTableActions.createrV   :List[types.LiteLLM_PromptTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_PromptTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_PromptTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_PromptTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_PromptTable record
                    'prompt_id': 'bagjdcgfce',
                    'litellm_params': Json({'gjjfcfbij': True}),
                },
                {
                    # data to create a LiteLLM_PromptTable record
                    'prompt_id': 'fdejhhede',
                    'litellm_params': Json({'jfjjgcdbf': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z&LiteLLM_PromptTableActions.create_manyrg   )types.LiteLLM_PromptTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_PromptTable record.

        Parameters
        ----------
        where
            LiteLLM_PromptTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The deleted LiteLLM_PromptTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_prompttable = await LiteLLM_PromptTable.prisma().delete(
            where={
                'id': 'idjjhibfc',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ڭ  ro   z!LiteLLM_PromptTableActions.deletec                   rp   )a  Find a unique LiteLLM_PromptTable record.

        Parameters
        ----------
        where
            LiteLLM_PromptTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The found LiteLLM_PromptTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_prompttable = await LiteLLM_PromptTable.prisma().find_unique(
            where={
                'id': 'bjgdidgdfd',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z&LiteLLM_PromptTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_PromptTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_PromptTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The found LiteLLM_PromptTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_prompttable = await LiteLLM_PromptTable.prisma().find_unique_or_raise(
            where={
                'id': 'bijcbbccda',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   A  ru   z/LiteLLM_PromptTableActions.find_unique_or_raiserv   rw   rx   -Optional[types.LiteLLM_PromptTableWhereInput]rz   3Optional[types.LiteLLM_PromptTableWhereUniqueInput]r|   cOptional[Union[types.LiteLLM_PromptTableOrderByInput, List[types.LiteLLM_PromptTableOrderByInput]]]r~   8Optional[List[types.LiteLLM_PromptTableScalarFieldKeys]]c           	        r   )	a(  Find multiple LiteLLM_PromptTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_PromptTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_PromptTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model
        order
            Order the returned LiteLLM_PromptTable records by any field
        distinct
            Filter LiteLLM_PromptTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_PromptTable]
            The list of all LiteLLM_PromptTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_PromptTable records
        litellm_prompttables = await LiteLLM_PromptTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_PromptTable records ordered by the version field
        litellm_prompttables = await LiteLLM_PromptTable.prisma().find_many(
            take=5,
            order={
                'version': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z8LiteLLM_PromptTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   q  r   z$LiteLLM_PromptTableActions.find_manyc           	   
     r   )aB  Find a single LiteLLM_PromptTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_PromptTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model
        order
            Order the returned LiteLLM_PromptTable records by any field
        distinct
            Filter LiteLLM_PromptTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The first LiteLLM_PromptTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_PromptTable record ordered by the litellm_params field
        litellm_prompttable = await LiteLLM_PromptTable.prisma().find_first(
            skip=1,
            order={
                'litellm_params': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z%LiteLLM_PromptTableActions.find_firstc              
     r   )a  Find a single LiteLLM_PromptTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_PromptTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model
        order
            Order the returned LiteLLM_PromptTable records by any field
        distinct
            Filter LiteLLM_PromptTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The first LiteLLM_PromptTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_PromptTable record ordered by the prompt_info field
        litellm_prompttable = await LiteLLM_PromptTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'prompt_info': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z.LiteLLM_PromptTableActions.find_first_or_raise$types.LiteLLM_PromptTableUpdateInputc                   r   )a  Update a single LiteLLM_PromptTable record.

        Parameters
        ----------
        data
            LiteLLM_PromptTable record data specifying what to update
        where
            LiteLLM_PromptTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The updated LiteLLM_PromptTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_prompttable = await LiteLLM_PromptTable.prisma().update(
            where={
                'id': 'baiadjcdfj',
            },
            data={
                # data to update the LiteLLM_PromptTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   <  r   z!LiteLLM_PromptTableActions.update$types.LiteLLM_PromptTableUpsertInputc              	     r   )	aP  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_PromptTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_PromptTable model

        Returns
        -------
        prisma.models.LiteLLM_PromptTable
            The created or updated LiteLLM_PromptTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_prompttable = await LiteLLM_PromptTable.prisma().upsert(
            where={
                'id': 'eeighihea',
            },
            data={
                'create': {
                    'id': 'eeighihea',
                    'prompt_id': 'fdejhhede',
                    'litellm_params': Json({'jfjjgcdbf': True}),
                },
                'update': {
                    'prompt_id': 'fdejhhede',
                    'litellm_params': Json({'jfjjgcdbf': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   u  r   z!LiteLLM_PromptTableActions.upsert0types.LiteLLM_PromptTableUpdateManyMutationInput#types.LiteLLM_PromptTableWhereInputc                   r   )aC  Update multiple LiteLLM_PromptTable records

        Parameters
        ----------
        data
            LiteLLM_PromptTable data to update the selected LiteLLM_PromptTable records to
        where
            Filter to select the LiteLLM_PromptTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_PromptTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_PromptTable records
        total = await LiteLLM_PromptTable.prisma().update_many(
            data={
                'created_at': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z&LiteLLM_PromptTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_PromptTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_PromptTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_PromptTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_PromptTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_PromptTable.prisma().count()

        # results: prisma.types.LiteLLM_PromptTableCountAggregateOutput
        results = await LiteLLM_PromptTable.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_   ߯  r   z LiteLLM_PromptTableActions.count,types.LiteLLM_PromptTableCountAggregateInput-types.LiteLLM_PromptTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   6Optional[types.LiteLLM_PromptTableCountAggregateInput]9Union[int, types.LiteLLM_PromptTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_PromptTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_PromptTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_PromptTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_PromptTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_PromptTable.prisma().count()

        # results: prisma.types.LiteLLM_PromptTableCountAggregateOutput
        results = await LiteLLM_PromptTable.prisma().count(
            select={
                '_all': True,
                'id': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   d  r   z3LiteLLM_PromptTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   'LiteLLM_PromptTableCountAggregateOutputr   r5   r5   r6   r_   #  r   c                   r   )an  Delete multiple LiteLLM_PromptTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_PromptTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_PromptTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_PromptTable records
        total = await LiteLLM_PromptTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   x  r   z&LiteLLM_PromptTableActions.delete_manyr   r   0List['types.LiteLLM_PromptTableScalarFieldKeys']/Optional['types.LiteLLM_PromptTableWhereInput']r   6Optional['types.LiteLLM_PromptTableAvgAggregateInput']r   6Optional['types.LiteLLM_PromptTableSumAggregateInput']r   6Optional['types.LiteLLM_PromptTableMinAggregateInput']r   6Optional['types.LiteLLM_PromptTableMaxAggregateInput']r   COptional['types.LiteLLM_PromptTableScalarWhereWithAggregatesInput']r_   EOptional[Union[bool, 'types.LiteLLM_PromptTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_PromptTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_PromptTableScalarFieldKeys', 'types.SortOrder']]]].List['types.LiteLLM_PromptTableGroupByOutput']c       
      
     r   )a|  Group LiteLLM_PromptTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_PromptTable fields to group records by
        where
            LiteLLM_PromptTable filter to select records
        take
            Limit the maximum number of LiteLLM_PromptTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_PromptTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_PromptTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_PromptTable records by prompt_id values
        # and count how many records are in each group
        results = await LiteLLM_PromptTable.prisma().group_by(
            ['prompt_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z#LiteLLM_PromptTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r   r  c                   @  r'   ){LiteLLM_HealthCheckTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z(LiteLLM_HealthCheckTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_HealthCheckTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_HealthCheckTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_HealthCheckTable WHERE health_check_id = $1',
            'bjgcaahcjd',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z)LiteLLM_HealthCheckTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_HealthCheckTable.prisma().query_first(
            'SELECT * FROM LiteLLM_HealthCheckTable WHERE model_name = $1',
            'eajaedjfe',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   B  rE   z+LiteLLM_HealthCheckTableActions.query_firstNrF   )types.LiteLLM_HealthCheckTableCreateInputrH   /Optional[types.LiteLLM_HealthCheckTableInclude]r%   c                   rJ   )a$  Create a new LiteLLM_HealthCheckTable record.

        Parameters
        ----------
        data
            LiteLLM_HealthCheckTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The created LiteLLM_HealthCheckTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_HealthCheckTable record from just the required fields
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().create(
            data={
                # data to create a LiteLLM_HealthCheckTable record
                'model_name': 'diebbdcbj',
                'status': 'bgbgicefbc',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   j  rU   z&LiteLLM_HealthCheckTableActions.createrV   ?List[types.LiteLLM_HealthCheckTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_HealthCheckTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_HealthCheckTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_HealthCheckTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_HealthCheckTable record
                    'model_name': 'biefijhhcb',
                    'status': 'bhgbgacihi',
                },
                {
                    # data to create a LiteLLM_HealthCheckTable record
                    'model_name': 'bhjigebfgh',
                    'status': 'bjjchjieee',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z+LiteLLM_HealthCheckTableActions.create_manyrg   .types.LiteLLM_HealthCheckTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_HealthCheckTable record.

        Parameters
        ----------
        where
            LiteLLM_HealthCheckTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The deleted LiteLLM_HealthCheckTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().delete(
            where={
                'health_check_id': 'hgchdfhjh',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj   ޱ  ro   z&LiteLLM_HealthCheckTableActions.deletec                   rp   )a  Find a unique LiteLLM_HealthCheckTable record.

        Parameters
        ----------
        where
            LiteLLM_HealthCheckTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The found LiteLLM_HealthCheckTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().find_unique(
            where={
                'health_check_id': 'cadjagcdeg',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z+LiteLLM_HealthCheckTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_HealthCheckTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_HealthCheckTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The found LiteLLM_HealthCheckTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().find_unique_or_raise(
            where={
                'health_check_id': 'hchffbghf',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   E  ru   z4LiteLLM_HealthCheckTableActions.find_unique_or_raiserv   rw   rx   2Optional[types.LiteLLM_HealthCheckTableWhereInput]rz   8Optional[types.LiteLLM_HealthCheckTableWhereUniqueInput]r|   mOptional[Union[types.LiteLLM_HealthCheckTableOrderByInput, List[types.LiteLLM_HealthCheckTableOrderByInput]]]r~   =Optional[List[types.LiteLLM_HealthCheckTableScalarFieldKeys]]c           	        r   )	ap  Find multiple LiteLLM_HealthCheckTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_HealthCheckTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_HealthCheckTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model
        order
            Order the returned LiteLLM_HealthCheckTable records by any field
        distinct
            Filter LiteLLM_HealthCheckTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_HealthCheckTable]
            The list of all LiteLLM_HealthCheckTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_HealthCheckTable records
        litellm_healthchecktables = await LiteLLM_HealthCheckTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_HealthCheckTable records ordered by the model_id field
        litellm_healthchecktables = await LiteLLM_HealthCheckTable.prisma().find_many(
            take=5,
            order={
                'model_id': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z=LiteLLM_HealthCheckTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   u  r   z)LiteLLM_HealthCheckTableActions.find_manyc           	   
     r   )ad  Find a single LiteLLM_HealthCheckTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_HealthCheckTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model
        order
            Order the returned LiteLLM_HealthCheckTable records by any field
        distinct
            Filter LiteLLM_HealthCheckTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The first LiteLLM_HealthCheckTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_HealthCheckTable record ordered by the status field
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().find_first(
            skip=1,
            order={
                'status': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z*LiteLLM_HealthCheckTableActions.find_firstc              
     r   )a  Find a single LiteLLM_HealthCheckTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_HealthCheckTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model
        order
            Order the returned LiteLLM_HealthCheckTable records by any field
        distinct
            Filter LiteLLM_HealthCheckTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The first LiteLLM_HealthCheckTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_HealthCheckTable record ordered by the healthy_count field
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'healthy_count': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r      r   z3LiteLLM_HealthCheckTableActions.find_first_or_raise)types.LiteLLM_HealthCheckTableUpdateInputc                   r   )a1  Update a single LiteLLM_HealthCheckTable record.

        Parameters
        ----------
        data
            LiteLLM_HealthCheckTable record data specifying what to update
        where
            LiteLLM_HealthCheckTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The updated LiteLLM_HealthCheckTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().update(
            where={
                'health_check_id': 'behfggjjhg',
            },
            data={
                # data to update the LiteLLM_HealthCheckTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   @  r   z&LiteLLM_HealthCheckTableActions.update)types.LiteLLM_HealthCheckTableUpsertInputc              	     r   )	ad  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_HealthCheckTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_HealthCheckTable model

        Returns
        -------
        prisma.models.LiteLLM_HealthCheckTable
            The created or updated LiteLLM_HealthCheckTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_healthchecktable = await LiteLLM_HealthCheckTable.prisma().upsert(
            where={
                'health_check_id': 'bidfjddeij',
            },
            data={
                'create': {
                    'health_check_id': 'bidfjddeij',
                    'model_name': 'bhjigebfgh',
                    'status': 'bjjchjieee',
                },
                'update': {
                    'model_name': 'bhjigebfgh',
                    'status': 'bjjchjieee',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   y  r   z&LiteLLM_HealthCheckTableActions.upsert5types.LiteLLM_HealthCheckTableUpdateManyMutationInput(types.LiteLLM_HealthCheckTableWhereInputc                   r   )aZ  Update multiple LiteLLM_HealthCheckTable records

        Parameters
        ----------
        data
            LiteLLM_HealthCheckTable data to update the selected LiteLLM_HealthCheckTable records to
        where
            Filter to select the LiteLLM_HealthCheckTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_HealthCheckTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_HealthCheckTable records
        total = await LiteLLM_HealthCheckTable.prisma().update_many(
            data={
                'unhealthy_count': 910845462
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z+LiteLLM_HealthCheckTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_HealthCheckTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_HealthCheckTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_HealthCheckTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_HealthCheckTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_HealthCheckTable.prisma().count()

        # results: prisma.types.LiteLLM_HealthCheckTableCountAggregateOutput
        results = await LiteLLM_HealthCheckTable.prisma().count(
            select={
                '_all': True,
                'error_message': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z%LiteLLM_HealthCheckTableActions.count1types.LiteLLM_HealthCheckTableCountAggregateInput2types.LiteLLM_HealthCheckTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   ;Optional[types.LiteLLM_HealthCheckTableCountAggregateInput]>Union[int, types.LiteLLM_HealthCheckTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_HealthCheckTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_HealthCheckTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_HealthCheckTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_HealthCheckTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_HealthCheckTable.prisma().count()

        # results: prisma.types.LiteLLM_HealthCheckTableCountAggregateOutput
        results = await LiteLLM_HealthCheckTable.prisma().count(
            select={
                '_all': True,
                'response_time_ms': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   h  r   z8LiteLLM_HealthCheckTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   ,LiteLLM_HealthCheckTableCountAggregateOutputr   r5   r5   r6   r_   '  r   c                   r   )a  Delete multiple LiteLLM_HealthCheckTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_HealthCheckTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_HealthCheckTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_HealthCheckTable records
        total = await LiteLLM_HealthCheckTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   |  r   z+LiteLLM_HealthCheckTableActions.delete_manyr   r   5List['types.LiteLLM_HealthCheckTableScalarFieldKeys']4Optional['types.LiteLLM_HealthCheckTableWhereInput']r   ;Optional['types.LiteLLM_HealthCheckTableAvgAggregateInput']r   ;Optional['types.LiteLLM_HealthCheckTableSumAggregateInput']r   ;Optional['types.LiteLLM_HealthCheckTableMinAggregateInput']r   ;Optional['types.LiteLLM_HealthCheckTableMaxAggregateInput']r   HOptional['types.LiteLLM_HealthCheckTableScalarWhereWithAggregatesInput']r_   JOptional[Union[bool, 'types.LiteLLM_HealthCheckTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_HealthCheckTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_HealthCheckTableScalarFieldKeys', 'types.SortOrder']]]]3List['types.LiteLLM_HealthCheckTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_HealthCheckTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_HealthCheckTable fields to group records by
        where
            LiteLLM_HealthCheckTable filter to select records
        take
            Limit the maximum number of LiteLLM_HealthCheckTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_HealthCheckTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_HealthCheckTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_HealthCheckTable records by details values
        # and count how many records are in each group
        results = await LiteLLM_HealthCheckTable.prisma().group_by(
            ['details'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z(LiteLLM_HealthCheckTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r   r  c                   @  r'   ){LiteLLM_SearchToolsTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z(LiteLLM_SearchToolsTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_SearchToolsTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_SearchToolsTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_SearchToolsTable WHERE search_tool_id = $1',
            'beafjabhbj',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?      rA   z)LiteLLM_SearchToolsTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_SearchToolsTable.prisma().query_first(
            'SELECT * FROM LiteLLM_SearchToolsTable WHERE search_tool_name = $1',
            'fdbjgidii',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   F  rE   z+LiteLLM_SearchToolsTableActions.query_firstNrF   )types.LiteLLM_SearchToolsTableCreateInputrH   /Optional[types.LiteLLM_SearchToolsTableInclude]r%   c                   rJ   )a>  Create a new LiteLLM_SearchToolsTable record.

        Parameters
        ----------
        data
            LiteLLM_SearchToolsTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The created LiteLLM_SearchToolsTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_SearchToolsTable record from just the required fields
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().create(
            data={
                # data to create a LiteLLM_SearchToolsTable record
                'search_tool_name': 'ijecdcbd',
                'litellm_params': Json({'iehbhajhi': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   n  rU   z&LiteLLM_SearchToolsTableActions.createrV   ?List[types.LiteLLM_SearchToolsTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_SearchToolsTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_SearchToolsTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_SearchToolsTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_SearchToolsTable record
                    'search_tool_name': 'bdebcaajeh',
                    'litellm_params': Json({'jaheadhga': True}),
                },
                {
                    # data to create a LiteLLM_SearchToolsTable record
                    'search_tool_name': 'bgeafdahjd',
                    'litellm_params': Json({'bbbbfhhec': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z+LiteLLM_SearchToolsTableActions.create_manyrg   .types.LiteLLM_SearchToolsTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_SearchToolsTable record.

        Parameters
        ----------
        where
            LiteLLM_SearchToolsTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The deleted LiteLLM_SearchToolsTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().delete(
            where={
                'search_tool_id': 'bcbhjjgedb',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z&LiteLLM_SearchToolsTableActions.deletec                   rp   )a  Find a unique LiteLLM_SearchToolsTable record.

        Parameters
        ----------
        where
            LiteLLM_SearchToolsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The found LiteLLM_SearchToolsTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().find_unique(
            where={
                'search_tool_id': 'iibhjieci',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z+LiteLLM_SearchToolsTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_SearchToolsTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_SearchToolsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The found LiteLLM_SearchToolsTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().find_unique_or_raise(
            where={
                'search_tool_id': 'gajaacb',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   I  ru   z4LiteLLM_SearchToolsTableActions.find_unique_or_raiserv   rw   rx   2Optional[types.LiteLLM_SearchToolsTableWhereInput]rz   8Optional[types.LiteLLM_SearchToolsTableWhereUniqueInput]r|   mOptional[Union[types.LiteLLM_SearchToolsTableOrderByInput, List[types.LiteLLM_SearchToolsTableOrderByInput]]]r~   =Optional[List[types.LiteLLM_SearchToolsTableScalarFieldKeys]]c           	        r   )	a|  Find multiple LiteLLM_SearchToolsTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_SearchToolsTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_SearchToolsTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model
        order
            Order the returned LiteLLM_SearchToolsTable records by any field
        distinct
            Filter LiteLLM_SearchToolsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_SearchToolsTable]
            The list of all LiteLLM_SearchToolsTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_SearchToolsTable records
        litellm_searchtoolstables = await LiteLLM_SearchToolsTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_SearchToolsTable records ordered by the litellm_params field
        litellm_searchtoolstables = await LiteLLM_SearchToolsTable.prisma().find_many(
            take=5,
            order={
                'litellm_params': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z=LiteLLM_SearchToolsTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   y  r   z)LiteLLM_SearchToolsTableActions.find_manyc           	   
     r   )ax  Find a single LiteLLM_SearchToolsTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SearchToolsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model
        order
            Order the returned LiteLLM_SearchToolsTable records by any field
        distinct
            Filter LiteLLM_SearchToolsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The first LiteLLM_SearchToolsTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SearchToolsTable record ordered by the search_tool_info field
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().find_first(
            skip=1,
            order={
                'search_tool_info': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z*LiteLLM_SearchToolsTableActions.find_firstc              
     r   )a  Find a single LiteLLM_SearchToolsTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SearchToolsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model
        order
            Order the returned LiteLLM_SearchToolsTable records by any field
        distinct
            Filter LiteLLM_SearchToolsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The first LiteLLM_SearchToolsTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SearchToolsTable record ordered by the created_at field
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z3LiteLLM_SearchToolsTableActions.find_first_or_raise)types.LiteLLM_SearchToolsTableUpdateInputc                   r   )a0  Update a single LiteLLM_SearchToolsTable record.

        Parameters
        ----------
        data
            LiteLLM_SearchToolsTable record data specifying what to update
        where
            LiteLLM_SearchToolsTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The updated LiteLLM_SearchToolsTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().update(
            where={
                'search_tool_id': 'bbjiffahhi',
            },
            data={
                # data to update the LiteLLM_SearchToolsTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   D  r   z&LiteLLM_SearchToolsTableActions.update)types.LiteLLM_SearchToolsTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_SearchToolsTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SearchToolsTable model

        Returns
        -------
        prisma.models.LiteLLM_SearchToolsTable
            The created or updated LiteLLM_SearchToolsTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_searchtoolstable = await LiteLLM_SearchToolsTable.prisma().upsert(
            where={
                'search_tool_id': 'caibbdfhih',
            },
            data={
                'create': {
                    'search_tool_id': 'caibbdfhih',
                    'search_tool_name': 'bgeafdahjd',
                    'litellm_params': Json({'bbbbfhhec': True}),
                },
                'update': {
                    'search_tool_name': 'bgeafdahjd',
                    'litellm_params': Json({'bbbbfhhec': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   }  r   z&LiteLLM_SearchToolsTableActions.upsert5types.LiteLLM_SearchToolsTableUpdateManyMutationInput(types.LiteLLM_SearchToolsTableWhereInputc                   r   )af  Update multiple LiteLLM_SearchToolsTable records

        Parameters
        ----------
        data
            LiteLLM_SearchToolsTable data to update the selected LiteLLM_SearchToolsTable records to
        where
            Filter to select the LiteLLM_SearchToolsTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_SearchToolsTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_SearchToolsTable records
        total = await LiteLLM_SearchToolsTable.prisma().update_many(
            data={
                'updated_at': datetime.datetime.utcnow()
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z+LiteLLM_SearchToolsTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_SearchToolsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SearchToolsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SearchToolsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SearchToolsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SearchToolsTable.prisma().count()

        # results: prisma.types.LiteLLM_SearchToolsTableCountAggregateOutput
        results = await LiteLLM_SearchToolsTable.prisma().count(
            select={
                '_all': True,
                'search_tool_id': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z%LiteLLM_SearchToolsTableActions.count1types.LiteLLM_SearchToolsTableCountAggregateInput2types.LiteLLM_SearchToolsTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_      r   ;Optional[types.LiteLLM_SearchToolsTableCountAggregateInput]>Union[int, types.LiteLLM_SearchToolsTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_SearchToolsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SearchToolsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SearchToolsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SearchToolsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SearchToolsTable.prisma().count()

        # results: prisma.types.LiteLLM_SearchToolsTableCountAggregateOutput
        results = await LiteLLM_SearchToolsTable.prisma().count(
            select={
                '_all': True,
                'search_tool_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   l  r   z8LiteLLM_SearchToolsTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   ,LiteLLM_SearchToolsTableCountAggregateOutputr   r5   r5   r6   r_   +  r   c                   r   )a  Delete multiple LiteLLM_SearchToolsTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_SearchToolsTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_SearchToolsTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_SearchToolsTable records
        total = await LiteLLM_SearchToolsTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z+LiteLLM_SearchToolsTableActions.delete_manyr   r   5List['types.LiteLLM_SearchToolsTableScalarFieldKeys']4Optional['types.LiteLLM_SearchToolsTableWhereInput']r   ;Optional['types.LiteLLM_SearchToolsTableAvgAggregateInput']r   ;Optional['types.LiteLLM_SearchToolsTableSumAggregateInput']r   ;Optional['types.LiteLLM_SearchToolsTableMinAggregateInput']r   ;Optional['types.LiteLLM_SearchToolsTableMaxAggregateInput']r   HOptional['types.LiteLLM_SearchToolsTableScalarWhereWithAggregatesInput']r_   JOptional[Union[bool, 'types.LiteLLM_SearchToolsTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_SearchToolsTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_SearchToolsTableScalarFieldKeys', 'types.SortOrder']]]]3List['types.LiteLLM_SearchToolsTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_SearchToolsTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_SearchToolsTable fields to group records by
        where
            LiteLLM_SearchToolsTable filter to select records
        take
            Limit the maximum number of LiteLLM_SearchToolsTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_SearchToolsTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_SearchToolsTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_SearchToolsTable records by litellm_params values
        # and count how many records are in each group
        results = await LiteLLM_SearchToolsTable.prisma().group_by(
            ['litellm_params'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z(LiteLLM_SearchToolsTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r   r|   r  r/   r  r   r5   r5   r5   r6   r    r   r  c                   @  r'   ){LiteLLM_SSOConfigActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7      r8   z!LiteLLM_SSOConfigActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_SSOConfig]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_SSOConfig.prisma().query_raw(
            'SELECT * FROM LiteLLM_SSOConfig WHERE id = $1',
            'bjbbffdiaa',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   $  rA   z"LiteLLM_SSOConfigActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_SSOConfig.prisma().query_first(
            'SELECT * FROM LiteLLM_SSOConfig WHERE sso_settings = $1',
            Json({'bhjgeigibh': True}),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   J  rE   z$LiteLLM_SSOConfigActions.query_firstNrF   "types.LiteLLM_SSOConfigCreateInputrH   (Optional[types.LiteLLM_SSOConfigInclude]r%   c                   rJ   )a  Create a new LiteLLM_SSOConfig record.

        Parameters
        ----------
        data
            LiteLLM_SSOConfig record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The created LiteLLM_SSOConfig record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_SSOConfig record from just the required fields
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().create(
            data={
                # data to create a LiteLLM_SSOConfig record
                'sso_settings': Json({'bgeadjjaeg': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   r  ru   zLiteLLM_SSOConfigActions.createrV   8List[types.LiteLLM_SSOConfigCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_SSOConfig records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_SSOConfig record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_SSOConfig.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_SSOConfig record
                    'sso_settings': Json({'cahigchjhf': True}),
                },
                {
                    # data to create a LiteLLM_SSOConfig record
                    'sso_settings': Json({'bgciaegcga': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z$LiteLLM_SSOConfigActions.create_manyrg   'types.LiteLLM_SSOConfigWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_SSOConfig record.

        Parameters
        ----------
        where
            LiteLLM_SSOConfig filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The deleted LiteLLM_SSOConfig record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().delete(
            where={
                'id': 'bihcfdeejd',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   zLiteLLM_SSOConfigActions.deletec                   rp   )a  Find a unique LiteLLM_SSOConfig record.

        Parameters
        ----------
        where
            LiteLLM_SSOConfig filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The found LiteLLM_SSOConfig record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().find_unique(
            where={
                'id': 'bhcjhejiec',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z$LiteLLM_SSOConfigActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_SSOConfig record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_SSOConfig filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The found LiteLLM_SSOConfig record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().find_unique_or_raise(
            where={
                'id': 'bicdhjiibj',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   J  ru   z-LiteLLM_SSOConfigActions.find_unique_or_raiserv   rw   rx   +Optional[types.LiteLLM_SSOConfigWhereInput]rz   1Optional[types.LiteLLM_SSOConfigWhereUniqueInput]r|   _Optional[Union[types.LiteLLM_SSOConfigOrderByInput, List[types.LiteLLM_SSOConfigOrderByInput]]]r~   6Optional[List[types.LiteLLM_SSOConfigScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_SSOConfig records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_SSOConfig records returned
        skip
            Ignore the first N results
        where
            LiteLLM_SSOConfig filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model
        order
            Order the returned LiteLLM_SSOConfig records by any field
        distinct
            Filter LiteLLM_SSOConfig records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_SSOConfig]
            The list of all LiteLLM_SSOConfig records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_SSOConfig records
        litellm_ssoconfigs = await LiteLLM_SSOConfig.prisma().find_many(take=10)

        # find the first 5 LiteLLM_SSOConfig records ordered by the created_at field
        litellm_ssoconfigs = await LiteLLM_SSOConfig.prisma().find_many(
            take=5,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z6LiteLLM_SSOConfigActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   z  r   z"LiteLLM_SSOConfigActions.find_manyc           	   
     r   )a&  Find a single LiteLLM_SSOConfig record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SSOConfig filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model
        order
            Order the returned LiteLLM_SSOConfig records by any field
        distinct
            Filter LiteLLM_SSOConfig records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The first LiteLLM_SSOConfig record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SSOConfig record ordered by the updated_at field
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().find_first(
            skip=1,
            order={
                'updated_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z#LiteLLM_SSOConfigActions.find_firstc              
     r   )al  Find a single LiteLLM_SSOConfig record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SSOConfig filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model
        order
            Order the returned LiteLLM_SSOConfig records by any field
        distinct
            Filter LiteLLM_SSOConfig records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The first LiteLLM_SSOConfig record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SSOConfig record ordered by the id field
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().find_first_or_raise(
            skip=1,
            order={
                'id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z,LiteLLM_SSOConfigActions.find_first_or_raise"types.LiteLLM_SSOConfigUpdateInputc                   r   )a  Update a single LiteLLM_SSOConfig record.

        Parameters
        ----------
        data
            LiteLLM_SSOConfig record data specifying what to update
        where
            LiteLLM_SSOConfig filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The updated LiteLLM_SSOConfig record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().update(
            where={
                'id': 'hhdgjfcge',
            },
            data={
                # data to update the LiteLLM_SSOConfig record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   E  r   zLiteLLM_SSOConfigActions.update"types.LiteLLM_SSOConfigUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_SSOConfig filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SSOConfig model

        Returns
        -------
        prisma.models.LiteLLM_SSOConfig
            The created or updated LiteLLM_SSOConfig record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_ssoconfig = await LiteLLM_SSOConfig.prisma().upsert(
            where={
                'id': 'cdjigibcb',
            },
            data={
                'create': {
                    'id': 'cdjigibcb',
                    'sso_settings': Json({'bgciaegcga': True}),
                },
                'update': {
                    'sso_settings': Json({'bgciaegcga': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   ~  r  zLiteLLM_SSOConfigActions.upsert.types.LiteLLM_SSOConfigUpdateManyMutationInput!types.LiteLLM_SSOConfigWhereInputc                   r   )a6  Update multiple LiteLLM_SSOConfig records

        Parameters
        ----------
        data
            LiteLLM_SSOConfig data to update the selected LiteLLM_SSOConfig records to
        where
            Filter to select the LiteLLM_SSOConfig records to update

        Returns
        -------
        int
            The total number of LiteLLM_SSOConfig records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_SSOConfig records
        total = await LiteLLM_SSOConfig.prisma().update_many(
            data={
                'sso_settings': Json({'dicgfhbic': True})
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z$LiteLLM_SSOConfigActions.update_manyr   c                   r   )a  Count the number of LiteLLM_SSOConfig records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SSOConfig fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SSOConfig filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SSOConfigCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SSOConfig.prisma().count()

        # results: prisma.types.LiteLLM_SSOConfigCountAggregateOutput
        results = await LiteLLM_SSOConfig.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   zLiteLLM_SSOConfigActions.count*types.LiteLLM_SSOConfigCountAggregateInput+types.LiteLLM_SSOConfigCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   4Optional[types.LiteLLM_SSOConfigCountAggregateInput]7Union[int, types.LiteLLM_SSOConfigCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_SSOConfig records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SSOConfig fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SSOConfig filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SSOConfigCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SSOConfig.prisma().count()

        # results: prisma.types.LiteLLM_SSOConfigCountAggregateOutput
        results = await LiteLLM_SSOConfig.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   k  r   z1LiteLLM_SSOConfigActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   %LiteLLM_SSOConfigCountAggregateOutputr   r5   r5   r6   r_   *  r   c                   r   )ad  Delete multiple LiteLLM_SSOConfig records.

        Parameters
        ----------
        where
            Optional LiteLLM_SSOConfig filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_SSOConfig records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_SSOConfig records
        total = await LiteLLM_SSOConfig.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z$LiteLLM_SSOConfigActions.delete_manyr   r   .List['types.LiteLLM_SSOConfigScalarFieldKeys']-Optional['types.LiteLLM_SSOConfigWhereInput']r   4Optional['types.LiteLLM_SSOConfigAvgAggregateInput']r   4Optional['types.LiteLLM_SSOConfigSumAggregateInput']r   4Optional['types.LiteLLM_SSOConfigMinAggregateInput']r   4Optional['types.LiteLLM_SSOConfigMaxAggregateInput']r   AOptional['types.LiteLLM_SSOConfigScalarWhereWithAggregatesInput']r_   COptional[Union[bool, 'types.LiteLLM_SSOConfigCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_SSOConfigScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_SSOConfigScalarFieldKeys', 'types.SortOrder']]]],List['types.LiteLLM_SSOConfigGroupByOutput']c       
      
     r   )a^  Group LiteLLM_SSOConfig records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_SSOConfig fields to group records by
        where
            LiteLLM_SSOConfig filter to select records
        take
            Limit the maximum number of LiteLLM_SSOConfig records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_SSOConfigGroupByOutput]
            A list of dictionaries representing the LiteLLM_SSOConfig record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_SSOConfig records by id values
        # and count how many records are in each group
        results = await LiteLLM_SSOConfig.prisma().group_by(
            ['id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z!LiteLLM_SSOConfigActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r	  rH   r  r|   r
  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r	  rH   r  r|   r
  r~   r  r/   rB   )rx   rw   rg   r  rz   r	  rH   r  r|   r
  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r	  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r	  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r	  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r  r  c                   @  r'   ){+LiteLLM_ManagedVectorStoreIndexTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z4LiteLLM_ManagedVectorStoreIndexTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedVectorStoreIndexTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ManagedVectorStoreIndexTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ManagedVectorStoreIndexTable WHERE id = $1',
            'fjcijccih',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   #  rA   z5LiteLLM_ManagedVectorStoreIndexTableActions.query_rawrB   c                   r=   )a9  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ManagedVectorStoreIndexTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ManagedVectorStoreIndexTable WHERE index_name = $1',
            'bbjbfibaae',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   I  rE   z7LiteLLM_ManagedVectorStoreIndexTableActions.query_firstNrF   5types.LiteLLM_ManagedVectorStoreIndexTableCreateInputrH   ;Optional[types.LiteLLM_ManagedVectorStoreIndexTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ManagedVectorStoreIndexTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoreIndexTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The created LiteLLM_ManagedVectorStoreIndexTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ManagedVectorStoreIndexTable record from just the required fields
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().create(
            data={
                # data to create a LiteLLM_ManagedVectorStoreIndexTable record
                'index_name': 'bffhjeiicb',
                'litellm_params': Json({'iajgghcec': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   q  rU   z2LiteLLM_ManagedVectorStoreIndexTableActions.createrV   KList[types.LiteLLM_ManagedVectorStoreIndexTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	aF  Create multiple LiteLLM_ManagedVectorStoreIndexTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ManagedVectorStoreIndexTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ManagedVectorStoreIndexTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ManagedVectorStoreIndexTable record
                    'index_name': 'baahheihgd',
                    'litellm_params': Json({'jhffbicge': True}),
                },
                {
                    # data to create a LiteLLM_ManagedVectorStoreIndexTable record
                    'index_name': 'bejbfdgeab',
                    'litellm_params': Json({'bfadaefeje': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z7LiteLLM_ManagedVectorStoreIndexTableActions.create_manyrg   :types.LiteLLM_ManagedVectorStoreIndexTableWhereUniqueInputc                   ri   )a"  Delete a single LiteLLM_ManagedVectorStoreIndexTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The deleted LiteLLM_ManagedVectorStoreIndexTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().delete(
            where={
                'id': 'bceheeaff',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z2LiteLLM_ManagedVectorStoreIndexTableActions.deletec                   rp   )a#  Find a unique LiteLLM_ManagedVectorStoreIndexTable record.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The found LiteLLM_ManagedVectorStoreIndexTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().find_unique(
            where={
                'id': 'eadgifiga',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z7LiteLLM_ManagedVectorStoreIndexTableActions.find_uniquec                   rJ   )a`  Find a unique LiteLLM_ManagedVectorStoreIndexTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The found LiteLLM_ManagedVectorStoreIndexTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().find_unique_or_raise(
            where={
                'id': 'bhbdefcgcb',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   L  ru   z@LiteLLM_ManagedVectorStoreIndexTableActions.find_unique_or_raiserv   rw   rx   >Optional[types.LiteLLM_ManagedVectorStoreIndexTableWhereInput]rz   DOptional[types.LiteLLM_ManagedVectorStoreIndexTableWhereUniqueInput]r|   Optional[Union[types.LiteLLM_ManagedVectorStoreIndexTableOrderByInput, List[types.LiteLLM_ManagedVectorStoreIndexTableOrderByInput]]]r~   IOptional[List[types.LiteLLM_ManagedVectorStoreIndexTableScalarFieldKeys]]c           	        r   )	a$  Find multiple LiteLLM_ManagedVectorStoreIndexTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ManagedVectorStoreIndexTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model
        order
            Order the returned LiteLLM_ManagedVectorStoreIndexTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoreIndexTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ManagedVectorStoreIndexTable]
            The list of all LiteLLM_ManagedVectorStoreIndexTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ManagedVectorStoreIndexTable records
        litellm_managedvectorstoreindextables = await LiteLLM_ManagedVectorStoreIndexTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ManagedVectorStoreIndexTable records ordered by the litellm_params field
        litellm_managedvectorstoreindextables = await LiteLLM_ManagedVectorStoreIndexTable.prisma().find_many(
            take=5,
            order={
                'litellm_params': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   zILiteLLM_ManagedVectorStoreIndexTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   |  r   z5LiteLLM_ManagedVectorStoreIndexTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_ManagedVectorStoreIndexTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model
        order
            Order the returned LiteLLM_ManagedVectorStoreIndexTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoreIndexTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The first LiteLLM_ManagedVectorStoreIndexTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedVectorStoreIndexTable record ordered by the index_info field
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().find_first(
            skip=1,
            order={
                'index_info': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   þ  r   z6LiteLLM_ManagedVectorStoreIndexTableActions.find_firstc              
     r   )a:  Find a single LiteLLM_ManagedVectorStoreIndexTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model
        order
            Order the returned LiteLLM_ManagedVectorStoreIndexTable records by any field
        distinct
            Filter LiteLLM_ManagedVectorStoreIndexTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The first LiteLLM_ManagedVectorStoreIndexTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ManagedVectorStoreIndexTable record ordered by the created_at field
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z?LiteLLM_ManagedVectorStoreIndexTableActions.find_first_or_raise5types.LiteLLM_ManagedVectorStoreIndexTableUpdateInputc                   r   )a  Update a single LiteLLM_ManagedVectorStoreIndexTable record.

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoreIndexTable record data specifying what to update
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The updated LiteLLM_ManagedVectorStoreIndexTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().update(
            where={
                'id': 'gfidfjffe',
            },
            data={
                # data to update the LiteLLM_ManagedVectorStoreIndexTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   G  r   z2LiteLLM_ManagedVectorStoreIndexTableActions.update5types.LiteLLM_ManagedVectorStoreIndexTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ManagedVectorStoreIndexTable model

        Returns
        -------
        prisma.models.LiteLLM_ManagedVectorStoreIndexTable
            The created or updated LiteLLM_ManagedVectorStoreIndexTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_managedvectorstoreindextable = await LiteLLM_ManagedVectorStoreIndexTable.prisma().upsert(
            where={
                'id': 'bhfjeijfff',
            },
            data={
                'create': {
                    'id': 'bhfjeijfff',
                    'index_name': 'bejbfdgeab',
                    'litellm_params': Json({'bfadaefeje': True}),
                },
                'update': {
                    'index_name': 'bejbfdgeab',
                    'litellm_params': Json({'bfadaefeje': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r   z2LiteLLM_ManagedVectorStoreIndexTableActions.upsertAtypes.LiteLLM_ManagedVectorStoreIndexTableUpdateManyMutationInput4types.LiteLLM_ManagedVectorStoreIndexTableWhereInputc                   r   )a  Update multiple LiteLLM_ManagedVectorStoreIndexTable records

        Parameters
        ----------
        data
            LiteLLM_ManagedVectorStoreIndexTable data to update the selected LiteLLM_ManagedVectorStoreIndexTable records to
        where
            Filter to select the LiteLLM_ManagedVectorStoreIndexTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ManagedVectorStoreIndexTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ManagedVectorStoreIndexTable records
        total = await LiteLLM_ManagedVectorStoreIndexTable.prisma().update_many(
            data={
                'created_by': 'bbeadjibga'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z7LiteLLM_ManagedVectorStoreIndexTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ManagedVectorStoreIndexTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedVectorStoreIndexTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedVectorStoreIndexTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateOutput
        results = await LiteLLM_ManagedVectorStoreIndexTable.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z1LiteLLM_ManagedVectorStoreIndexTableActions.count=types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateInput>types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   #  r   GOptional[types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateInput]JUnion[int, types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ManagedVectorStoreIndexTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ManagedVectorStoreIndexTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ManagedVectorStoreIndexTable.prisma().count()

        # results: prisma.types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateOutput
        results = await LiteLLM_ManagedVectorStoreIndexTable.prisma().count(
            select={
                '_all': True,
                'updated_by': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   o  r   zDLiteLLM_ManagedVectorStoreIndexTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   8LiteLLM_ManagedVectorStoreIndexTableCountAggregateOutputr   r5   r5   r6   r_   .  r   c                   r   )a  Delete multiple LiteLLM_ManagedVectorStoreIndexTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ManagedVectorStoreIndexTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ManagedVectorStoreIndexTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ManagedVectorStoreIndexTable records
        total = await LiteLLM_ManagedVectorStoreIndexTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z7LiteLLM_ManagedVectorStoreIndexTableActions.delete_manyr   r   AList['types.LiteLLM_ManagedVectorStoreIndexTableScalarFieldKeys']@Optional['types.LiteLLM_ManagedVectorStoreIndexTableWhereInput']r   GOptional['types.LiteLLM_ManagedVectorStoreIndexTableAvgAggregateInput']r   GOptional['types.LiteLLM_ManagedVectorStoreIndexTableSumAggregateInput']r   GOptional['types.LiteLLM_ManagedVectorStoreIndexTableMinAggregateInput']r   GOptional['types.LiteLLM_ManagedVectorStoreIndexTableMaxAggregateInput']r   TOptional['types.LiteLLM_ManagedVectorStoreIndexTableScalarWhereWithAggregatesInput']r_   VOptional[Union[bool, 'types.LiteLLM_ManagedVectorStoreIndexTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ManagedVectorStoreIndexTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ManagedVectorStoreIndexTableScalarFieldKeys', 'types.SortOrder']]]]?List['types.LiteLLM_ManagedVectorStoreIndexTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ManagedVectorStoreIndexTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ManagedVectorStoreIndexTable fields to group records by
        where
            LiteLLM_ManagedVectorStoreIndexTable filter to select records
        take
            Limit the maximum number of LiteLLM_ManagedVectorStoreIndexTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ManagedVectorStoreIndexTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ManagedVectorStoreIndexTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ManagedVectorStoreIndexTable records by id values
        # and count how many records are in each group
        results = await LiteLLM_ManagedVectorStoreIndexTable.prisma().group_by(
            ['id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z4LiteLLM_ManagedVectorStoreIndexTableActions.group_byr   r   r   r2   )rF   r   rH   r!  r/   r%   )rF   r"  rW   rY   r/   r   )rg   r#  rH   r!  r/   rB   )rg   r#  rH   r!  r/   r%   r   )rv   rw   rx   rw   rg   r$  rz   r%  rH   r!  r|   r&  r~   r'  r/   r<   r   )rx   rw   rg   r$  rz   r%  rH   r!  r|   r&  r~   r'  r/   rB   )rx   rw   rg   r$  rz   r%  rH   r!  r|   r&  r~   r'  r/   r%   )rF   r(  rg   r#  rH   r!  r/   rB   )rg   r#  rF   r)  rH   r!  r/   r%   )rF   r*  rg   r+  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r$  rz   r%  r/   r   r   )r   r,  rv   rw   rx   rw   rg   r$  rz   r%  r/   r-  )r   r.  rv   rw   rx   rw   rg   r$  rz   r%  r/   r/  )rg   r$  r/   r   )r   r1  rg   r2  rv   rw   rx   rw   r   r3  r   r4  r   r5  r   r6  r   r7  r_   r8  r|   r9  r/   r:  r   r5   r5   r5   r6   r    r   r  c                   @  r'   ){LiteLLM_CacheConfigActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   #  r8   z#LiteLLM_CacheConfigActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_CacheConfig]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_CacheConfig.prisma().query_raw(
            'SELECT * FROM LiteLLM_CacheConfig WHERE id = $1',
            'bjfbjbiggf',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   '  rA   z$LiteLLM_CacheConfigActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_CacheConfig.prisma().query_first(
            'SELECT * FROM LiteLLM_CacheConfig WHERE cache_settings = $1',
            Json({'chdbaagcc': True}),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   M  rE   z&LiteLLM_CacheConfigActions.query_firstNrF   $types.LiteLLM_CacheConfigCreateInputrH   *Optional[types.LiteLLM_CacheConfigInclude]r%   c                   rJ   )a  Create a new LiteLLM_CacheConfig record.

        Parameters
        ----------
        data
            LiteLLM_CacheConfig record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The created LiteLLM_CacheConfig record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_CacheConfig record from just the required fields
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().create(
            data={
                # data to create a LiteLLM_CacheConfig record
                'cache_settings': Json({'fbbijihb': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   u  ru   z!LiteLLM_CacheConfigActions.createrV   :List[types.LiteLLM_CacheConfigCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_CacheConfig records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_CacheConfig record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_CacheConfig.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_CacheConfig record
                    'cache_settings': Json({'bfjbgjjidg': True}),
                },
                {
                    # data to create a LiteLLM_CacheConfig record
                    'cache_settings': Json({'bfdihaifd': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z&LiteLLM_CacheConfigActions.create_manyrg   )types.LiteLLM_CacheConfigWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_CacheConfig record.

        Parameters
        ----------
        where
            LiteLLM_CacheConfig filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The deleted LiteLLM_CacheConfig record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().delete(
            where={
                'id': 'bfddhdffbe',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z!LiteLLM_CacheConfigActions.deletec                   rp   )a  Find a unique LiteLLM_CacheConfig record.

        Parameters
        ----------
        where
            LiteLLM_CacheConfig filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The found LiteLLM_CacheConfig record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().find_unique(
            where={
                'id': 'bdaiebdagh',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z&LiteLLM_CacheConfigActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_CacheConfig record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_CacheConfig filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The found LiteLLM_CacheConfig record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().find_unique_or_raise(
            where={
                'id': 'jgebebebg',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   M  ru   z/LiteLLM_CacheConfigActions.find_unique_or_raiserv   rw   rx   -Optional[types.LiteLLM_CacheConfigWhereInput]rz   3Optional[types.LiteLLM_CacheConfigWhereUniqueInput]r|   cOptional[Union[types.LiteLLM_CacheConfigOrderByInput, List[types.LiteLLM_CacheConfigOrderByInput]]]r~   8Optional[List[types.LiteLLM_CacheConfigScalarFieldKeys]]c           	        r   )	a.  Find multiple LiteLLM_CacheConfig records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_CacheConfig records returned
        skip
            Ignore the first N results
        where
            LiteLLM_CacheConfig filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model
        order
            Order the returned LiteLLM_CacheConfig records by any field
        distinct
            Filter LiteLLM_CacheConfig records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_CacheConfig]
            The list of all LiteLLM_CacheConfig records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_CacheConfig records
        litellm_cacheconfigs = await LiteLLM_CacheConfig.prisma().find_many(take=10)

        # find the first 5 LiteLLM_CacheConfig records ordered by the created_at field
        litellm_cacheconfigs = await LiteLLM_CacheConfig.prisma().find_many(
            take=5,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z8LiteLLM_CacheConfigActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   }  r   z$LiteLLM_CacheConfigActions.find_manyc           	   
     r   )a:  Find a single LiteLLM_CacheConfig record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_CacheConfig filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model
        order
            Order the returned LiteLLM_CacheConfig records by any field
        distinct
            Filter LiteLLM_CacheConfig records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The first LiteLLM_CacheConfig record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_CacheConfig record ordered by the updated_at field
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().find_first(
            skip=1,
            order={
                'updated_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z%LiteLLM_CacheConfigActions.find_firstc              
     r   )a  Find a single LiteLLM_CacheConfig record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_CacheConfig filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model
        order
            Order the returned LiteLLM_CacheConfig records by any field
        distinct
            Filter LiteLLM_CacheConfig records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The first LiteLLM_CacheConfig record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_CacheConfig record ordered by the id field
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().find_first_or_raise(
            skip=1,
            order={
                'id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z.LiteLLM_CacheConfigActions.find_first_or_raise$types.LiteLLM_CacheConfigUpdateInputc                   r   )a  Update a single LiteLLM_CacheConfig record.

        Parameters
        ----------
        data
            LiteLLM_CacheConfig record data specifying what to update
        where
            LiteLLM_CacheConfig filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The updated LiteLLM_CacheConfig record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().update(
            where={
                'id': 'gjhbefhcj',
            },
            data={
                # data to update the LiteLLM_CacheConfig record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   H  r   z!LiteLLM_CacheConfigActions.update$types.LiteLLM_CacheConfigUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_CacheConfig filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_CacheConfig model

        Returns
        -------
        prisma.models.LiteLLM_CacheConfig
            The created or updated LiteLLM_CacheConfig record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_cacheconfig = await LiteLLM_CacheConfig.prisma().upsert(
            where={
                'id': 'bdfgbjccje',
            },
            data={
                'create': {
                    'id': 'bdfgbjccje',
                    'cache_settings': Json({'bfdihaifd': True}),
                },
                'update': {
                    'cache_settings': Json({'bfdihaifd': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r  z!LiteLLM_CacheConfigActions.upsert0types.LiteLLM_CacheConfigUpdateManyMutationInput#types.LiteLLM_CacheConfigWhereInputc                   r   )aG  Update multiple LiteLLM_CacheConfig records

        Parameters
        ----------
        data
            LiteLLM_CacheConfig data to update the selected LiteLLM_CacheConfig records to
        where
            Filter to select the LiteLLM_CacheConfig records to update

        Returns
        -------
        int
            The total number of LiteLLM_CacheConfig records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_CacheConfig records
        total = await LiteLLM_CacheConfig.prisma().update_many(
            data={
                'cache_settings': Json({'bjchjbfbbb': True})
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z&LiteLLM_CacheConfigActions.update_manyr   c                   r   )a  Count the number of LiteLLM_CacheConfig records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_CacheConfig fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_CacheConfig filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_CacheConfigCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_CacheConfig.prisma().count()

        # results: prisma.types.LiteLLM_CacheConfigCountAggregateOutput
        results = await LiteLLM_CacheConfig.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z LiteLLM_CacheConfigActions.count,types.LiteLLM_CacheConfigCountAggregateInput-types.LiteLLM_CacheConfigCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   "  r   6Optional[types.LiteLLM_CacheConfigCountAggregateInput]9Union[int, types.LiteLLM_CacheConfigCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_CacheConfig records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_CacheConfig fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_CacheConfig filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_CacheConfigCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_CacheConfig.prisma().count()

        # results: prisma.types.LiteLLM_CacheConfigCountAggregateOutput
        results = await LiteLLM_CacheConfig.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   n  r   z3LiteLLM_CacheConfigActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   'LiteLLM_CacheConfigCountAggregateOutputr   r5   r5   r6   r_   -  r   c                   r   )an  Delete multiple LiteLLM_CacheConfig records.

        Parameters
        ----------
        where
            Optional LiteLLM_CacheConfig filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_CacheConfig records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_CacheConfig records
        total = await LiteLLM_CacheConfig.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z&LiteLLM_CacheConfigActions.delete_manyr   r   0List['types.LiteLLM_CacheConfigScalarFieldKeys']/Optional['types.LiteLLM_CacheConfigWhereInput']r   6Optional['types.LiteLLM_CacheConfigAvgAggregateInput']r   6Optional['types.LiteLLM_CacheConfigSumAggregateInput']r   6Optional['types.LiteLLM_CacheConfigMinAggregateInput']r   6Optional['types.LiteLLM_CacheConfigMaxAggregateInput']r   COptional['types.LiteLLM_CacheConfigScalarWhereWithAggregatesInput']r_   EOptional[Union[bool, 'types.LiteLLM_CacheConfigCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_CacheConfigScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_CacheConfigScalarFieldKeys', 'types.SortOrder']]]].List['types.LiteLLM_CacheConfigGroupByOutput']c       
      
     r   )an  Group LiteLLM_CacheConfig records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_CacheConfig fields to group records by
        where
            LiteLLM_CacheConfig filter to select records
        take
            Limit the maximum number of LiteLLM_CacheConfig records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_CacheConfigGroupByOutput]
            A list of dictionaries representing the LiteLLM_CacheConfig record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_CacheConfig records by id values
        # and count how many records are in each group
        results = await LiteLLM_CacheConfig.prisma().group_by(
            ['id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z#LiteLLM_CacheConfigActions.group_byr   r   r   r2   )rF   r<  rH   r=  r/   r%   )rF   r>  rW   rY   r/   r   )rg   r?  rH   r=  r/   rB   )rg   r?  rH   r=  r/   r%   r   )rv   rw   rx   rw   rg   r@  rz   rA  rH   r=  r|   rB  r~   rC  r/   r<   r   )rx   rw   rg   r@  rz   rA  rH   r=  r|   rB  r~   rC  r/   rB   )rx   rw   rg   r@  rz   rA  rH   r=  r|   rB  r~   rC  r/   r%   )rF   rD  rg   r?  rH   r=  r/   rB   )rg   r?  rF   rE  rH   r=  r/   r%   )rF   rF  rg   rG  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r@  rz   rA  r/   r   r   )r   rH  rv   rw   rx   rw   rg   r@  rz   rA  r/   rI  )r   rJ  rv   rw   rx   rw   rg   r@  rz   rA  r/   rK  )rg   r@  r/   r   )r   rM  rg   rN  rv   rw   rx   rw   r   rO  r   rP  r   rQ  r   rR  r   rS  r_   rT  r|   rU  r/   rV  r   r5   r5   r5   r6   r;    r  r;  c                   @  r'   ){LiteLLM_UISettingsActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   "  r8   z"LiteLLM_UISettingsActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_UISettings]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_UISettings.prisma().query_raw(
            'SELECT * FROM LiteLLM_UISettings WHERE id = $1',
            'cachfbejaa',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   &  rA   z#LiteLLM_UISettingsActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_UISettings.prisma().query_first(
            'SELECT * FROM LiteLLM_UISettings WHERE ui_settings = $1',
            Json({'bfjddjgebd': True}),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   L  rE   z%LiteLLM_UISettingsActions.query_firstNrF   #types.LiteLLM_UISettingsCreateInputrH   )Optional[types.LiteLLM_UISettingsInclude]r%   c                   rJ   )a  Create a new LiteLLM_UISettings record.

        Parameters
        ----------
        data
            LiteLLM_UISettings record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The created LiteLLM_UISettings record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_UISettings record from just the required fields
        litellm_uisettings = await LiteLLM_UISettings.prisma().create(
            data={
                # data to create a LiteLLM_UISettings record
                'ui_settings': Json({'babifceddi': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   t  ru   z LiteLLM_UISettingsActions.createrV   9List[types.LiteLLM_UISettingsCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_UISettings records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_UISettings record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_UISettings.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_UISettings record
                    'ui_settings': Json({'bgfgjbjah': True}),
                },
                {
                    # data to create a LiteLLM_UISettings record
                    'ui_settings': Json({'bfaifigiia': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z%LiteLLM_UISettingsActions.create_manyrg   (types.LiteLLM_UISettingsWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_UISettings record.

        Parameters
        ----------
        where
            LiteLLM_UISettings filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The deleted LiteLLM_UISettings record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_uisettings = await LiteLLM_UISettings.prisma().delete(
            where={
                'id': 'bebgicaggf',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z LiteLLM_UISettingsActions.deletec                   rp   )a  Find a unique LiteLLM_UISettings record.

        Parameters
        ----------
        where
            LiteLLM_UISettings filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The found LiteLLM_UISettings record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_uisettings = await LiteLLM_UISettings.prisma().find_unique(
            where={
                'id': 'cedfddicc',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z%LiteLLM_UISettingsActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_UISettings record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_UISettings filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The found LiteLLM_UISettings record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_uisettings = await LiteLLM_UISettings.prisma().find_unique_or_raise(
            where={
                'id': 'dfeaijicd',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   L  ru   z.LiteLLM_UISettingsActions.find_unique_or_raiserv   rw   rx   ,Optional[types.LiteLLM_UISettingsWhereInput]rz   2Optional[types.LiteLLM_UISettingsWhereUniqueInput]r|   aOptional[Union[types.LiteLLM_UISettingsOrderByInput, List[types.LiteLLM_UISettingsOrderByInput]]]r~   7Optional[List[types.LiteLLM_UISettingsScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_UISettings records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_UISettings records returned
        skip
            Ignore the first N results
        where
            LiteLLM_UISettings filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model
        order
            Order the returned LiteLLM_UISettings records by any field
        distinct
            Filter LiteLLM_UISettings records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_UISettings]
            The list of all LiteLLM_UISettings records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_UISettings records
        litellm_uisettings = await LiteLLM_UISettings.prisma().find_many(take=10)

        # find the first 5 LiteLLM_UISettings records ordered by the created_at field
        litellm_uisettings = await LiteLLM_UISettings.prisma().find_many(
            take=5,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z7LiteLLM_UISettingsActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   |  r   z#LiteLLM_UISettingsActions.find_manyc           	   
     r   )a0  Find a single LiteLLM_UISettings record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_UISettings filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model
        order
            Order the returned LiteLLM_UISettings records by any field
        distinct
            Filter LiteLLM_UISettings records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The first LiteLLM_UISettings record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_UISettings record ordered by the updated_at field
        litellm_uisettings = await LiteLLM_UISettings.prisma().find_first(
            skip=1,
            order={
                'updated_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z$LiteLLM_UISettingsActions.find_firstc              
     r   )av  Find a single LiteLLM_UISettings record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_UISettings filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model
        order
            Order the returned LiteLLM_UISettings records by any field
        distinct
            Filter LiteLLM_UISettings records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The first LiteLLM_UISettings record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_UISettings record ordered by the id field
        litellm_uisettings = await LiteLLM_UISettings.prisma().find_first_or_raise(
            skip=1,
            order={
                'id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z-LiteLLM_UISettingsActions.find_first_or_raise#types.LiteLLM_UISettingsUpdateInputc                   r   )a  Update a single LiteLLM_UISettings record.

        Parameters
        ----------
        data
            LiteLLM_UISettings record data specifying what to update
        where
            LiteLLM_UISettings filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The updated LiteLLM_UISettings record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_uisettings = await LiteLLM_UISettings.prisma().update(
            where={
                'id': 'baggcibdii',
            },
            data={
                # data to update the LiteLLM_UISettings record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   G  r   z LiteLLM_UISettingsActions.update#types.LiteLLM_UISettingsUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_UISettings filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_UISettings model

        Returns
        -------
        prisma.models.LiteLLM_UISettings
            The created or updated LiteLLM_UISettings record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_uisettings = await LiteLLM_UISettings.prisma().upsert(
            where={
                'id': 'bbjffcjief',
            },
            data={
                'create': {
                    'id': 'bbjffcjief',
                    'ui_settings': Json({'bfaifigiia': True}),
                },
                'update': {
                    'ui_settings': Json({'bfaifigiia': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r  z LiteLLM_UISettingsActions.upsert/types.LiteLLM_UISettingsUpdateManyMutationInput"types.LiteLLM_UISettingsWhereInputc                   r   )a<  Update multiple LiteLLM_UISettings records

        Parameters
        ----------
        data
            LiteLLM_UISettings data to update the selected LiteLLM_UISettings records to
        where
            Filter to select the LiteLLM_UISettings records to update

        Returns
        -------
        int
            The total number of LiteLLM_UISettings records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_UISettings records
        total = await LiteLLM_UISettings.prisma().update_many(
            data={
                'ui_settings': Json({'fffaabdfe': True})
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z%LiteLLM_UISettingsActions.update_manyr   c                   r   )a  Count the number of LiteLLM_UISettings records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_UISettings fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_UISettings filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_UISettingsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_UISettings.prisma().count()

        # results: prisma.types.LiteLLM_UISettingsCountAggregateOutput
        results = await LiteLLM_UISettings.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   zLiteLLM_UISettingsActions.count+types.LiteLLM_UISettingsCountAggregateInput,types.LiteLLM_UISettingsCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   !  r   5Optional[types.LiteLLM_UISettingsCountAggregateInput]8Union[int, types.LiteLLM_UISettingsCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_UISettings records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_UISettings fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_UISettings filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_UISettingsCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_UISettings.prisma().count()

        # results: prisma.types.LiteLLM_UISettingsCountAggregateOutput
        results = await LiteLLM_UISettings.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   m  r   z2LiteLLM_UISettingsActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   &LiteLLM_UISettingsCountAggregateOutputr   r5   r5   r6   r_   ,  r   c                   r   )ai  Delete multiple LiteLLM_UISettings records.

        Parameters
        ----------
        where
            Optional LiteLLM_UISettings filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_UISettings records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_UISettings records
        total = await LiteLLM_UISettings.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z%LiteLLM_UISettingsActions.delete_manyr   r   /List['types.LiteLLM_UISettingsScalarFieldKeys'].Optional['types.LiteLLM_UISettingsWhereInput']r   5Optional['types.LiteLLM_UISettingsAvgAggregateInput']r   5Optional['types.LiteLLM_UISettingsSumAggregateInput']r   5Optional['types.LiteLLM_UISettingsMinAggregateInput']r   5Optional['types.LiteLLM_UISettingsMaxAggregateInput']r   BOptional['types.LiteLLM_UISettingsScalarWhereWithAggregatesInput']r_   DOptional[Union[bool, 'types.LiteLLM_UISettingsCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_UISettingsScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_UISettingsScalarFieldKeys', 'types.SortOrder']]]]-List['types.LiteLLM_UISettingsGroupByOutput']c       
      
     r   )af  Group LiteLLM_UISettings records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_UISettings fields to group records by
        where
            LiteLLM_UISettings filter to select records
        take
            Limit the maximum number of LiteLLM_UISettings records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_UISettingsGroupByOutput]
            A list of dictionaries representing the LiteLLM_UISettings record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_UISettings records by id values
        # and count how many records are in each group
        results = await LiteLLM_UISettings.prisma().group_by(
            ['id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z"LiteLLM_UISettingsActions.group_byr   r   r   r2   )rF   rX  rH   rY  r/   r%   )rF   rZ  rW   rY   r/   r   )rg   r[  rH   rY  r/   rB   )rg   r[  rH   rY  r/   r%   r   )rv   rw   rx   rw   rg   r\  rz   r]  rH   rY  r|   r^  r~   r_  r/   r<   r   )rx   rw   rg   r\  rz   r]  rH   rY  r|   r^  r~   r_  r/   rB   )rx   rw   rg   r\  rz   r]  rH   rY  r|   r^  r~   r_  r/   r%   )rF   r`  rg   r[  rH   rY  r/   rB   )rg   r[  rF   ra  rH   rY  r/   r%   )rF   rb  rg   rc  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r\  rz   r]  r/   r   r   )r   rd  rv   rw   rx   rw   rg   r\  rz   r]  r/   re  )r   rf  rv   rw   rx   rw   rg   r\  rz   r]  r/   rg  )rg   r\  r/   r   )r   ri  rg   rj  rv   rw   rx   rw   r   rk  r   rl  r   rm  r   rn  r   ro  r_   rp  r|   rq  r/   rr  r   r5   r5   r5   r6   rW    r  rW  c                   @  r'   ){LiteLLM_ConfigOverridesActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   !  r8   z'LiteLLM_ConfigOverridesActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ConfigOverrides]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ConfigOverrides.prisma().query_raw(
            'SELECT * FROM LiteLLM_ConfigOverrides WHERE config_type = $1',
            'beeeiacbhb',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   %  rA   z(LiteLLM_ConfigOverridesActions.query_rawrB   c                   r=   )a"  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ConfigOverrides.prisma().query_first(
            'SELECT * FROM LiteLLM_ConfigOverrides WHERE config_value = $1',
            Json({'caaffegbdg': True}),
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   K  rE   z*LiteLLM_ConfigOverridesActions.query_firstNrF   (types.LiteLLM_ConfigOverridesCreateInputrH   .Optional[types.LiteLLM_ConfigOverridesInclude]r%   c                   rJ   )a1  Create a new LiteLLM_ConfigOverrides record.

        Parameters
        ----------
        data
            LiteLLM_ConfigOverrides record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The created LiteLLM_ConfigOverrides record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ConfigOverrides record from just the required fields
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().create(
            data={
                # data to create a LiteLLM_ConfigOverrides record
                'config_type': 'bbjieejjaf',
                'config_value': Json({'caachcajic': True}),
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   s  rU   z%LiteLLM_ConfigOverridesActions.createrV   >List[types.LiteLLM_ConfigOverridesCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ConfigOverrides records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ConfigOverrides record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ConfigOverrides.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ConfigOverrides record
                    'config_type': 'beigacgfid',
                    'config_value': Json({'bgehjgiidg': True}),
                },
                {
                    # data to create a LiteLLM_ConfigOverrides record
                    'config_type': 'ggididbh',
                    'config_value': Json({'caehgabhgc': True}),
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     rf   z*LiteLLM_ConfigOverridesActions.create_manyrg   -types.LiteLLM_ConfigOverridesWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ConfigOverrides record.

        Parameters
        ----------
        where
            LiteLLM_ConfigOverrides filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The deleted LiteLLM_ConfigOverrides record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().delete(
            where={
                'config_type': 'bdcdghgbeh',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z%LiteLLM_ConfigOverridesActions.deletec                   rp   )a  Find a unique LiteLLM_ConfigOverrides record.

        Parameters
        ----------
        where
            LiteLLM_ConfigOverrides filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The found LiteLLM_ConfigOverrides record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().find_unique(
            where={
                'config_type': 'bhgbabhfca',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z*LiteLLM_ConfigOverridesActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_ConfigOverrides record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ConfigOverrides filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The found LiteLLM_ConfigOverrides record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().find_unique_or_raise(
            where={
                'config_type': 'fbichfdgj',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   N  ru   z3LiteLLM_ConfigOverridesActions.find_unique_or_raiserv   rw   rx   1Optional[types.LiteLLM_ConfigOverridesWhereInput]rz   7Optional[types.LiteLLM_ConfigOverridesWhereUniqueInput]r|   kOptional[Union[types.LiteLLM_ConfigOverridesOrderByInput, List[types.LiteLLM_ConfigOverridesOrderByInput]]]r~   <Optional[List[types.LiteLLM_ConfigOverridesScalarFieldKeys]]c           	        r   )	ad  Find multiple LiteLLM_ConfigOverrides records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ConfigOverrides records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ConfigOverrides filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model
        order
            Order the returned LiteLLM_ConfigOverrides records by any field
        distinct
            Filter LiteLLM_ConfigOverrides records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ConfigOverrides]
            The list of all LiteLLM_ConfigOverrides records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ConfigOverrides records
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ConfigOverrides records ordered by the created_at field
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().find_many(
            take=5,
            order={
                'created_at': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z<LiteLLM_ConfigOverridesActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   ~  r   z(LiteLLM_ConfigOverridesActions.find_manyc           	   
     r   )ab  Find a single LiteLLM_ConfigOverrides record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ConfigOverrides filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model
        order
            Order the returned LiteLLM_ConfigOverrides records by any field
        distinct
            Filter LiteLLM_ConfigOverrides records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The first LiteLLM_ConfigOverrides record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ConfigOverrides record ordered by the updated_at field
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().find_first(
            skip=1,
            order={
                'updated_at': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z)LiteLLM_ConfigOverridesActions.find_firstc              
     r   )a  Find a single LiteLLM_ConfigOverrides record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ConfigOverrides filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model
        order
            Order the returned LiteLLM_ConfigOverrides records by any field
        distinct
            Filter LiteLLM_ConfigOverrides records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The first LiteLLM_ConfigOverrides record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ConfigOverrides record ordered by the config_type field
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().find_first_or_raise(
            skip=1,
            order={
                'config_type': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r   	  r   z2LiteLLM_ConfigOverridesActions.find_first_or_raise(types.LiteLLM_ConfigOverridesUpdateInputc                   r   )a"  Update a single LiteLLM_ConfigOverrides record.

        Parameters
        ----------
        data
            LiteLLM_ConfigOverrides record data specifying what to update
        where
            LiteLLM_ConfigOverrides filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The updated LiteLLM_ConfigOverrides record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().update(
            where={
                'config_type': 'cjdihjfa',
            },
            data={
                # data to update the LiteLLM_ConfigOverrides record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   I  r   z%LiteLLM_ConfigOverridesActions.update(types.LiteLLM_ConfigOverridesUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ConfigOverrides filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ConfigOverrides model

        Returns
        -------
        prisma.models.LiteLLM_ConfigOverrides
            The created or updated LiteLLM_ConfigOverrides record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_configoverrides = await LiteLLM_ConfigOverrides.prisma().upsert(
            where={
                'config_type': 'eiacbdfid',
            },
            data={
                'create': {
                    'config_type': 'eiacbdfid',
                    'config_value': Json({'caehgabhgc': True}),
                },
                'update': {
                    'config_value': Json({'caehgabhgc': True}),
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r     r  z%LiteLLM_ConfigOverridesActions.upsert4types.LiteLLM_ConfigOverridesUpdateManyMutationInput'types.LiteLLM_ConfigOverridesWhereInputc                   r   )aa  Update multiple LiteLLM_ConfigOverrides records

        Parameters
        ----------
        data
            LiteLLM_ConfigOverrides data to update the selected LiteLLM_ConfigOverrides records to
        where
            Filter to select the LiteLLM_ConfigOverrides records to update

        Returns
        -------
        int
            The total number of LiteLLM_ConfigOverrides records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ConfigOverrides records
        total = await LiteLLM_ConfigOverrides.prisma().update_many(
            data={
                'config_value': Json({'biggibejea': True})
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z*LiteLLM_ConfigOverridesActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ConfigOverrides records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ConfigOverrides fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ConfigOverrides filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ConfigOverridesCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ConfigOverrides.prisma().count()

        # results: prisma.types.LiteLLM_ConfigOverridesCountAggregateOutput
        results = await LiteLLM_ConfigOverrides.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z$LiteLLM_ConfigOverridesActions.count0types.LiteLLM_ConfigOverridesCountAggregateInput1types.LiteLLM_ConfigOverridesCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_   #  r   :Optional[types.LiteLLM_ConfigOverridesCountAggregateInput]=Union[int, types.LiteLLM_ConfigOverridesCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ConfigOverrides records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ConfigOverrides fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ConfigOverrides filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ConfigOverridesCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ConfigOverrides.prisma().count()

        # results: prisma.types.LiteLLM_ConfigOverridesCountAggregateOutput
        results = await LiteLLM_ConfigOverrides.prisma().count(
            select={
                '_all': True,
                'updated_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   o  r   z7LiteLLM_ConfigOverridesActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   +LiteLLM_ConfigOverridesCountAggregateOutputr   r5   r5   r6   r_   .  r   c                   r   )a  Delete multiple LiteLLM_ConfigOverrides records.

        Parameters
        ----------
        where
            Optional LiteLLM_ConfigOverrides filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ConfigOverrides records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ConfigOverrides records
        total = await LiteLLM_ConfigOverrides.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z*LiteLLM_ConfigOverridesActions.delete_manyr   r   4List['types.LiteLLM_ConfigOverridesScalarFieldKeys']3Optional['types.LiteLLM_ConfigOverridesWhereInput']r   :Optional['types.LiteLLM_ConfigOverridesAvgAggregateInput']r   :Optional['types.LiteLLM_ConfigOverridesSumAggregateInput']r   :Optional['types.LiteLLM_ConfigOverridesMinAggregateInput']r   :Optional['types.LiteLLM_ConfigOverridesMaxAggregateInput']r   GOptional['types.LiteLLM_ConfigOverridesScalarWhereWithAggregatesInput']r_   IOptional[Union[bool, 'types.LiteLLM_ConfigOverridesCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ConfigOverridesScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ConfigOverridesScalarFieldKeys', 'types.SortOrder']]]]2List['types.LiteLLM_ConfigOverridesGroupByOutput']c       
      
     r   )a  Group LiteLLM_ConfigOverrides records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ConfigOverrides fields to group records by
        where
            LiteLLM_ConfigOverrides filter to select records
        take
            Limit the maximum number of LiteLLM_ConfigOverrides records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ConfigOverridesGroupByOutput]
            A list of dictionaries representing the LiteLLM_ConfigOverrides record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ConfigOverrides records by config_type values
        # and count how many records are in each group
        results = await LiteLLM_ConfigOverrides.prisma().group_by(
            ['config_type'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z'LiteLLM_ConfigOverridesActions.group_byr   r   r   r2   )rF   rt  rH   ru  r/   r%   )rF   rv  rW   rY   r/   r   )rg   rw  rH   ru  r/   rB   )rg   rw  rH   ru  r/   r%   r   )rv   rw   rx   rw   rg   rx  rz   ry  rH   ru  r|   rz  r~   r{  r/   r<   r   )rx   rw   rg   rx  rz   ry  rH   ru  r|   rz  r~   r{  r/   rB   )rx   rw   rg   rx  rz   ry  rH   ru  r|   rz  r~   r{  r/   r%   )rF   r|  rg   rw  rH   ru  r/   rB   )rg   rw  rF   r}  rH   ru  r/   r%   )rF   r~  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   rx  rz   ry  r/   r   r   )r   r  rv   rw   rx   rw   rg   rx  rz   ry  r/   r  )r   r  rv   rw   rx   rw   rg   rx  rz   ry  r/   r  )rg   rx  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   rs    r!  rs  c                   @  r'   ){LiteLLM_SkillsTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7   #  r8   z#LiteLLM_SkillsTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_SkillsTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_SkillsTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_SkillsTable WHERE skill_id = $1',
            'bbfejcgdaj',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   '  rA   z$LiteLLM_SkillsTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_SkillsTable.prisma().query_first(
            'SELECT * FROM LiteLLM_SkillsTable WHERE display_title = $1',
            'jhfihdegg',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   M  rE   z&LiteLLM_SkillsTableActions.query_firstNrF   $types.LiteLLM_SkillsTableCreateInputrH   *Optional[types.LiteLLM_SkillsTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_SkillsTable record.

        Parameters
        ----------
        data
            LiteLLM_SkillsTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The created LiteLLM_SkillsTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_SkillsTable record from just the required fields
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().create(
            data={
                # data to create a LiteLLM_SkillsTable record
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   u  r  z!LiteLLM_SkillsTableActions.createrV   :List[types.LiteLLM_SkillsTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_SkillsTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_SkillsTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_SkillsTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_SkillsTable record
                },
                {
                    # data to create a LiteLLM_SkillsTable record
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z&LiteLLM_SkillsTableActions.create_manyrg   )types.LiteLLM_SkillsTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_SkillsTable record.

        Parameters
        ----------
        where
            LiteLLM_SkillsTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The deleted LiteLLM_SkillsTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().delete(
            where={
                'skill_id': 'hbdcfgaed',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z!LiteLLM_SkillsTableActions.deletec                   rp   )a  Find a unique LiteLLM_SkillsTable record.

        Parameters
        ----------
        where
            LiteLLM_SkillsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The found LiteLLM_SkillsTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().find_unique(
            where={
                'skill_id': 'hbhcccifg',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z&LiteLLM_SkillsTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_SkillsTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_SkillsTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The found LiteLLM_SkillsTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().find_unique_or_raise(
            where={
                'skill_id': 'hihgjcej',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   J  ru   z/LiteLLM_SkillsTableActions.find_unique_or_raiserv   rw   rx   -Optional[types.LiteLLM_SkillsTableWhereInput]rz   3Optional[types.LiteLLM_SkillsTableWhereUniqueInput]r|   cOptional[Union[types.LiteLLM_SkillsTableOrderByInput, List[types.LiteLLM_SkillsTableOrderByInput]]]r~   8Optional[List[types.LiteLLM_SkillsTableScalarFieldKeys]]c           	        r   )	a0  Find multiple LiteLLM_SkillsTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_SkillsTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_SkillsTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model
        order
            Order the returned LiteLLM_SkillsTable records by any field
        distinct
            Filter LiteLLM_SkillsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_SkillsTable]
            The list of all LiteLLM_SkillsTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_SkillsTable records
        litellm_skillstables = await LiteLLM_SkillsTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_SkillsTable records ordered by the description field
        litellm_skillstables = await LiteLLM_SkillsTable.prisma().find_many(
            take=5,
            order={
                'description': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z8LiteLLM_SkillsTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   z  r   z$LiteLLM_SkillsTableActions.find_manyc           	   
     r   )a>  Find a single LiteLLM_SkillsTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SkillsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model
        order
            Order the returned LiteLLM_SkillsTable records by any field
        distinct
            Filter LiteLLM_SkillsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The first LiteLLM_SkillsTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SkillsTable record ordered by the instructions field
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().find_first(
            skip=1,
            order={
                'instructions': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z%LiteLLM_SkillsTableActions.find_firstc              
     r   )a  Find a single LiteLLM_SkillsTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_SkillsTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model
        order
            Order the returned LiteLLM_SkillsTable records by any field
        distinct
            Filter LiteLLM_SkillsTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The first LiteLLM_SkillsTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_SkillsTable record ordered by the source field
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'source': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z.LiteLLM_SkillsTableActions.find_first_or_raise$types.LiteLLM_SkillsTableUpdateInputc                   r   )a  Update a single LiteLLM_SkillsTable record.

        Parameters
        ----------
        data
            LiteLLM_SkillsTable record data specifying what to update
        where
            LiteLLM_SkillsTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The updated LiteLLM_SkillsTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().update(
            where={
                'skill_id': 'habdcgcbe',
            },
            data={
                # data to update the LiteLLM_SkillsTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   E  r   z!LiteLLM_SkillsTableActions.update$types.LiteLLM_SkillsTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_SkillsTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_SkillsTable model

        Returns
        -------
        prisma.models.LiteLLM_SkillsTable
            The created or updated LiteLLM_SkillsTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_skillstable = await LiteLLM_SkillsTable.prisma().upsert(
            where={
                'skill_id': 'bgbhfifccd',
            },
            data={
                'create': {
                    'skill_id': 'bgbhfifccd',
                },
                'update': {
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   ~  r  z!LiteLLM_SkillsTableActions.upsert0types.LiteLLM_SkillsTableUpdateManyMutationInput#types.LiteLLM_SkillsTableWhereInputc                   r   )a8  Update multiple LiteLLM_SkillsTable records

        Parameters
        ----------
        data
            LiteLLM_SkillsTable data to update the selected LiteLLM_SkillsTable records to
        where
            Filter to select the LiteLLM_SkillsTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_SkillsTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_SkillsTable records
        total = await LiteLLM_SkillsTable.prisma().update_many(
            data={
                'latest_version': 'cdajichhc'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z&LiteLLM_SkillsTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_SkillsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SkillsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SkillsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SkillsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SkillsTable.prisma().count()

        # results: prisma.types.LiteLLM_SkillsTableCountAggregateOutput
        results = await LiteLLM_SkillsTable.prisma().count(
            select={
                '_all': True,
                'file_content': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z LiteLLM_SkillsTableActions.count,types.LiteLLM_SkillsTableCountAggregateInput-types.LiteLLM_SkillsTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   6Optional[types.LiteLLM_SkillsTableCountAggregateInput]9Union[int, types.LiteLLM_SkillsTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_SkillsTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_SkillsTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_SkillsTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_SkillsTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_SkillsTable.prisma().count()

        # results: prisma.types.LiteLLM_SkillsTableCountAggregateOutput
        results = await LiteLLM_SkillsTable.prisma().count(
            select={
                '_all': True,
                'file_name': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   i  r   z3LiteLLM_SkillsTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   'LiteLLM_SkillsTableCountAggregateOutputr   r5   r5   r6   r_   (  r   c                   r   )an  Delete multiple LiteLLM_SkillsTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_SkillsTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_SkillsTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_SkillsTable records
        total = await LiteLLM_SkillsTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   }  r   z&LiteLLM_SkillsTableActions.delete_manyr   r   0List['types.LiteLLM_SkillsTableScalarFieldKeys']/Optional['types.LiteLLM_SkillsTableWhereInput']r   6Optional['types.LiteLLM_SkillsTableAvgAggregateInput']r   6Optional['types.LiteLLM_SkillsTableSumAggregateInput']r   6Optional['types.LiteLLM_SkillsTableMinAggregateInput']r   6Optional['types.LiteLLM_SkillsTableMaxAggregateInput']r   COptional['types.LiteLLM_SkillsTableScalarWhereWithAggregatesInput']r_   EOptional[Union[bool, 'types.LiteLLM_SkillsTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_SkillsTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_SkillsTableScalarFieldKeys', 'types.SortOrder']]]].List['types.LiteLLM_SkillsTableGroupByOutput']c       
      
     r   )a|  Group LiteLLM_SkillsTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_SkillsTable fields to group records by
        where
            LiteLLM_SkillsTable filter to select records
        take
            Limit the maximum number of LiteLLM_SkillsTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_SkillsTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_SkillsTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_SkillsTable records by file_type values
        # and count how many records are in each group
        results = await LiteLLM_SkillsTable.prisma().group_by(
            ['file_type'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z#LiteLLM_SkillsTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r  r  c                   @  r'   ){LiteLLM_PolicyTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z#LiteLLM_PolicyTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_PolicyTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_PolicyTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_PolicyTable WHERE policy_id = $1',
            'fidaadfej',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?   !  rA   z$LiteLLM_PolicyTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_PolicyTable.prisma().query_first(
            'SELECT * FROM LiteLLM_PolicyTable WHERE policy_name = $1',
            'bhihfhchfe',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   G  rE   z&LiteLLM_PolicyTableActions.query_firstNrF   $types.LiteLLM_PolicyTableCreateInputrH   *Optional[types.LiteLLM_PolicyTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_PolicyTable record.

        Parameters
        ----------
        data
            LiteLLM_PolicyTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The created LiteLLM_PolicyTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_PolicyTable record from just the required fields
        litellm_policytable = await LiteLLM_PolicyTable.prisma().create(
            data={
                # data to create a LiteLLM_PolicyTable record
                'policy_name': 'bgcfccghcd',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   o  ru   z!LiteLLM_PolicyTableActions.createrV   :List[types.LiteLLM_PolicyTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	ao  Create multiple LiteLLM_PolicyTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_PolicyTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_PolicyTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_PolicyTable record
                    'policy_name': 'ibjjfafga',
                },
                {
                    # data to create a LiteLLM_PolicyTable record
                    'policy_name': 'bghcggagdd',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z&LiteLLM_PolicyTableActions.create_manyrg   )types.LiteLLM_PolicyTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_PolicyTable record.

        Parameters
        ----------
        where
            LiteLLM_PolicyTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The deleted LiteLLM_PolicyTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policytable = await LiteLLM_PolicyTable.prisma().delete(
            where={
                'policy_id': 'bfjdcgjfji',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z!LiteLLM_PolicyTableActions.deletec                   rp   )a  Find a unique LiteLLM_PolicyTable record.

        Parameters
        ----------
        where
            LiteLLM_PolicyTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The found LiteLLM_PolicyTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policytable = await LiteLLM_PolicyTable.prisma().find_unique(
            where={
                'policy_id': 'bgfcbdfcdb',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z&LiteLLM_PolicyTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_PolicyTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_PolicyTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The found LiteLLM_PolicyTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policytable = await LiteLLM_PolicyTable.prisma().find_unique_or_raise(
            where={
                'policy_id': 'bhchfcedge',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   G  ru   z/LiteLLM_PolicyTableActions.find_unique_or_raiserv   rw   rx   -Optional[types.LiteLLM_PolicyTableWhereInput]rz   3Optional[types.LiteLLM_PolicyTableWhereUniqueInput]r|   cOptional[Union[types.LiteLLM_PolicyTableOrderByInput, List[types.LiteLLM_PolicyTableOrderByInput]]]r~   8Optional[List[types.LiteLLM_PolicyTableScalarFieldKeys]]c           	        r   )	a6  Find multiple LiteLLM_PolicyTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_PolicyTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_PolicyTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model
        order
            Order the returned LiteLLM_PolicyTable records by any field
        distinct
            Filter LiteLLM_PolicyTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_PolicyTable]
            The list of all LiteLLM_PolicyTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_PolicyTable records
        litellm_policytables = await LiteLLM_PolicyTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_PolicyTable records ordered by the version_number field
        litellm_policytables = await LiteLLM_PolicyTable.prisma().find_many(
            take=5,
            order={
                'version_number': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z8LiteLLM_PolicyTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   w  r   z$LiteLLM_PolicyTableActions.find_manyc           	   
     r   )aB  Find a single LiteLLM_PolicyTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model
        order
            Order the returned LiteLLM_PolicyTable records by any field
        distinct
            Filter LiteLLM_PolicyTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The first LiteLLM_PolicyTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_PolicyTable record ordered by the version_status field
        litellm_policytable = await LiteLLM_PolicyTable.prisma().find_first(
            skip=1,
            order={
                'version_status': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z%LiteLLM_PolicyTableActions.find_firstc              
     r   )a  Find a single LiteLLM_PolicyTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model
        order
            Order the returned LiteLLM_PolicyTable records by any field
        distinct
            Filter LiteLLM_PolicyTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The first LiteLLM_PolicyTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_PolicyTable record ordered by the parent_version_id field
        litellm_policytable = await LiteLLM_PolicyTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'parent_version_id': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z.LiteLLM_PolicyTableActions.find_first_or_raise$types.LiteLLM_PolicyTableUpdateInputc                   r   )a  Update a single LiteLLM_PolicyTable record.

        Parameters
        ----------
        data
            LiteLLM_PolicyTable record data specifying what to update
        where
            LiteLLM_PolicyTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The updated LiteLLM_PolicyTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_policytable = await LiteLLM_PolicyTable.prisma().update(
            where={
                'policy_id': 'bjaifdjhd',
            },
            data={
                # data to update the LiteLLM_PolicyTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   B  r   z!LiteLLM_PolicyTableActions.update$types.LiteLLM_PolicyTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_PolicyTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyTable
            The created or updated LiteLLM_PolicyTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policytable = await LiteLLM_PolicyTable.prisma().upsert(
            where={
                'policy_id': 'biieibbgcg',
            },
            data={
                'create': {
                    'policy_id': 'biieibbgcg',
                    'policy_name': 'bghcggagdd',
                },
                'update': {
                    'policy_name': 'bghcggagdd',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   {  r  z!LiteLLM_PolicyTableActions.upsert0types.LiteLLM_PolicyTableUpdateManyMutationInput#types.LiteLLM_PolicyTableWhereInputc                   r   )a-  Update multiple LiteLLM_PolicyTable records

        Parameters
        ----------
        data
            LiteLLM_PolicyTable data to update the selected LiteLLM_PolicyTable records to
        where
            Filter to select the LiteLLM_PolicyTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_PolicyTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_PolicyTable records
        total = await LiteLLM_PolicyTable.prisma().update_many(
            data={
                'is_latest': False
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z&LiteLLM_PolicyTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_PolicyTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_PolicyTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_PolicyTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_PolicyTable.prisma().count()

        # results: prisma.types.LiteLLM_PolicyTableCountAggregateOutput
        results = await LiteLLM_PolicyTable.prisma().count(
            select={
                '_all': True,
                'published_at': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z LiteLLM_PolicyTableActions.count,types.LiteLLM_PolicyTableCountAggregateInput-types.LiteLLM_PolicyTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   6Optional[types.LiteLLM_PolicyTableCountAggregateInput]9Union[int, types.LiteLLM_PolicyTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_PolicyTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_PolicyTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_PolicyTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_PolicyTable.prisma().count()

        # results: prisma.types.LiteLLM_PolicyTableCountAggregateOutput
        results = await LiteLLM_PolicyTable.prisma().count(
            select={
                '_all': True,
                'production_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   h  r   z3LiteLLM_PolicyTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   'LiteLLM_PolicyTableCountAggregateOutputr   r5   r5   r6   r_   '  r   c                   r   )an  Delete multiple LiteLLM_PolicyTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_PolicyTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_PolicyTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_PolicyTable records
        total = await LiteLLM_PolicyTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   |  r   z&LiteLLM_PolicyTableActions.delete_manyr   r   0List['types.LiteLLM_PolicyTableScalarFieldKeys']/Optional['types.LiteLLM_PolicyTableWhereInput']r   6Optional['types.LiteLLM_PolicyTableAvgAggregateInput']r   6Optional['types.LiteLLM_PolicyTableSumAggregateInput']r   6Optional['types.LiteLLM_PolicyTableMinAggregateInput']r   6Optional['types.LiteLLM_PolicyTableMaxAggregateInput']r   COptional['types.LiteLLM_PolicyTableScalarWhereWithAggregatesInput']r_   EOptional[Union[bool, 'types.LiteLLM_PolicyTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_PolicyTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_PolicyTableScalarFieldKeys', 'types.SortOrder']]]].List['types.LiteLLM_PolicyTableGroupByOutput']c       
      
     r   )ax  Group LiteLLM_PolicyTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_PolicyTable fields to group records by
        where
            LiteLLM_PolicyTable filter to select records
        take
            Limit the maximum number of LiteLLM_PolicyTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_PolicyTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_PolicyTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_PolicyTable records by inherit values
        # and count how many records are in each group
        results = await LiteLLM_PolicyTable.prisma().group_by(
            ['inherit'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z#LiteLLM_PolicyTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r  r  c                   @  r'   ){$LiteLLM_PolicyAttachmentTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z-LiteLLM_PolicyAttachmentTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_PolicyAttachmentTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_PolicyAttachmentTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_PolicyAttachmentTable WHERE attachment_id = $1',
            'bheihfebgi',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?      rA   z.LiteLLM_PolicyAttachmentTableActions.query_rawrB   c                   r=   )a$  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_PolicyAttachmentTable.prisma().query_first(
            'SELECT * FROM LiteLLM_PolicyAttachmentTable WHERE policy_name = $1',
            'biifjcaib',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   F  rE   z0LiteLLM_PolicyAttachmentTableActions.query_firstNrF   .types.LiteLLM_PolicyAttachmentTableCreateInputrH   4Optional[types.LiteLLM_PolicyAttachmentTableInclude]r%   c                   rJ   )a*  Create a new LiteLLM_PolicyAttachmentTable record.

        Parameters
        ----------
        data
            LiteLLM_PolicyAttachmentTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The created LiteLLM_PolicyAttachmentTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_PolicyAttachmentTable record from just the required fields
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().create(
            data={
                # data to create a LiteLLM_PolicyAttachmentTable record
                'policy_name': 'fgbhfghcg',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   n  ru   z+LiteLLM_PolicyAttachmentTableActions.createrV   DList[types.LiteLLM_PolicyAttachmentTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_PolicyAttachmentTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_PolicyAttachmentTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_PolicyAttachmentTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_PolicyAttachmentTable record
                    'policy_name': 'iaidibhfb',
                },
                {
                    # data to create a LiteLLM_PolicyAttachmentTable record
                    'policy_name': 'bahaddafdc',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z0LiteLLM_PolicyAttachmentTableActions.create_manyrg   3types.LiteLLM_PolicyAttachmentTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_PolicyAttachmentTable record.

        Parameters
        ----------
        where
            LiteLLM_PolicyAttachmentTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The deleted LiteLLM_PolicyAttachmentTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().delete(
            where={
                'attachment_id': 'eiaabgdjh',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z+LiteLLM_PolicyAttachmentTableActions.deletec                   rp   )a  Find a unique LiteLLM_PolicyAttachmentTable record.

        Parameters
        ----------
        where
            LiteLLM_PolicyAttachmentTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The found LiteLLM_PolicyAttachmentTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().find_unique(
            where={
                'attachment_id': 'dhidbgbi',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z0LiteLLM_PolicyAttachmentTableActions.find_uniquec                   rJ   )a8  Find a unique LiteLLM_PolicyAttachmentTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_PolicyAttachmentTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The found LiteLLM_PolicyAttachmentTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().find_unique_or_raise(
            where={
                'attachment_id': 'ebgcfaed',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   F  ru   z9LiteLLM_PolicyAttachmentTableActions.find_unique_or_raiserv   rw   rx   7Optional[types.LiteLLM_PolicyAttachmentTableWhereInput]rz   =Optional[types.LiteLLM_PolicyAttachmentTableWhereUniqueInput]r|   wOptional[Union[types.LiteLLM_PolicyAttachmentTableOrderByInput, List[types.LiteLLM_PolicyAttachmentTableOrderByInput]]]r~   BOptional[List[types.LiteLLM_PolicyAttachmentTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_PolicyAttachmentTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_PolicyAttachmentTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_PolicyAttachmentTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model
        order
            Order the returned LiteLLM_PolicyAttachmentTable records by any field
        distinct
            Filter LiteLLM_PolicyAttachmentTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_PolicyAttachmentTable]
            The list of all LiteLLM_PolicyAttachmentTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_PolicyAttachmentTable records
        litellm_policyattachmenttables = await LiteLLM_PolicyAttachmentTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_PolicyAttachmentTable records ordered by the scope field
        litellm_policyattachmenttables = await LiteLLM_PolicyAttachmentTable.prisma().find_many(
            take=5,
            order={
                'scope': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   zBLiteLLM_PolicyAttachmentTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   v  r   z.LiteLLM_PolicyAttachmentTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_PolicyAttachmentTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyAttachmentTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model
        order
            Order the returned LiteLLM_PolicyAttachmentTable records by any field
        distinct
            Filter LiteLLM_PolicyAttachmentTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The first LiteLLM_PolicyAttachmentTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_PolicyAttachmentTable record ordered by the teams field
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().find_first(
            skip=1,
            order={
                'teams': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z/LiteLLM_PolicyAttachmentTableActions.find_firstc              
     r   )a  Find a single LiteLLM_PolicyAttachmentTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyAttachmentTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model
        order
            Order the returned LiteLLM_PolicyAttachmentTable records by any field
        distinct
            Filter LiteLLM_PolicyAttachmentTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The first LiteLLM_PolicyAttachmentTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_PolicyAttachmentTable record ordered by the keys field
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'keys': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z8LiteLLM_PolicyAttachmentTableActions.find_first_or_raise.types.LiteLLM_PolicyAttachmentTableUpdateInputc                   r   )a\  Update a single LiteLLM_PolicyAttachmentTable record.

        Parameters
        ----------
        data
            LiteLLM_PolicyAttachmentTable record data specifying what to update
        where
            LiteLLM_PolicyAttachmentTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The updated LiteLLM_PolicyAttachmentTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().update(
            where={
                'attachment_id': 'bhehecefci',
            },
            data={
                # data to update the LiteLLM_PolicyAttachmentTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   A  r   z+LiteLLM_PolicyAttachmentTableActions.update.types.LiteLLM_PolicyAttachmentTableUpsertInputc              	     r   )	a(  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_PolicyAttachmentTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_PolicyAttachmentTable model

        Returns
        -------
        prisma.models.LiteLLM_PolicyAttachmentTable
            The created or updated LiteLLM_PolicyAttachmentTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_policyattachmenttable = await LiteLLM_PolicyAttachmentTable.prisma().upsert(
            where={
                'attachment_id': 'bbbibeefcb',
            },
            data={
                'create': {
                    'attachment_id': 'bbbibeefcb',
                    'policy_name': 'bahaddafdc',
                },
                'update': {
                    'policy_name': 'bahaddafdc',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   z  r  z+LiteLLM_PolicyAttachmentTableActions.upsert:types.LiteLLM_PolicyAttachmentTableUpdateManyMutationInput-types.LiteLLM_PolicyAttachmentTableWhereInputc                   r   )ay  Update multiple LiteLLM_PolicyAttachmentTable records

        Parameters
        ----------
        data
            LiteLLM_PolicyAttachmentTable data to update the selected LiteLLM_PolicyAttachmentTable records to
        where
            Filter to select the LiteLLM_PolicyAttachmentTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_PolicyAttachmentTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_PolicyAttachmentTable records
        total = await LiteLLM_PolicyAttachmentTable.prisma().update_many(
            data={
                'models': ['bdeaddcffi']
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z0LiteLLM_PolicyAttachmentTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_PolicyAttachmentTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_PolicyAttachmentTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyAttachmentTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_PolicyAttachmentTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_PolicyAttachmentTable.prisma().count()

        # results: prisma.types.LiteLLM_PolicyAttachmentTableCountAggregateOutput
        results = await LiteLLM_PolicyAttachmentTable.prisma().count(
            select={
                '_all': True,
                'tags': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z*LiteLLM_PolicyAttachmentTableActions.count6types.LiteLLM_PolicyAttachmentTableCountAggregateInput7types.LiteLLM_PolicyAttachmentTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   @Optional[types.LiteLLM_PolicyAttachmentTableCountAggregateInput]CUnion[int, types.LiteLLM_PolicyAttachmentTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_PolicyAttachmentTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_PolicyAttachmentTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_PolicyAttachmentTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_PolicyAttachmentTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_PolicyAttachmentTable.prisma().count()

        # results: prisma.types.LiteLLM_PolicyAttachmentTableCountAggregateOutput
        results = await LiteLLM_PolicyAttachmentTable.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   g  r   z=LiteLLM_PolicyAttachmentTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   1LiteLLM_PolicyAttachmentTableCountAggregateOutputr   r5   r5   r6   r_   &  r   c                   r   )a  Delete multiple LiteLLM_PolicyAttachmentTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_PolicyAttachmentTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_PolicyAttachmentTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_PolicyAttachmentTable records
        total = await LiteLLM_PolicyAttachmentTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   {  r   z0LiteLLM_PolicyAttachmentTableActions.delete_manyr   r   :List['types.LiteLLM_PolicyAttachmentTableScalarFieldKeys']9Optional['types.LiteLLM_PolicyAttachmentTableWhereInput']r   @Optional['types.LiteLLM_PolicyAttachmentTableAvgAggregateInput']r   @Optional['types.LiteLLM_PolicyAttachmentTableSumAggregateInput']r   @Optional['types.LiteLLM_PolicyAttachmentTableMinAggregateInput']r   @Optional['types.LiteLLM_PolicyAttachmentTableMaxAggregateInput']r   MOptional['types.LiteLLM_PolicyAttachmentTableScalarWhereWithAggregatesInput']r_   OOptional[Union[bool, 'types.LiteLLM_PolicyAttachmentTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_PolicyAttachmentTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_PolicyAttachmentTableScalarFieldKeys', 'types.SortOrder']]]]8List['types.LiteLLM_PolicyAttachmentTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_PolicyAttachmentTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_PolicyAttachmentTable fields to group records by
        where
            LiteLLM_PolicyAttachmentTable filter to select records
        take
            Limit the maximum number of LiteLLM_PolicyAttachmentTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_PolicyAttachmentTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_PolicyAttachmentTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_PolicyAttachmentTable records by created_by values
        # and count how many records are in each group
        results = await LiteLLM_PolicyAttachmentTable.prisma().group_by(
            ['created_by'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z-LiteLLM_PolicyAttachmentTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r  r  c                   @  r'   ){LiteLLM_ToolTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z!LiteLLM_ToolTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ToolTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ToolTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ToolTable WHERE tool_id = $1',
            'gcfejfaih',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z"LiteLLM_ToolTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ToolTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ToolTable WHERE tool_name = $1',
            'bbbdbcfedg',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   E  rE   z$LiteLLM_ToolTableActions.query_firstNrF   "types.LiteLLM_ToolTableCreateInputrH   (Optional[types.LiteLLM_ToolTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_ToolTable record.

        Parameters
        ----------
        data
            LiteLLM_ToolTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The created LiteLLM_ToolTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ToolTable record from just the required fields
        litellm_tooltable = await LiteLLM_ToolTable.prisma().create(
            data={
                # data to create a LiteLLM_ToolTable record
                'tool_name': 'biiaegedcf',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   m  ru   zLiteLLM_ToolTableActions.createrV   8List[types.LiteLLM_ToolTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	aa  Create multiple LiteLLM_ToolTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ToolTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ToolTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ToolTable record
                    'tool_name': 'bdajbbggji',
                },
                {
                    # data to create a LiteLLM_ToolTable record
                    'tool_name': 'gijeafaad',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z$LiteLLM_ToolTableActions.create_manyrg   'types.LiteLLM_ToolTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ToolTable record.

        Parameters
        ----------
        where
            LiteLLM_ToolTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The deleted LiteLLM_ToolTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tooltable = await LiteLLM_ToolTable.prisma().delete(
            where={
                'tool_id': 'beahcfcaai',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   zLiteLLM_ToolTableActions.deletec                   rp   )a  Find a unique LiteLLM_ToolTable record.

        Parameters
        ----------
        where
            LiteLLM_ToolTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The found LiteLLM_ToolTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tooltable = await LiteLLM_ToolTable.prisma().find_unique(
            where={
                'tool_id': 'bcihcaeghd',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z$LiteLLM_ToolTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_ToolTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ToolTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The found LiteLLM_ToolTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tooltable = await LiteLLM_ToolTable.prisma().find_unique_or_raise(
            where={
                'tool_id': 'gbchadegc',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   E  ru   z-LiteLLM_ToolTableActions.find_unique_or_raiserv   rw   rx   +Optional[types.LiteLLM_ToolTableWhereInput]rz   1Optional[types.LiteLLM_ToolTableWhereUniqueInput]r|   _Optional[Union[types.LiteLLM_ToolTableOrderByInput, List[types.LiteLLM_ToolTableOrderByInput]]]r~   6Optional[List[types.LiteLLM_ToolTableScalarFieldKeys]]c           	        r   )	a
  Find multiple LiteLLM_ToolTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ToolTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ToolTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model
        order
            Order the returned LiteLLM_ToolTable records by any field
        distinct
            Filter LiteLLM_ToolTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ToolTable]
            The list of all LiteLLM_ToolTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ToolTable records
        litellm_tooltables = await LiteLLM_ToolTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ToolTable records ordered by the origin field
        litellm_tooltables = await LiteLLM_ToolTable.prisma().find_many(
            take=5,
            order={
                'origin': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z6LiteLLM_ToolTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   u  r   z"LiteLLM_ToolTableActions.find_manyc           	   
     r   )a*  Find a single LiteLLM_ToolTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ToolTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model
        order
            Order the returned LiteLLM_ToolTable records by any field
        distinct
            Filter LiteLLM_ToolTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The first LiteLLM_ToolTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ToolTable record ordered by the input_policy field
        litellm_tooltable = await LiteLLM_ToolTable.prisma().find_first(
            skip=1,
            order={
                'input_policy': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z#LiteLLM_ToolTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ToolTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ToolTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model
        order
            Order the returned LiteLLM_ToolTable records by any field
        distinct
            Filter LiteLLM_ToolTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The first LiteLLM_ToolTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ToolTable record ordered by the output_policy field
        litellm_tooltable = await LiteLLM_ToolTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'output_policy': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r      r   z,LiteLLM_ToolTableActions.find_first_or_raise"types.LiteLLM_ToolTableUpdateInputc                   r   )a  Update a single LiteLLM_ToolTable record.

        Parameters
        ----------
        data
            LiteLLM_ToolTable record data specifying what to update
        where
            LiteLLM_ToolTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The updated LiteLLM_ToolTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_tooltable = await LiteLLM_ToolTable.prisma().update(
            where={
                'tool_id': 'bfdcjijjjb',
            },
            data={
                # data to update the LiteLLM_ToolTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   @  r   zLiteLLM_ToolTableActions.update"types.LiteLLM_ToolTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ToolTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ToolTable model

        Returns
        -------
        prisma.models.LiteLLM_ToolTable
            The created or updated LiteLLM_ToolTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_tooltable = await LiteLLM_ToolTable.prisma().upsert(
            where={
                'tool_id': 'caacjjgedg',
            },
            data={
                'create': {
                    'tool_id': 'caacjjgedg',
                    'tool_name': 'gijeafaad',
                },
                'update': {
                    'tool_name': 'gijeafaad',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   y  r  zLiteLLM_ToolTableActions.upsert.types.LiteLLM_ToolTableUpdateManyMutationInput!types.LiteLLM_ToolTableWhereInputc                   r   )a%  Update multiple LiteLLM_ToolTable records

        Parameters
        ----------
        data
            LiteLLM_ToolTable data to update the selected LiteLLM_ToolTable records to
        where
            Filter to select the LiteLLM_ToolTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ToolTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ToolTable records
        total = await LiteLLM_ToolTable.prisma().update_many(
            data={
                'call_count': 1453883005
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z$LiteLLM_ToolTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ToolTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ToolTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ToolTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ToolTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ToolTable.prisma().count()

        # results: prisma.types.LiteLLM_ToolTableCountAggregateOutput
        results = await LiteLLM_ToolTable.prisma().count(
            select={
                '_all': True,
                'assignments': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   zLiteLLM_ToolTableActions.count*types.LiteLLM_ToolTableCountAggregateInput+types.LiteLLM_ToolTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   4Optional[types.LiteLLM_ToolTableCountAggregateInput]7Union[int, types.LiteLLM_ToolTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ToolTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ToolTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ToolTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ToolTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ToolTable.prisma().count()

        # results: prisma.types.LiteLLM_ToolTableCountAggregateOutput
        results = await LiteLLM_ToolTable.prisma().count(
            select={
                '_all': True,
                'key_hash': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   f  r   z1LiteLLM_ToolTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   %LiteLLM_ToolTableCountAggregateOutputr   r5   r5   r6   r_   %  r   c                   r   )ad  Delete multiple LiteLLM_ToolTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ToolTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ToolTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ToolTable records
        total = await LiteLLM_ToolTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   z  r   z$LiteLLM_ToolTableActions.delete_manyr   r   .List['types.LiteLLM_ToolTableScalarFieldKeys']-Optional['types.LiteLLM_ToolTableWhereInput']r   4Optional['types.LiteLLM_ToolTableAvgAggregateInput']r   4Optional['types.LiteLLM_ToolTableSumAggregateInput']r   4Optional['types.LiteLLM_ToolTableMinAggregateInput']r   4Optional['types.LiteLLM_ToolTableMaxAggregateInput']r   AOptional['types.LiteLLM_ToolTableScalarWhereWithAggregatesInput']r_   COptional[Union[bool, 'types.LiteLLM_ToolTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ToolTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ToolTableScalarFieldKeys', 'types.SortOrder']]]],List['types.LiteLLM_ToolTableGroupByOutput']c       
      
     r   )ah  Group LiteLLM_ToolTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ToolTable fields to group records by
        where
            LiteLLM_ToolTable filter to select records
        take
            Limit the maximum number of LiteLLM_ToolTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ToolTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ToolTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ToolTable records by team_id values
        # and count how many records are in each group
        results = await LiteLLM_ToolTable.prisma().group_by(
            ['team_id'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z!LiteLLM_ToolTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r  rH   r  r/   r%   )rF   r  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r  r  c                   @  r'   ){LiteLLM_AccessGroupTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z(LiteLLM_AccessGroupTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_AccessGroupTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_AccessGroupTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_AccessGroupTable WHERE access_group_id = $1',
            'bdahjhgafa',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z)LiteLLM_AccessGroupTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_AccessGroupTable.prisma().query_first(
            'SELECT * FROM LiteLLM_AccessGroupTable WHERE access_group_name = $1',
            'cgjhggh',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   D  rE   z+LiteLLM_AccessGroupTableActions.query_firstNrF   )types.LiteLLM_AccessGroupTableCreateInputrH   /Optional[types.LiteLLM_AccessGroupTableInclude]r%   c                   rJ   )a  Create a new LiteLLM_AccessGroupTable record.

        Parameters
        ----------
        data
            LiteLLM_AccessGroupTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The created LiteLLM_AccessGroupTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_AccessGroupTable record from just the required fields
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().create(
            data={
                # data to create a LiteLLM_AccessGroupTable record
                'access_group_name': 'bibdbeebci',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   l  ru   z&LiteLLM_AccessGroupTableActions.createrV   ?List[types.LiteLLM_AccessGroupTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_AccessGroupTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_AccessGroupTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_AccessGroupTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_AccessGroupTable record
                    'access_group_name': 'bfdbbfbhdh',
                },
                {
                    # data to create a LiteLLM_AccessGroupTable record
                    'access_group_name': 'bggbaaceda',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z+LiteLLM_AccessGroupTableActions.create_manyrg   .types.LiteLLM_AccessGroupTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_AccessGroupTable record.

        Parameters
        ----------
        where
            LiteLLM_AccessGroupTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The deleted LiteLLM_AccessGroupTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().delete(
            where={
                'access_group_id': 'bfhjicejf',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z&LiteLLM_AccessGroupTableActions.deletec                   rp   )a  Find a unique LiteLLM_AccessGroupTable record.

        Parameters
        ----------
        where
            LiteLLM_AccessGroupTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The found LiteLLM_AccessGroupTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().find_unique(
            where={
                'access_group_id': 'bihggeiffg',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z+LiteLLM_AccessGroupTableActions.find_uniquec                   rJ   )a  Find a unique LiteLLM_AccessGroupTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_AccessGroupTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The found LiteLLM_AccessGroupTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().find_unique_or_raise(
            where={
                'access_group_id': 'gfjcjcgj',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   D  ru   z4LiteLLM_AccessGroupTableActions.find_unique_or_raiserv   rw   rx   2Optional[types.LiteLLM_AccessGroupTableWhereInput]rz   8Optional[types.LiteLLM_AccessGroupTableWhereUniqueInput]r|   mOptional[Union[types.LiteLLM_AccessGroupTableOrderByInput, List[types.LiteLLM_AccessGroupTableOrderByInput]]]r~   =Optional[List[types.LiteLLM_AccessGroupTableScalarFieldKeys]]c           	        r   )	av  Find multiple LiteLLM_AccessGroupTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_AccessGroupTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_AccessGroupTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model
        order
            Order the returned LiteLLM_AccessGroupTable records by any field
        distinct
            Filter LiteLLM_AccessGroupTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_AccessGroupTable]
            The list of all LiteLLM_AccessGroupTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_AccessGroupTable records
        litellm_accessgrouptables = await LiteLLM_AccessGroupTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_AccessGroupTable records ordered by the description field
        litellm_accessgrouptables = await LiteLLM_AccessGroupTable.prisma().find_many(
            take=5,
            order={
                'description': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   z=LiteLLM_AccessGroupTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   t  r   z)LiteLLM_AccessGroupTableActions.find_manyc           	   
     r   )a|  Find a single LiteLLM_AccessGroupTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_AccessGroupTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model
        order
            Order the returned LiteLLM_AccessGroupTable records by any field
        distinct
            Filter LiteLLM_AccessGroupTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The first LiteLLM_AccessGroupTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_AccessGroupTable record ordered by the access_model_names field
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().find_first(
            skip=1,
            order={
                'access_model_names': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z*LiteLLM_AccessGroupTableActions.find_firstc              
     r   )a  Find a single LiteLLM_AccessGroupTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_AccessGroupTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model
        order
            Order the returned LiteLLM_AccessGroupTable records by any field
        distinct
            Filter LiteLLM_AccessGroupTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The first LiteLLM_AccessGroupTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_AccessGroupTable record ordered by the access_mcp_server_ids field
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'access_mcp_server_ids': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z3LiteLLM_AccessGroupTableActions.find_first_or_raise)types.LiteLLM_AccessGroupTableUpdateInputc                   r   )a1  Update a single LiteLLM_AccessGroupTable record.

        Parameters
        ----------
        data
            LiteLLM_AccessGroupTable record data specifying what to update
        where
            LiteLLM_AccessGroupTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The updated LiteLLM_AccessGroupTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().update(
            where={
                'access_group_id': 'bdbfcaecji',
            },
            data={
                # data to update the LiteLLM_AccessGroupTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   ?  r   z&LiteLLM_AccessGroupTableActions.update)types.LiteLLM_AccessGroupTableUpsertInputc              	     r   )	a  Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_AccessGroupTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_AccessGroupTable model

        Returns
        -------
        prisma.models.LiteLLM_AccessGroupTable
            The created or updated LiteLLM_AccessGroupTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_accessgrouptable = await LiteLLM_AccessGroupTable.prisma().upsert(
            where={
                'access_group_id': 'bhehbjdead',
            },
            data={
                'create': {
                    'access_group_id': 'bhehbjdead',
                    'access_group_name': 'bggbaaceda',
                },
                'update': {
                    'access_group_name': 'bggbaaceda',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   x  r  z&LiteLLM_AccessGroupTableActions.upsert5types.LiteLLM_AccessGroupTableUpdateManyMutationInput(types.LiteLLM_AccessGroupTableWhereInputc                   r   )a`  Update multiple LiteLLM_AccessGroupTable records

        Parameters
        ----------
        data
            LiteLLM_AccessGroupTable data to update the selected LiteLLM_AccessGroupTable records to
        where
            Filter to select the LiteLLM_AccessGroupTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_AccessGroupTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_AccessGroupTable records
        total = await LiteLLM_AccessGroupTable.prisma().update_many(
            data={
                'access_agent_ids': ['bdehfgfjbc']
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z+LiteLLM_AccessGroupTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_AccessGroupTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_AccessGroupTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_AccessGroupTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_AccessGroupTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_AccessGroupTable.prisma().count()

        # results: prisma.types.LiteLLM_AccessGroupTableCountAggregateOutput
        results = await LiteLLM_AccessGroupTable.prisma().count(
            select={
                '_all': True,
                'assigned_team_ids': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z%LiteLLM_AccessGroupTableActions.count1types.LiteLLM_AccessGroupTableCountAggregateInput2types.LiteLLM_AccessGroupTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   ;Optional[types.LiteLLM_AccessGroupTableCountAggregateInput]>Union[int, types.LiteLLM_AccessGroupTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_AccessGroupTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_AccessGroupTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_AccessGroupTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_AccessGroupTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_AccessGroupTable.prisma().count()

        # results: prisma.types.LiteLLM_AccessGroupTableCountAggregateOutput
        results = await LiteLLM_AccessGroupTable.prisma().count(
            select={
                '_all': True,
                'assigned_key_ids': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   e  r   z8LiteLLM_AccessGroupTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   ,LiteLLM_AccessGroupTableCountAggregateOutputr   r5   r5   r6   r_   $  r   c                   r   )a  Delete multiple LiteLLM_AccessGroupTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_AccessGroupTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_AccessGroupTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_AccessGroupTable records
        total = await LiteLLM_AccessGroupTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   y  r   z+LiteLLM_AccessGroupTableActions.delete_manyr   r   5List['types.LiteLLM_AccessGroupTableScalarFieldKeys']4Optional['types.LiteLLM_AccessGroupTableWhereInput']r   ;Optional['types.LiteLLM_AccessGroupTableAvgAggregateInput']r   ;Optional['types.LiteLLM_AccessGroupTableSumAggregateInput']r   ;Optional['types.LiteLLM_AccessGroupTableMinAggregateInput']r   ;Optional['types.LiteLLM_AccessGroupTableMaxAggregateInput']r   HOptional['types.LiteLLM_AccessGroupTableScalarWhereWithAggregatesInput']r_   JOptional[Union[bool, 'types.LiteLLM_AccessGroupTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_AccessGroupTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_AccessGroupTableScalarFieldKeys', 'types.SortOrder']]]]3List['types.LiteLLM_AccessGroupTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_AccessGroupTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_AccessGroupTable fields to group records by
        where
            LiteLLM_AccessGroupTable filter to select records
        take
            Limit the maximum number of LiteLLM_AccessGroupTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_AccessGroupTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_AccessGroupTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_AccessGroupTable records by created_at values
        # and count how many records are in each group
        results = await LiteLLM_AccessGroupTable.prisma().group_by(
            ['created_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z(LiteLLM_AccessGroupTableActions.group_byr   r   r   r2   )rF   r   rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r<   r   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   rB   )rx   rw   rg   r  rz   r  rH   r  r|   r  r~   r  r/   r%   )rF   r  rg   r  rH   r  r/   rB   )rg   r  rF   r	  rH   r  r/   r%   )rF   r
  rg   r  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r  rz   r  r/   r   r   )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )r   r  rv   rw   rx   rw   rg   r  rz   r  r/   r  )rg   r  r/   r   )r   r  rg   r  rv   rw   rx   rw   r   r  r   r  r   r  r   r  r   r  r_   r  r|   r  r/   r  r   r5   r5   r5   r6   r    r  r  c                   @  r'   ){$LiteLLM_ClaudeCodePluginTableActionsr)   r,   r#   r-   r.   r/   r0   c                 C  r1   r2   r)   r3   r5   r5   r6   r7     r8   z-LiteLLM_ClaudeCodePluginTableActions.__init__r9   r:   r;   r   r<   c                   r=   )a  Execute a raw SQL query

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        List[prisma.models.LiteLLM_ClaudeCodePluginTable]
            The records returned by the SQL query

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        users = await LiteLLM_ClaudeCodePluginTable.prisma().query_raw(
            'SELECT * FROM LiteLLM_ClaudeCodePluginTable WHERE id = $1',
            'bjcbhdjeeb',
        )
        ```
        r-   Nr>   r@   r5   r5   r6   r?     rA   z.LiteLLM_ClaudeCodePluginTableActions.query_rawrB   c                   r=   )a  Execute a raw SQL query, returning the first result

        Parameters
        ----------
        query
            The raw SQL query string to be executed
        *args
            Parameters to be passed to the SQL query, these MUST be used over
            string formatting to avoid an SQL injection vulnerability

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The first record returned by the SQL query
        None
            The raw SQL query did not return any records

        Raises
        ------
        prisma_errors.RawQueryError
            This could be due to invalid syntax, mismatched number of parameters or any other error
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        user = await LiteLLM_ClaudeCodePluginTable.prisma().query_first(
            'SELECT * FROM LiteLLM_ClaudeCodePluginTable WHERE name = $1',
            'jacahdcdi',
        )
        ```
        r-   NrC   r@   r5   r5   r6   rD   C  rE   z0LiteLLM_ClaudeCodePluginTableActions.query_firstNrF   .types.LiteLLM_ClaudeCodePluginTableCreateInputrH   4Optional[types.LiteLLM_ClaudeCodePluginTableInclude]r%   c                   rJ   )a$  Create a new LiteLLM_ClaudeCodePluginTable record.

        Parameters
        ----------
        data
            LiteLLM_ClaudeCodePluginTable record data
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The created LiteLLM_ClaudeCodePluginTable record

        Raises
        ------
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # create a LiteLLM_ClaudeCodePluginTable record from just the required fields
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().create(
            data={
                # data to create a LiteLLM_ClaudeCodePluginTable record
                'name': 'bdjgdjgicd',
            },
        )
        ```
        rK   rL   rM   NrF   rP   rQ   rS   r5   r5   r6   rK   k  ru   z+LiteLLM_ClaudeCodePluginTableActions.createrV   DList[types.LiteLLM_ClaudeCodePluginTableCreateWithoutRelationsInput]rW   rY   r   c                  rZ   )	a  Create multiple LiteLLM_ClaudeCodePluginTable records at once.

        This function is *not* available when using SQLite.

        Parameters
        ----------
        data
            List of LiteLLM_ClaudeCodePluginTable record data
        skip_duplicates
            Boolean flag for ignoring unique constraint errors

        Returns
        -------
        int
            The total number of records created

        Raises
        ------
        prisma.errors.UnsupportedDatabaseError
            Attempting to query when using SQLite
        prisma.errors.UniqueViolationError
            A unique constraint check has failed, these can be ignored with the `skip_duplicates` argument
        prisma.errors.MissingRequiredValueError
            Value is required but was not found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        total = await LiteLLM_ClaudeCodePluginTable.prisma().create_many(
            data=[
                {
                    # data to create a LiteLLM_ClaudeCodePluginTable record
                    'name': 'fajeeijge',
                },
                {
                    # data to create a LiteLLM_ClaudeCodePluginTable record
                    'name': 'haabcbdcf',
                },
            ],
            skip_duplicates=True,
        )
        ```
        r[   r\   r]   r_   r`   NrF   rP   rb   re   r5   r5   r6   r\     r  z0LiteLLM_ClaudeCodePluginTableActions.create_manyrg   3types.LiteLLM_ClaudeCodePluginTableWhereUniqueInputc                   ri   )a  Delete a single LiteLLM_ClaudeCodePluginTable record.

        Parameters
        ----------
        where
            LiteLLM_ClaudeCodePluginTable filter to select the record to be deleted, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The deleted LiteLLM_ClaudeCodePluginTable record
        None
            Could not find a record to delete

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().delete(
            where={
                'id': 'fjahchjha',
            },
        )
        ```
        rj   rk   rM   NrF   rP   rl   rn   r5   r5   r6   rj     ro   z+LiteLLM_ClaudeCodePluginTableActions.deletec                   rp   )a  Find a unique LiteLLM_ClaudeCodePluginTable record.

        Parameters
        ----------
        where
            LiteLLM_ClaudeCodePluginTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The found LiteLLM_ClaudeCodePluginTable record
        None
            No record matching the given input could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().find_unique(
            where={
                'id': 'fdieegcfj',
            },
        )
        ```
        rq   rk   rM   NrF   rP   rQ   rr   r5   r5   r6   rq     rs   z0LiteLLM_ClaudeCodePluginTableActions.find_uniquec                   rJ   )a/  Find a unique LiteLLM_ClaudeCodePluginTable record. Raises `RecordNotFoundError` if no record is found.

        Parameters
        ----------
        where
            LiteLLM_ClaudeCodePluginTable filter to find the record, must be unique
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The found LiteLLM_ClaudeCodePluginTable record

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().find_unique_or_raise(
            where={
                'id': 'biijhcbcaa',
            },
        )
        ```
        rt   rk   rM   NrF   rP   rQ   rn   r5   r5   r6   rt   C  ru   z9LiteLLM_ClaudeCodePluginTableActions.find_unique_or_raiserv   rw   rx   7Optional[types.LiteLLM_ClaudeCodePluginTableWhereInput]rz   =Optional[types.LiteLLM_ClaudeCodePluginTableWhereUniqueInput]r|   wOptional[Union[types.LiteLLM_ClaudeCodePluginTableOrderByInput, List[types.LiteLLM_ClaudeCodePluginTableOrderByInput]]]r~   BOptional[List[types.LiteLLM_ClaudeCodePluginTableScalarFieldKeys]]c           	        r   )	a  Find multiple LiteLLM_ClaudeCodePluginTable records.

        An empty list is returned if no records could be found.

        Parameters
        ----------
        take
            Limit the maximum number of LiteLLM_ClaudeCodePluginTable records returned
        skip
            Ignore the first N results
        where
            LiteLLM_ClaudeCodePluginTable filter to select records
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model
        order
            Order the returned LiteLLM_ClaudeCodePluginTable records by any field
        distinct
            Filter LiteLLM_ClaudeCodePluginTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        List[prisma.models.LiteLLM_ClaudeCodePluginTable]
            The list of all LiteLLM_ClaudeCodePluginTable records that could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the first 10 LiteLLM_ClaudeCodePluginTable records
        litellm_claudecodeplugintables = await LiteLLM_ClaudeCodePluginTable.prisma().find_many(take=10)

        # find the first 5 LiteLLM_ClaudeCodePluginTable records ordered by the version field
        litellm_claudecodeplugintables = await LiteLLM_ClaudeCodePluginTable.prisma().find_many(
            take=5,
            order={
                'version': 'desc',
            },
        )
        ```
        r   r   rM   Nc                   r   r5   r   r   r   r5   r6   r     r   zBLiteLLM_ClaudeCodePluginTableActions.find_many.<locals>.<listcomp>rF   rP   r   r   r5   r   r6   r   s  r   z.LiteLLM_ClaudeCodePluginTableActions.find_manyc           	   
     r   )a  Find a single LiteLLM_ClaudeCodePluginTable record.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ClaudeCodePluginTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model
        order
            Order the returned LiteLLM_ClaudeCodePluginTable records by any field
        distinct
            Filter LiteLLM_ClaudeCodePluginTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The first LiteLLM_ClaudeCodePluginTable record found, matching the given arguments
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ClaudeCodePluginTable record ordered by the description field
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().find_first(
            skip=1,
            order={
                'description': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z/LiteLLM_ClaudeCodePluginTableActions.find_firstc              
     r   )a  Find a single LiteLLM_ClaudeCodePluginTable record. Raises `RecordNotFoundError` if no record was found.

        Parameters
        ----------
        skip
            Ignore the first N records
        where
            LiteLLM_ClaudeCodePluginTable filter to select the record
        cursor
            Specifies the position in the list to start returning results from, (typically an ID field)
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model
        order
            Order the returned LiteLLM_ClaudeCodePluginTable records by any field
        distinct
            Filter LiteLLM_ClaudeCodePluginTable records by either a single distinct field or distinct combinations of fields

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The first LiteLLM_ClaudeCodePluginTable record found, matching the given arguments

        Raises
        ------
        prisma.errors.RecordNotFoundError
            No record was found
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # find the second LiteLLM_ClaudeCodePluginTable record ordered by the manifest_json field
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().find_first_or_raise(
            skip=1,
            order={
                'manifest_json': 'desc',
            },
        )
        ```
        r   r   rM   NrF   rP   rQ   r   r5   r5   r6   r     r   z8LiteLLM_ClaudeCodePluginTableActions.find_first_or_raise.types.LiteLLM_ClaudeCodePluginTableUpdateInputc                   r   )aQ  Update a single LiteLLM_ClaudeCodePluginTable record.

        Parameters
        ----------
        data
            LiteLLM_ClaudeCodePluginTable record data specifying what to update
        where
            LiteLLM_ClaudeCodePluginTable filter to select the unique record to create / update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The updated LiteLLM_ClaudeCodePluginTable record
        None
            No record could be found

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().update(
            where={
                'id': 'bacafajjcj',
            },
            data={
                # data to update the LiteLLM_ClaudeCodePluginTable record to
            },
        )
        ```
        r   r   rM   NrF   rP   rl   r   r5   r5   r6   r   >  r   z+LiteLLM_ClaudeCodePluginTableActions.update.types.LiteLLM_ClaudeCodePluginTableUpsertInputc              	     r   )	a   Updates an existing record or create a new one

        Parameters
        ----------
        where
            LiteLLM_ClaudeCodePluginTable filter to select the unique record to create / update
        data
            Data specifying what fields to set on create and update
        include
            Specifies which relations should be loaded on the returned LiteLLM_ClaudeCodePluginTable model

        Returns
        -------
        prisma.models.LiteLLM_ClaudeCodePluginTable
            The created or updated LiteLLM_ClaudeCodePluginTable record

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python
        prisma.errors.MissingRequiredValueError
            Value is required but was not found

        Example
        -------
        ```py
        litellm_claudecodeplugintable = await LiteLLM_ClaudeCodePluginTable.prisma().upsert(
            where={
                'id': 'jjiigehfa',
            },
            data={
                'create': {
                    'id': 'jjiigehfa',
                    'name': 'haabcbdcf',
                },
                'update': {
                    'name': 'haabcbdcf',
                },
            },
        )
        ```
        r   rK   r   r   rM   NrF   rP   r   r   r5   r5   r6   r   w  r  z+LiteLLM_ClaudeCodePluginTableActions.upsert:types.LiteLLM_ClaudeCodePluginTableUpdateManyMutationInput-types.LiteLLM_ClaudeCodePluginTableWhereInputc                   r   )az  Update multiple LiteLLM_ClaudeCodePluginTable records

        Parameters
        ----------
        data
            LiteLLM_ClaudeCodePluginTable data to update the selected LiteLLM_ClaudeCodePluginTable records to
        where
            Filter to select the LiteLLM_ClaudeCodePluginTable records to update

        Returns
        -------
        int
            The total number of LiteLLM_ClaudeCodePluginTable records that were updated

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # update all LiteLLM_ClaudeCodePluginTable records
        total = await LiteLLM_ClaudeCodePluginTable.prisma().update_many(
            data={
                'files_json': 'bfajgfhhf'
            },
            where={}
        )
        ```
        r   r   r_   r`   NrF   rP   r   r   r5   r5   r6   r     r   z0LiteLLM_ClaudeCodePluginTableActions.update_manyr   c                   r   )a  Count the number of LiteLLM_ClaudeCodePluginTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ClaudeCodePluginTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ClaudeCodePluginTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ClaudeCodePluginTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ClaudeCodePluginTable.prisma().count()

        # results: prisma.types.LiteLLM_ClaudeCodePluginTableCountAggregateOutput
        results = await LiteLLM_ClaudeCodePluginTable.prisma().count(
            select={
                '_all': True,
                'enabled': True,
            },
        )
        ```
        Nr5   r   r5   r5   r6   r_     r   z*LiteLLM_ClaudeCodePluginTableActions.count6types.LiteLLM_ClaudeCodePluginTableCountAggregateInput7types.LiteLLM_ClaudeCodePluginTableCountAggregateOutputc                   r   r2   r5   r   r5   r5   r6   r_     r   @Optional[types.LiteLLM_ClaudeCodePluginTableCountAggregateInput]CUnion[int, types.LiteLLM_ClaudeCodePluginTableCountAggregateOutput]c                   r   )a  Count the number of LiteLLM_ClaudeCodePluginTable records present in the database

        Parameters
        ----------
        select
            Select the LiteLLM_ClaudeCodePluginTable fields to be counted
        take
            Limit the maximum result
        skip
            Ignore the first N records
        where
            LiteLLM_ClaudeCodePluginTable filter to find records
        cursor
            Specifies the position in the list to start counting results from, (typically an ID field)
        order
            This parameter is deprecated and will be removed in a future release

        Returns
        -------
        int
            The total number of records found, returned if `select` is not given

        prisma.types.LiteLLM_ClaudeCodePluginTableCountAggregateOutput
            Data returned when `select` is used, the fields present in this dictionary will
            match the fields passed in the `select` argument

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # total: int
        total = await LiteLLM_ClaudeCodePluginTable.prisma().count()

        # results: prisma.types.LiteLLM_ClaudeCodePluginTableCountAggregateOutput
        results = await LiteLLM_ClaudeCodePluginTable.prisma().count(
            select={
                '_all': True,
                'created_at': True,
            },
        )
        ```
        r   r   r   c                 s  r   r   r5   r   r5   r5   r6   r   d  r   z=LiteLLM_ClaudeCodePluginTableActions.count.<locals>.<genexpr>r_   r   r`   NrF   rP   r   r   )
r   r   r   r*   rR   r+   r   r   r   1LiteLLM_ClaudeCodePluginTableCountAggregateOutputr   r5   r5   r6   r_   #  r   c                   r   )a  Delete multiple LiteLLM_ClaudeCodePluginTable records.

        Parameters
        ----------
        where
            Optional LiteLLM_ClaudeCodePluginTable filter to find the records to be deleted

        Returns
        -------
        int
            The total number of LiteLLM_ClaudeCodePluginTable records that were deleted

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # delete all LiteLLM_ClaudeCodePluginTable records
        total = await LiteLLM_ClaudeCodePluginTable.prisma().delete_many()
        ```
        r   rg   r_   r`   NrF   rP   r   r   r5   r5   r6   r   x  r   z0LiteLLM_ClaudeCodePluginTableActions.delete_manyr   r   :List['types.LiteLLM_ClaudeCodePluginTableScalarFieldKeys']9Optional['types.LiteLLM_ClaudeCodePluginTableWhereInput']r   @Optional['types.LiteLLM_ClaudeCodePluginTableAvgAggregateInput']r   @Optional['types.LiteLLM_ClaudeCodePluginTableSumAggregateInput']r   @Optional['types.LiteLLM_ClaudeCodePluginTableMinAggregateInput']r   @Optional['types.LiteLLM_ClaudeCodePluginTableMaxAggregateInput']r   MOptional['types.LiteLLM_ClaudeCodePluginTableScalarWhereWithAggregatesInput']r_   OOptional[Union[bool, 'types.LiteLLM_ClaudeCodePluginTableCountAggregateInput']]Optional[Union[Mapping['types.LiteLLM_ClaudeCodePluginTableScalarFieldKeys', 'types.SortOrder'], List[Mapping['types.LiteLLM_ClaudeCodePluginTableScalarFieldKeys', 'types.SortOrder']]]]8List['types.LiteLLM_ClaudeCodePluginTableGroupByOutput']c       
      
     r   )a  Group LiteLLM_ClaudeCodePluginTable records by one or more field values and perform aggregations
        each group such as finding the average.

        Parameters
        ----------
        by
            List of scalar LiteLLM_ClaudeCodePluginTable fields to group records by
        where
            LiteLLM_ClaudeCodePluginTable filter to select records
        take
            Limit the maximum number of LiteLLM_ClaudeCodePluginTable records returned
        skip
            Ignore the first N records
        avg
            Adds the average of all values of the specified fields to the `_avg` field
            in the returned data.
        sum
            Adds the sum of all values of the specified fields to the `_sum` field
            in the returned data.
        min
            Adds the smallest available value for the specified fields to the `_min` field
            in the returned data.
        max
            Adds the largest available value for the specified fields to the `_max` field
            in the returned data.
        count
            Adds a count of non-fields to the `_count` field in the returned data.
        having
            Allows you to filter groups by an aggregate value - for example only return
            groups having an average age less than 50.
        order
            Lets you order the returned list by any property that is also present in `by`.
            Only **one** field is allowed at a time.

        Returns
        -------
        List[prisma.types.LiteLLM_ClaudeCodePluginTableGroupByOutput]
            A list of dictionaries representing the LiteLLM_ClaudeCodePluginTable record,
            this will also have additional fields present if aggregation arguments
            are used (see the above parameters)

        Raises
        ------
        prisma.errors.PrismaError
            Catch all for every exception raised by Prisma Client Python

        Example
        -------
        ```py
        # group LiteLLM_ClaudeCodePluginTable records by updated_at values
        # and count how many records are in each group
        results = await LiteLLM_ClaudeCodePluginTable.prisma().group_by(
            ['updated_at'],
            count=True,
        )
        ```
        Nr   r   r   r   r   r   Tr   r   r   r   r`   rF   rP   r   r   r5   r5   r6   r     r   z-LiteLLM_ClaudeCodePluginTableActions.group_byr   r   r   r2   )rF   r  rH   r  r/   r%   )rF   r  rW   rY   r/   r   )rg   r  rH   r  r/   rB   )rg   r  rH   r  r/   r%   r   )rv   rw   rx   rw   rg   r   rz   r!  rH   r  r|   r"  r~   r#  r/   r<   r   )rx   rw   rg   r   rz   r!  rH   r  r|   r"  r~   r#  r/   rB   )rx   rw   rg   r   rz   r!  rH   r  r|   r"  r~   r#  r/   r%   )rF   r$  rg   r  rH   r  r/   rB   )rg   r  rF   r%  rH   r  r/   r%   )rF   r&  rg   r'  r/   r   r   )r   r0   rv   rw   rx   rw   rg   r   rz   r!  r/   r   r   )r   r(  rv   rw   rx   rw   rg   r   rz   r!  r/   r)  )r   r*  rv   rw   rx   rw   rg   r   rz   r!  r/   r+  )rg   r   r/   r   )r   r-  rg   r.  rv   rw   rx   rw   r   r/  r   r0  r   r1  r   r2  r   r3  r_   r4  r|   r5  r/   r6  r   r5   r5   r5   r6   r    r  r  rootr   r   Mapping[str, Any]r/   c                 C  s"   | d ddd | D  S )zHelper to build a GraphQL selection string

    This is a work around until field selection is added to the query builder.
    z
 {{ {0} }}r   c                 s  r   r   r5   r   r5   r5   r6   r     r   z!_select_fields.<locals>.<genexpr>)r   r   r   )r7  r   r5   r5   r6   r     s   "r   )models)r7  r   r   r8  r/   r   )o
__future__r   builtinsr   _boolr   _intr   _floatr   _strsysdecimaldatetimetypingr   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   typing_extensionsr   r   r:   warnings r   r   r    _compatr!   
_constantsr"   r,   r#   r$   r%   r(   r   r  r;  rW  rs  r  r  r  r  r  r#  r?  r_  r{  r  r  r  r  r  r#  r@  r\  rx  r  r  r  r  r	  r%  rA  r]  ry  r  r  r  r  r  r"  r>  rZ  rv  r  r  r  r  r  r  r;  rW  rs  r  r  r  r  r  r  r   r9  r5   r5   r5   r6   <module>   s.  X                                                                                                                                                                                                                                                                                                                 
                                                                                                        
                                                
	