File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class File(BaseModel):
18
18
description (str): The description of the file.
19
19
directory_label (str): The label of the directory where the file is stored.
20
20
mimeType (str): The MIME type of the file.
21
- categories (List[str]): The categories associated with the file.
21
+ categories (Optional[ List[str] ]): The categories associated with the file.
22
22
restrict (bool): Indicates if the file is restricted.
23
23
checksum_type (ChecksumTypes): The type of checksum used for the file.
24
24
storageIdentifier (Optional[str]): The identifier of the storage where the file is stored.
@@ -46,7 +46,7 @@ class File(BaseModel):
46
46
description : str = ""
47
47
directory_label : str = Field (default = "" , alias = "directoryLabel" )
48
48
mimeType : str = "application/octet-stream"
49
- categories : List [str ] = ["DATA" ]
49
+ categories : Optional [ List [str ] ] = ["DATA" ]
50
50
restrict : bool = False
51
51
checksum_type : ChecksumTypes = Field (default = ChecksumTypes .MD5 , exclude = True )
52
52
storageIdentifier : Optional [str ] = None
You can’t perform that action at this time.
0 commit comments