mirror of
https://github.com/fuckpiracyshield/service.git
synced 2024-05-20 05:56:17 +02:00
38 lines
800 B
Python
38 lines
800 B
Python
from __future__ import annotations
|
|
|
|
from piracyshield_service.base import BaseService
|
|
|
|
from piracyshield_data_model.forensic.format.model import ForensicFormatsModel
|
|
|
|
class ForensicGetSupportedFormatsService(BaseService):
|
|
|
|
"""
|
|
Supported formats for the forensic evidence archive.
|
|
"""
|
|
|
|
def __init__(self):
|
|
"""
|
|
Inizialize logger and required modules.
|
|
"""
|
|
|
|
super().__init__()
|
|
|
|
def execute(self) -> list | Exception:
|
|
"""
|
|
:return: a list of strings representing the supported archives.
|
|
"""
|
|
|
|
return ForensicFormatsModel().get_formats()
|
|
|
|
def _validate_parameters(self):
|
|
pass
|
|
|
|
def _schedule_task(self):
|
|
pass
|
|
|
|
def _prepare_configs(self):
|
|
pass
|
|
|
|
def _prepare_modules(self):
|
|
pass
|