|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
|
|
class ExternalProviderRegistry:
|
|
def __init__(self, *, adapters: list[Any] | None = None) -> None:
|
|
self._adapters = list(adapters or [])
|
|
|
|
def iter_adapters(self) -> list[Any]:
|
|
return list(self._adapters)
|