Skip to content

Commit

Permalink
Add backward compatible methods
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Sep 8, 2023
1 parent 4d7d9fa commit af2306b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions reportportal_client/aio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,12 @@ def log(self, time: str, message: str, level: Optional[Union[int, str]] = None,
attachment: Optional[Dict] = None, item_id: Optional[str] = None) -> None:
raise NotImplementedError('"log" method is not implemented!')

def start(self) -> None:
pass # For backward compatibility

def terminate(self, *_: Any, **__: Any) -> None:
pass # For backward compatibility


class AsyncRPClient(RPClient):
__client: _AsyncRPClient
Expand Down

0 comments on commit af2306b

Please sign in to comment.