mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-13 04:06:56 +00:00
d74dd967af
Convert hardcoded string file extensions into a well-defined Python enum. Improves type safety and centralizes extension definitions for better maintainability and consistency across the codebase. It was dirty manipulating literals for file extension validation …
11 lines
175 B
Python
11 lines
175 B
Python
"""Enums related to recordings."""
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class FileExtension(Enum):
|
|
"""Enum for file extensions used in recordings."""
|
|
|
|
OGG = "ogg"
|
|
MP4 = "mp4"
|