Deprecate upload_option in LibraryContentsCreatePayload

This commit is contained in:
Arash
2024-10-07 14:20:16 +02:00
parent 45feaa37d0
commit 800e96fa5c
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -13112,6 +13112,7 @@ export interface components {
*/
tags: string[];
/**
* @deprecated
* @description the method to use for uploading files
* @default upload_file
*/
@@ -13289,6 +13290,7 @@ export interface components {
/** list of the uploaded files */
upload_files?: Record<string, never>[] | null;
/**
* @deprecated
* @description the method to use for uploading files
* @default upload_file
*/
@@ -13352,6 +13354,7 @@ export interface components {
*/
tags: string[];
/**
* @deprecated
* @description the method to use for uploading files
* @default upload_file
*/
+1
View File
@@ -57,6 +57,7 @@ class LibraryContentsCreatePayload(Model):
upload_option: UploadOption = Field(
UploadOption.upload_file,
description="the method to use for uploading files",
deprecated=True,
)
folder_id: LibraryFolderDatabaseIdField = Field(
...,