@@ -370,7 +370,7 @@ def upload_file(
370370 self ,
371371 id : str ,
372372 * ,
373- file_input_stream : FileTypes | NotGiven = NOT_GIVEN ,
373+ file : FileTypes | NotGiven = NOT_GIVEN ,
374374 path : str | NotGiven = NOT_GIVEN ,
375375 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
376376 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -397,7 +397,7 @@ def upload_file(
397397 f"/v1/devboxes/{ id } /upload_file" ,
398398 body = maybe_transform (
399399 {
400- "file_input_stream " : file_input_stream ,
400+ "file " : file ,
401401 "path" : path ,
402402 },
403403 devbox_upload_file_params .DevboxUploadFileParams ,
@@ -781,7 +781,7 @@ async def upload_file(
781781 self ,
782782 id : str ,
783783 * ,
784- file_input_stream : FileTypes | NotGiven = NOT_GIVEN ,
784+ file : FileTypes | NotGiven = NOT_GIVEN ,
785785 path : str | NotGiven = NOT_GIVEN ,
786786 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
787787 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -808,7 +808,7 @@ async def upload_file(
808808 f"/v1/devboxes/{ id } /upload_file" ,
809809 body = await async_maybe_transform (
810810 {
811- "file_input_stream " : file_input_stream ,
811+ "file " : file ,
812812 "path" : path ,
813813 },
814814 devbox_upload_file_params .DevboxUploadFileParams ,
0 commit comments