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

オープン
#482 コメント 1 件 リアクション 0 件 担当者 1 名 @wangela が担当を希望しています GitHub で見る
triage me type: feature request
主要言語
Python
スター
5k
フォーク
1.4k
PR マージ指標
30日以内にマージされた PR はありません

説明

**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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。