|
11 | 11 | from .handlers.parse_raw_message import parse_raw_message |
12 | 12 | from .handlers.is_event import is_event |
13 | 13 |
|
14 | | -from .abstract_base_client import AbstractBaseClient |
15 | 14 | from .errors.custom_error import CustomError |
16 | 15 | from .errors.internal_error import InternalError |
17 | 16 | from .errors.invalid_parameter_error import InvalidParameterError |
|
33 | 32 | T = TypeVar('T') |
34 | 33 |
|
35 | 34 |
|
36 | | -class Client(AbstractBaseClient): |
| 35 | +class Client(): |
37 | 36 | def __init__( |
38 | 37 | self, |
39 | 38 | base_url: str, |
@@ -164,7 +163,7 @@ async def read_events( |
164 | 163 | options: ReadEventsOptions |
165 | 164 | ) -> AsyncGenerator[Event]: |
166 | 165 | async def __read_events( |
167 | | - client: AbstractBaseClient, |
| 166 | + client: Client, |
168 | 167 | subject: str, |
169 | 168 | options: ReadEventsOptions |
170 | 169 | ) -> AsyncGenerator[Event]: |
@@ -244,7 +243,7 @@ async def observe_events( |
244 | 243 | options: ObserveEventsOptions |
245 | 244 | ) -> AsyncGenerator[Event]: |
246 | 245 | async def __observe_events( |
247 | | - client: AbstractBaseClient, |
| 246 | + client: Client, |
248 | 247 | subject: str, |
249 | 248 | options: ObserveEventsOptions |
250 | 249 | ) -> AsyncGenerator[Event]: |
@@ -338,7 +337,7 @@ async def read_subjects( |
338 | 337 | base_subject: str |
339 | 338 | ) -> AsyncGenerator[str]: |
340 | 339 | async def __read_subjects( |
341 | | - client: AbstractBaseClient, |
| 340 | + client: Client, |
342 | 341 | base_subject: str |
343 | 342 | ) -> AsyncGenerator[str]: |
344 | 343 | request_body = json.dumps({ |
@@ -383,7 +382,7 @@ async def __read_subjects( |
383 | 382 |
|
384 | 383 | async def read_event_types(self) -> AsyncGenerator[EventType]: |
385 | 384 | async def __read_event_types( |
386 | | - client: AbstractBaseClient, |
| 385 | + client: Client, |
387 | 386 | ) -> AsyncGenerator[EventType]: |
388 | 387 | response: Response |
389 | 388 | try: |
|
0 commit comments