Răsfoiți Sursa

trivial: fix provider type annotations

This change fixes the provider "replicate_disks" type annotations:
"volumes_info" contains the wrong type and "source_environment"
doesn't have a type annotation.
Lucian Petrut 1 lună în urmă
părinte
comite
29b3bfe07c
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      coriolis/providers/base.py

+ 2 - 2
coriolis/providers/base.py

@@ -899,10 +899,10 @@ class BaseReplicaExportProvider(BaseExportInstanceProvider):
         connection_info: dict,
         source_environment: dict,
         instance_name: str,
-        source_resources,
+        source_resources: dict,
         source_conn_info: dict,
         target_conn_info: dict,
-        volumes_info: list[bool],
+        volumes_info: list[dict],
         incremental: bool,
     ) -> list[dict]:
         """Replicate instance disks to the destination platform.