gino icon indicating copy to clipboard operation
gino copied to clipboard

Pycharm IDE can not show some suggestions about Gino

Open duongvox99 opened this issue 3 years ago • 3 comments

My PyCharm IDE does not show any suggesstion which I see in documentation page of Gino. Anyone can help me to config IDE or any ways to fix it, please? Thank you very much.

Screenshot from 2021-01-22 16-28-03

duongvox99 avatar Jan 22 '21 09:01 duongvox99

+1

NWYLZW avatar Mar 03 '21 07:03 NWYLZW

Pycharm can use stubs for suggestions - https://www.jetbrains.com/help/pycharm/stubs.html and I found stubs for gino - https://github.com/bryanforbes/gino-stubs/ You could try to use this

mikekeda avatar Mar 03 '21 08:03 mikekeda

Thanks for all the comments!

As SQLAlchemy 1.4 is going to have experimental support on typing, let's try to include native typing support in GINO 1.4 (likely the next major release after 1.1) with dataclasses, or find a way to live together with SQLAlchemy ORM (or its mapper) in peace. Refs #688

fantix avatar Mar 21 '21 02:03 fantix