vaphes / pocketbase

PocketBase client SDK for python
https://pypi.org/project/pocketbase/
MIT License
331 stars 38 forks source link

Incorrect last pocketbase version? #71

Closed moracabanas closed 11 months ago

moracabanas commented 11 months ago

I installed pocketbase with pip install pocketbase and pip freeze shows version 0.9.2

I notice the next error creating a collection from my custom collection loader: There was an error creating collection my_collection: SchemaField.__init__() got an unexpected keyword argument 'presentable'

I started researching and I found the installed library was lacking presentable from SchemaField dataclass in models/utils/schemafield as you can see:

image

But, the latest version on github (presumably 0.9.2) is showing this field:

image

Does anyone know why is my installed pocketbase shifted from the master branch?

I am also learning a lot from this project, trying to build my own "create collection if not exist" in a resilient way on my FastAPI application! Thanks!

moracabanas commented 11 months ago

Ok I found 0.9.2 was from 1 Sep whereas the presentable fix was from 15 Sep

image

Waiting for the update!