Conversation
|
Hey thanks for the PR, i wasn't aware that this could result in a warning. I'd like to read more about it, would you mind providing resources related to the warning? Does |
|
You can reproduce the issue like this. This is Then run:
But I can change it to |
|
Okay i see it is a mypy warning... that is why i didn't see it in my test setup. Yes please change it to the |
The previous code did not export the Sqids class leading to private import usage warnings when using `from sqids import Sqids`. One could work around it by using `from sqids.sqids import Sqids`. This workaround is now no longer necessary.
7f42dd2 to
39444d2
Compare
|
done |
|
I will take a look at this tomorrow... 😅 |
|
Possible to release a new version to correct this ? :) |
|
Done. |
The previous code did not export the Sqids class leading to private import usage warnings when using
from sqids import Sqids. One could work around it by usingfrom sqids.sqids import Sqids. This workaround is now no longer necessary.