Resolve endpoint-local object dependencies
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from typing import Protocol
|
||||
|
||||
from .adapters import (
|
||||
ApplyResult,
|
||||
Capability,
|
||||
DiscoveredObject,
|
||||
Endpoint,
|
||||
@@ -17,7 +18,7 @@ class AdapterPlugin(Protocol):
|
||||
|
||||
def connect(self) -> None: ...
|
||||
def discover(self, object_type: str) -> list[DiscoveredObject]: ...
|
||||
def apply(self, action: PlanAction) -> str | None: ...
|
||||
def apply(self, action: PlanAction) -> ApplyResult | None: ...
|
||||
def verify(self, object: NormalizedObject) -> bool: ...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user