mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
* style: deactivate PLC0415 only on part that it's ok + re-run pre-commit run --all * ci: add pre-commit hook * build: move from yarn to pnpm * build: move from yarn to pnpm * build: fix node-version * ci: install pnpm prior node (?) * build: update deps and pnpm trying to fix vercel build * feat: docker www corepack * style: pre-commit --------- Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
18 lines
478 B
Python
18 lines
478 B
Python
from .base import Storage # noqa
|
|
from reflector.settings import settings
|
|
|
|
|
|
def get_transcripts_storage() -> Storage:
|
|
assert settings.TRANSCRIPT_STORAGE_BACKEND
|
|
return Storage.get_instance(
|
|
name=settings.TRANSCRIPT_STORAGE_BACKEND,
|
|
settings_prefix="TRANSCRIPT_STORAGE_",
|
|
)
|
|
|
|
|
|
def get_recordings_storage() -> Storage:
|
|
return Storage.get_instance(
|
|
name=settings.RECORDING_STORAGE_BACKEND,
|
|
settings_prefix="RECORDING_STORAGE_",
|
|
)
|