It seems that Pycharm doesn't really grok sync_to_async. For example, in the following code:
@sync_to_async
def get_point(...) -> Point:
...
def other_func():
point = await get_point()
I get the warning Class 'Point' does not define '__await__' so the 'await' operator cannot be used on its instance.
What's the simplest way to add a correct type definition for sync_to_async? (Which is preferable to just ignoring the error)