Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed May 19, 2021
1 parent 7b98681 commit 58503c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions uiautomator2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ def __init__(self, clnt: "_BaseClient"):
self.__client = clnt

def request(self, method, url, **kwargs):
"""
Raises:
RuntimeError
"""
retry = kwargs.pop("retry", True)
try:
# may raise adbutils.AdbError when device offline
Expand Down

0 comments on commit 58503c8

Please sign in to comment.