google-maps-services-python
google-maps-services-python copied to clipboard
maps.static_map() uses return response.iter_content() which does byte-wise chunking which does not give a good performance
Is your feature request related to a problem? Please describe. maps.static_map() uses return response.iter_content() which does byte-wise chunking which does not give a good performance
The cause is: iter_content() defaults to chunk size of 1 cf. https://docs.python-requests.org/en/latest/api/#requests.Response.iter_content
Describe the solution you'd like Perhaps chunk_size=None would be better Performance
If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.
@DerGuteWolf Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
- Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
- Open a support case - Get 1:1 support in Cloud Console.
- Discord - chat with other developers
- StackOverflow - use the
google-mapstag
This is an automated message, feel free to ignore.