Initialize deprecated tappd client wrapper.
(self, endpoint: str | None = None, timeout: float = 3)
| 726 | """ |
| 727 | |
| 728 | def __init__(self, endpoint: str | None = None, timeout: float = 3): |
| 729 | """Initialize deprecated tappd client wrapper.""" |
| 730 | emit_deprecation_warning( |
| 731 | "TappdClient is deprecated, please use DstackClient instead" |
| 732 | ) |
| 733 | endpoint = get_tappd_endpoint(endpoint) |
| 734 | self.async_client = AsyncTappdClient( |
| 735 | endpoint, use_sync_http=True, timeout=timeout |
| 736 | ) |
| 737 | |
| 738 | @call_async |
| 739 | def derive_key( |
no test coverage detected