fix: add missing docstrings on get_facts, get_replication_jobs, get_quotas
This commit is contained in:
@@ -51,6 +51,7 @@ class OpenMediaVaultDriver(LinuxDriver):
|
|||||||
# ── Facts override ─────────────────────────────────────────────────────────
|
# ── Facts override ─────────────────────────────────────────────────────────
|
||||||
|
|
||||||
def get_facts(self) -> Dict[str, Any]:
|
def get_facts(self) -> Dict[str, Any]:
|
||||||
|
"""Return device facts, overriding OMV version from dpkg."""
|
||||||
facts = super().get_facts()
|
facts = super().get_facts()
|
||||||
try:
|
try:
|
||||||
ver = self._send(
|
ver = self._send(
|
||||||
@@ -507,9 +508,11 @@ class OpenMediaVaultDriver(LinuxDriver):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def get_replication_jobs(self) -> List[ReplicationJobDict]:
|
def get_replication_jobs(self) -> List[ReplicationJobDict]:
|
||||||
|
"""Return replication jobs (not supported on OpenMediaVault)."""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def get_quotas(self) -> List[StorageQuotaDict]:
|
def get_quotas(self) -> List[StorageQuotaDict]:
|
||||||
|
"""Return storage quotas (not supported on OpenMediaVault)."""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
# ── Internal helpers ───────────────────────────────────────────────────────
|
# ── Internal helpers ───────────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user