vaphes / pocketbase

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

Filters dont work v0.3.0-beta #15

Closed kiliangui closed 1 year ago

kiliangui commented 1 year ago

SDK Version : v0.3.0-beta

client.collection("col").get_list(1,50,{filter: 'channel_id = "567"'})

Excepted request : https://endpoint.example/api/collections/col/records?collections?filter=(shop_id='567')&page=1&perPage=50 request send : https://endpoint.example/api/collections/col/records?collections?<class 'filter'>=(shop_id='567')&page=1&perPage=50

kiliangui commented 1 year ago

oh ! my bad ! its {"filter":""} and not {filter:""} 🤌