feat(hosted-file): add filename_no_ext and filename_w_ext to Hosted_File_Base model
This commit is contained in:
@@ -27,6 +27,8 @@ class Hosted_File_Base(BaseModel):
|
|||||||
|
|
||||||
subdirectory_path: Optional[str] = Field(None, exclude=True) # 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]
|
filename: Optional[str]
|
||||||
|
filename_no_ext: Optional[str]
|
||||||
|
filename_w_ext: Optional[str]
|
||||||
extension: Optional[str]
|
extension: Optional[str]
|
||||||
content_type: Optional[str]
|
content_type: Optional[str]
|
||||||
mimetype: Optional[str]
|
mimetype: Optional[str]
|
||||||
|
|||||||
Reference in New Issue
Block a user