vaphes / pocketbase

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

Support options like expand, filter or fields in subscribe method #103

Open Branquo opened 1 week ago

Branquo commented 1 week ago

The JavaScript SDK for PocketBase allows users to subscribe to real-time changes in collections with an optional expand parameter, which enables fetching related fields automatically within the subscription data. As far as I can tell, this feature is currently missing in the Python SDK, where the subscribe method does not support expand, or filter, or fields as an option. See ganigeorgiev's comment on the issue Also: See in official documentation for realtime API SDK

vaphes commented 1 week ago

I've been a little outdated on the latest releases from the js sdk. I'll check it and try to port it.

Thanks for pointing it!