V3 API: Enhance privacy by hiding internal file sharding paths and fix syntax in object definitions
This commit is contained in:
@@ -25,7 +25,7 @@ class Hosted_File_Base(BaseModel):
|
||||
|
||||
version: Optional[int]
|
||||
|
||||
subdirectory_path: Optional[str] # NOTE: This will frequently only contain numbers, but it still needs to be a string
|
||||
subdirectory_path: Optional[str] = Field(None, exclude=True) # NOTE: This will frequently only contain numbers, but it still needs to be a string
|
||||
filename: Optional[str]
|
||||
extension: Optional[str]
|
||||
content_type: Optional[str]
|
||||
|
||||
Reference in New Issue
Block a user