Media asset
Media Asset Module
Defines the MediaAsset class for handling media file paths within assets.
MediaAsset #
Bases: BaseAsset
MediaAsset Class
Represents a media asset by storing the file path.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
The file system path to the media asset. |
required |
Raises:
Type | Description |
---|---|
FileNotFoundError
|
If the provided file path does not exist. |
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
str
|
The file system path to the media asset. |
required |
Raises:
Type | Description |
---|---|
FileNotFoundError
|
If the provided file path does not exist. |