Skip to content

Conversation

@rodrigondec
Copy link
Contributor

Is better to calculate and provide a method to calculate the string values for device, os and browser instead of doing it directly on __str__ method.

This way the users may use those methods to get each data directly. Instead of having to make a user_agent.__str__().split('/') to get each value.

Is better to calculate and provide a method to calculate the string values for `device`, `os` and `browser` instead of doing it directly on `__str__` method. This way the users may use those methods to get each data directly. Instead of having to make a `user_agent.__str__().split('/')` to get each value
@rodrigondec
Copy link
Contributor Author

@selwin selwin merged commit 155c23d into selwin:master Aug 22, 2020
@selwin
Copy link
Owner

selwin commented Aug 22, 2020

Thanks!

@rodrigondec
Copy link
Contributor Author

rodrigondec commented Aug 22, 2020

@selwin When will be released a new version with this change?

Waiting to modify my use of this lib 😬

@selwin
Copy link
Owner

selwin commented Aug 22, 2020 via email

@selwin
Copy link
Owner

selwin commented Aug 23, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants