T-baby / pondpond

Pond is a high performance object-pooling library for Python
https://qin.news/pond
Apache License 2.0
52 stars 2 forks source link

Type checker attribute error on import #5

Closed dineshbvadhia closed 8 months ago

dineshbvadhia commented 9 months ago

from pond import Pond, PooledObjectFactory, PooledObject

With mypy, errors are:

error: Module "pond" has no attribute "Pond"  [attr-defined]
error: Module "pond" has no attribute "PooledObjectFactory"  [attr-defined]
error: Module "pond" has no attribute "PooledObject"  [attr-defined]
T-baby commented 8 months ago

Thanks to the feedback, you can upgrade pondpond to version 1.3.3.