fix: add missing docstrings on get_facts, get_replication_jobs, get_quotas

This commit is contained in:
Christian Manivong
2026-06-13 03:21:07 +02:00
parent 302c5b95cd
commit 07b68cd73f
+3
View File
@@ -51,6 +51,7 @@ class OpenMediaVaultDriver(LinuxDriver):
# ── Facts override ─────────────────────────────────────────────────────────
def get_facts(self) -> Dict[str, Any]:
"""Return device facts, overriding OMV version from dpkg."""
facts = super().get_facts()
try:
ver = self._send(
@@ -507,9 +508,11 @@ class OpenMediaVaultDriver(LinuxDriver):
)
def get_replication_jobs(self) -> List[ReplicationJobDict]:
"""Return replication jobs (not supported on OpenMediaVault)."""
raise NotImplementedError
def get_quotas(self) -> List[StorageQuotaDict]:
"""Return storage quotas (not supported on OpenMediaVault)."""
raise NotImplementedError
# ── Internal helpers ───────────────────────────────────────────────────────