get info whether credentials are stored or not
we are using python sdk and self hosted novu, is there away to pull updated subscriber specific credentials. For slack integration novu will manage updating credentials but how can application know that its updated.
by @prathap_14114
8 Replies
Hi @prathap_14114
you can call this API equivalent https://docs.novu.co/api/get-subscriber/ in python sdk before triggering to subscriber
Hi @Pawan Jain ,
Yes I tried, there is a subscriber.get() api it gives us other information like firstname, lastname, email etc but not credentials.
we have subscriber.credentials api which is PUT api we can use it for update the subscriber credentials.
As python sdk is community maintained sdk
I feel there is some issue in python sdk subscriber.get() method dto
because subscriber.get() is using this api https://docs.novu.co/api/get-subscriber/ and it should return credentials info as well
Can you please create a bug on python repo please?
https://github.com/novuhq/novu-python/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=
Oh yes, its missing in subscriberDto, Yea will create bug report there, Thanks
@prathap_14114, you just advanced to level 3!
Thanks
Here the reported issue
https://github.com/novuhq/novu-python/issues/52
GitHub
SubscriberApi. get() not returning credentials, field is missing i...
we are using python sdk and self hosted novu, we have api for updating subscriber credentials but we don't have api to get those updated credentials info whether credentials are stored or not. ...
Thanks Prathap 🙏🏻