Initialize deprecated async tappd client wrapper.
(
self,
endpoint: str | None = None,
*,
use_sync_http: bool = False,
timeout: float = 3,
)
| 641 | """ |
| 642 | |
| 643 | def __init__( |
| 644 | self, |
| 645 | endpoint: str | None = None, |
| 646 | *, |
| 647 | use_sync_http: bool = False, |
| 648 | timeout: float = 3, |
| 649 | ): |
| 650 | """Initialize deprecated async tappd client wrapper.""" |
| 651 | if not use_sync_http: |
| 652 | # Already warned in TappdClient.__init__ |
| 653 | emit_deprecation_warning( |
| 654 | "AsyncTappdClient is deprecated, please use AsyncDstackClient instead" |
| 655 | ) |
| 656 | |
| 657 | endpoint = get_tappd_endpoint(endpoint) |
| 658 | super().__init__(endpoint, use_sync_http=use_sync_http, timeout=timeout) |
| 659 | # Set the correct path prefix for tappd |
| 660 | self.PATH_PREFIX = "/prpc/Tappd." |
| 661 | |
| 662 | async def derive_key( |
| 663 | self, |
nothing calls this directly
no test coverage detected