Skip to content

Commit 8a518ec

Browse files
committed
refactor: introduce ENDPOINTS attribute for API enpoints mapping registry on BaseAdapter
1 parent 42e64dd commit 8a518ec

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

easyswitch/adapters/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ class BaseAdapter(abc.ABC):
8787
PRODUCTION_URL: str = ""
8888
"""Production URL for the adapter."""
8989

90+
ENDPOINTS: Dict[str, str] = {}
91+
"""API endpoints for the adapter."""
92+
9093
SUPPORTED_CURRENCIES: List[Currency] = []
9194
"""List of supported currencies for the adapter."""
9295

0 commit comments

Comments
 (0)