GetStream / stream-python

Python Client - Build Activity Feeds & Streams with GetStream.io
https://getstream.io
BSD 3-Clause "New" or "Revised" License
142 stars 40 forks source link

Drop undocumented create_user_session_token #102

Closed ferhatelmas closed 4 years ago

ferhatelmas commented 4 years ago

This method on client is exactly same with create_user_token and the implementation delegates to create_user_token and it is undocumented.

To keep the code clean, dropped it.

pterk commented 4 years ago

It's an old name. I kept it in there so old code would continue to work. The fix is of course easy and I suppose obvious when it is removed. A deprecation warning might be overkill? What do you think?

ferhatelmas commented 4 years ago

I will merge this while dropping py2 and will bump a major.