@@ -108,6 +108,7 @@ def create(
108108 name : str | NotGiven = NOT_GIVEN ,
109109 prebuilt : str | NotGiven = NOT_GIVEN ,
110110 setup_commands : List [str ] | NotGiven = NOT_GIVEN ,
111+ snapshot_id : str | NotGiven = NOT_GIVEN ,
111112 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
112113 # The extra values given here take precedence over values defined on the client or passed to this method.
113114 extra_headers : Headers | None = None ,
@@ -149,6 +150,8 @@ def create(
149150 fetching a tool or building your dependencies. Runloop will look optimize these
150151 steps for you.
151152
153+ snapshot_id: Snapshot ID to use for the Devbox.
154+
152155 extra_headers: Send extra headers
153156
154157 extra_query: Add additional query parameters to the request
@@ -172,6 +175,7 @@ def create(
172175 "name" : name ,
173176 "prebuilt" : prebuilt ,
174177 "setup_commands" : setup_commands ,
178+ "snapshot_id" : snapshot_id ,
175179 },
176180 devbox_create_params .DevboxCreateParams ,
177181 ),
@@ -641,6 +645,7 @@ async def create(
641645 name : str | NotGiven = NOT_GIVEN ,
642646 prebuilt : str | NotGiven = NOT_GIVEN ,
643647 setup_commands : List [str ] | NotGiven = NOT_GIVEN ,
648+ snapshot_id : str | NotGiven = NOT_GIVEN ,
644649 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
645650 # The extra values given here take precedence over values defined on the client or passed to this method.
646651 extra_headers : Headers | None = None ,
@@ -682,6 +687,8 @@ async def create(
682687 fetching a tool or building your dependencies. Runloop will look optimize these
683688 steps for you.
684689
690+ snapshot_id: Snapshot ID to use for the Devbox.
691+
685692 extra_headers: Send extra headers
686693
687694 extra_query: Add additional query parameters to the request
@@ -705,6 +712,7 @@ async def create(
705712 "name" : name ,
706713 "prebuilt" : prebuilt ,
707714 "setup_commands" : setup_commands ,
715+ "snapshot_id" : snapshot_id ,
708716 },
709717 devbox_create_params .DevboxCreateParams ,
710718 ),
0 commit comments