22
33from __future__ import annotations
44
5+ from typing import Iterable
56from typing_extensions import Literal
67
78import httpx
@@ -61,6 +62,8 @@ def create(
6162 expires_after : container_create_params .ExpiresAfter | Omit = omit ,
6263 file_ids : SequenceNotStr [str ] | Omit = omit ,
6364 memory_limit : Literal ["1g" , "4g" , "16g" , "64g" ] | Omit = omit ,
65+ network_policy : container_create_params .NetworkPolicy | Omit = omit ,
66+ skills : Iterable [container_create_params .Skill ] | Omit = omit ,
6467 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6568 # The extra values given here take precedence over values defined on the client or passed to this method.
6669 extra_headers : Headers | None = None ,
@@ -80,6 +83,10 @@ def create(
8083
8184 memory_limit: Optional memory limit for the container. Defaults to "1g".
8285
86+ network_policy: Network access policy for the container.
87+
88+ skills: An optional list of skills referenced by id or inline data.
89+
8390 extra_headers: Send extra headers
8491
8592 extra_query: Add additional query parameters to the request
@@ -96,6 +103,8 @@ def create(
96103 "expires_after" : expires_after ,
97104 "file_ids" : file_ids ,
98105 "memory_limit" : memory_limit ,
106+ "network_policy" : network_policy ,
107+ "skills" : skills ,
99108 },
100109 container_create_params .ContainerCreateParams ,
101110 ),
@@ -143,6 +152,7 @@ def list(
143152 * ,
144153 after : str | Omit = omit ,
145154 limit : int | Omit = omit ,
155+ name : str | Omit = omit ,
146156 order : Literal ["asc" , "desc" ] | Omit = omit ,
147157 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
148158 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -164,6 +174,8 @@ def list(
164174 limit: A limit on the number of objects to be returned. Limit can range between 1 and
165175 100, and the default is 20.
166176
177+ name: Filter results by container name.
178+
167179 order: Sort order by the `created_at` timestamp of the objects. `asc` for ascending
168180 order and `desc` for descending order.
169181
@@ -187,6 +199,7 @@ def list(
187199 {
188200 "after" : after ,
189201 "limit" : limit ,
202+ "name" : name ,
190203 "order" : order ,
191204 },
192205 container_list_params .ContainerListParams ,
@@ -261,6 +274,8 @@ async def create(
261274 expires_after : container_create_params .ExpiresAfter | Omit = omit ,
262275 file_ids : SequenceNotStr [str ] | Omit = omit ,
263276 memory_limit : Literal ["1g" , "4g" , "16g" , "64g" ] | Omit = omit ,
277+ network_policy : container_create_params .NetworkPolicy | Omit = omit ,
278+ skills : Iterable [container_create_params .Skill ] | Omit = omit ,
264279 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
265280 # The extra values given here take precedence over values defined on the client or passed to this method.
266281 extra_headers : Headers | None = None ,
@@ -280,6 +295,10 @@ async def create(
280295
281296 memory_limit: Optional memory limit for the container. Defaults to "1g".
282297
298+ network_policy: Network access policy for the container.
299+
300+ skills: An optional list of skills referenced by id or inline data.
301+
283302 extra_headers: Send extra headers
284303
285304 extra_query: Add additional query parameters to the request
@@ -296,6 +315,8 @@ async def create(
296315 "expires_after" : expires_after ,
297316 "file_ids" : file_ids ,
298317 "memory_limit" : memory_limit ,
318+ "network_policy" : network_policy ,
319+ "skills" : skills ,
299320 },
300321 container_create_params .ContainerCreateParams ,
301322 ),
@@ -343,6 +364,7 @@ def list(
343364 * ,
344365 after : str | Omit = omit ,
345366 limit : int | Omit = omit ,
367+ name : str | Omit = omit ,
346368 order : Literal ["asc" , "desc" ] | Omit = omit ,
347369 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
348370 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -364,6 +386,8 @@ def list(
364386 limit: A limit on the number of objects to be returned. Limit can range between 1 and
365387 100, and the default is 20.
366388
389+ name: Filter results by container name.
390+
367391 order: Sort order by the `created_at` timestamp of the objects. `asc` for ascending
368392 order and `desc` for descending order.
369393
@@ -387,6 +411,7 @@ def list(
387411 {
388412 "after" : after ,
389413 "limit" : limit ,
414+ "name" : name ,
390415 "order" : order ,
391416 },
392417 container_list_params .ContainerListParams ,
0 commit comments