
    tni	
                     L    d Z 	 	 	 	 	 	 	 	 ddededededed	ed
edededefdZdS )z. Runpod | API Wrapper | Mutations | Templates N
   Fname
image_namedocker_start_cmdcontainer_disk_in_gbvolume_in_gbvolume_mount_pathportsenvis_serverlessregistry_auth_idc
                    d|  dd| dg}
|0|                     dd          }|
                    d| d           n|
                    d           |
                    d|            ||
                    d	|            n|
                    d
           ||
                    d| d           |0|                     dd          }|
                    d| d           n|
                    d           |Kd                    d |                                D                       }|
                    d| d           n|
                    d           |r|
                    d           n|
                    d           |	|
                    d|	 d           n|
                    d           |
                    d           d                    |
          }d| dS )zFGenerate a string for a GraphQL mutation to create a new pod template.zname: ""zimageName: "Nz\"zdockerArgs: "zdockerArgs: ""zcontainerDiskInGb: zvolumeInGb: zvolumeInGb: 0zvolumeMountPath: "  zports: "z	ports: ""z, c                 &    g | ]\  }}d | d| dS )z{ key: "z", value: "z" } ).0keyvalues      [/var/www/html/gpu-tools/venv/lib/python3.11/site-packages/runpod/api/mutations/templates.py
<listcomp>z)generate_pod_template.<locals>.<listcomp>.   s0    SSSe444444SSS    zenv: []zenv: []zisServerless: truezisServerless: falsezcontainerRegistryAuthId : "zcontainerRegistryAuthId : "")zstartSsh: truezisPublic: falsez
readme: ""zK
    mutation {
        saveTemplate(
            input: {
                aB  
            }
        ) {
            id
            name
            imageName
            dockerArgs
            containerDiskInGb
            volumeInGb
            volumeMountPath
            ports
            env {
                key
                value
            }
            isServerless
        }
    }
    )replaceappendjoinitemsextend)r   r   r   r   r   r   r	   r
   r   r   input_fields
env_stringinput_fields_strings                r   generate_pod_templater"      sn    &d%%%'Cj'C'C'CDL #+33C???,<???@@@@,---D.BDDEEE9<99::::O,,,$E1BEEEFFFc2&&/u///0000K(((
YYSSsyy{{SSS
 

 	2Z2223333I&&& 3011111222#M:JMMMNNNN:;;;KLLL))L11 %	   r   )Nr   NNNNFN)__doc__strintdictboolr"   r   r   r   <module>r(      s    4 4 ! "! R R
RR R 	R
 R R R 
R R R R R R R Rr   