From 937247ab06368e7623bb2d2903ac02122a8dad53 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 16 Dec 2020 13:13:42 +1000 Subject: [PATCH] add type stub for _rsbridge to make PyCharm happy --- pylib/anki/_rsbridge.pyi | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pylib/anki/_rsbridge.pyi diff --git a/pylib/anki/_rsbridge.pyi b/pylib/anki/_rsbridge.pyi new file mode 100644 index 000000000..57068a376 --- /dev/null +++ b/pylib/anki/_rsbridge.pyi @@ -0,0 +1,10 @@ +from typing import Any + +def buildhash(*args, **kwargs) -> Any: ... +def open_backend(*args, **kwargs) -> Any: ... + +class Backend: + @classmethod + def __init__(self, *args, **kwargs) -> None: ... + def command(self, *args, **kwargs) -> Any: ... + def db_command(self, *args, **kwargs) -> Any: ...