googlemaps / googlemaps/google-maps-services-python
maps.static_map() uses return response.iter_content() which does byte-wise chunking which does not give a good performance
Abierto
triage me
type: feature request
- Lenguaje dominante
- Python
- Estrellas
- 5k
- Forks
- 1.4k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.