From a0998b470e5d8e07c91ec507f07b5dd6dfe920be Mon Sep 17 00:00:00 2001 From: Jakub Ziebinski Date: Thu, 28 Aug 2025 11:45:58 +0000 Subject: [PATCH] Add teardown method to the IHiveChainInterface --- python/wax/interfaces.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/wax/interfaces.py b/python/wax/interfaces.py index c8e5fd2fd..62cbb98ff 100644 --- a/python/wax/interfaces.py +++ b/python/wax/interfaces.py @@ -675,6 +675,10 @@ class IHiveChainInterface(IWaxBaseInterface, Generic[ApiCollectionT]): response = await extended_chain.api.my_custom_api.custom_endpoint() # With full intellisense support """ + @abstractmethod + def teardown(self) -> None: + """Call when work with API communication is over.""" + @abstractmethod async def create_transaction(self, expiration: TTimestamp | None = None) -> IOnlineTransaction: """ -- GitLab