pep8 + custom serializer#1
Conversation
* PEP8 formating * Add a custom serializer for the message
|
I would 👍 this commit, except I need the deserializer to be replaceable as well. In my case, I am handling money, so I need my JSON numbers to be |
|
@gilles we've recently pushed an entire re-write of the client lib. Have you had a chance to take a look at it? PEP8 should be handled now, and let us know if you'd be willing to port your customer serializer logic to the new version as well. |
|
So, I think I'm digging up some ancient history, but I'm interested in the custom serializer bit here. I have swept through the latest code and added attributes on the PN classes for a serializer and deserializer callable, using them in place of Anyway, I'd be glad to finish up my version of this change and submit a fresh PR if that would be useful in y'alls eyes. |
|
@josefdlange do you mind emailing support@pubnub.com so we can chat with you more about your use case, so we can research how we could productize this correctly for you (and others)? |
Presence interval event
Hi,
This pull request contains 2 things:
Unfortunately I can't run the unit test. Pubnub retrurns a 400 without other explanation, even when I try on master (and with my keys)
I also have a couple of remarks:
Both of these changes break the API so it should go in a 4.X version
Let me know of you're interested.
Thanks
--Gilles