Please check the following code in adbutils_device.py:
def logcat(self,
file: StrOrPathLike = None,
clear: bool = False,
re_filter: typing.Union[str, re.Pattern] = None,
command: str = "logcat -v time") -> StopEvent:
There is no re.Pattern in re module, here re pattern is needed, so pls consider to use re.compile instead, since re.compile(pattern, flag=0) return a Pattern object.
I hope my comment would be read soon, and look forward to hearing from you.
Thanks
Hi, team
Please check the following code in adbutils_device.py: def logcat(self, file: StrOrPathLike = None, clear: bool = False, re_filter: typing.Union[str, re.Pattern] = None, command: str = "logcat -v time") -> StopEvent:
There is no re.Pattern in re module, here re pattern is needed, so pls consider to use re.compile instead, since re.compile(pattern, flag=0) return a Pattern object. I hope my comment would be read soon, and look forward to hearing from you. Thanks