vaphes / pocketbase

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

camelCase Row names become snake_case #92

Open maksp-glitch opened 1 month ago

maksp-glitch commented 1 month ago

I just started using the Pocketbase Python SDK for a machine learning tool i wanna build.

The Python SDK returns me an Record Model which i convert with vars(search_requests_record) to a dict. Then i stumbled upon the fact, that the python SDK gives me all my camelCase row names in snake_case back.

This is a real issue since all my pd.DataFrame checks have been written to fit the selected row names. Now i need to redo everything.

How come it converts to snake_case?