Release failed - unexpected keyword argument: enable_address_descriptor still not supported

未關閉
#540 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

@Rahulcse79 已經在處理了。

開始於 2026年4月29日。

  • #543 來自 @Rahulcse79 —— 未關閉

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
api, release

研究方向

先檢查已發布 package 的 geocoding.py,並將其與 issue 中提到的較新版本進行比較。確認進入點 reverse_geocode 接受 enable_address_descriptor,接著檢查 release artifact,以確認其中包含更新後的檔案,且回報的呼叫不再引發 keyword-argument error。

由索引模型根據 Issue 內容生成。

描述

triage me type: bug

When running the code using Googlemaps python 4.10.0:
reverse_geocode_data = gmaps.reverse_geocode((center_lat, center_lon), enable_address_descriptor=True)

See error:
Unexpected error during reverse geocoding for (x, y): reverse_geocode() got an unexpected keyword argument ‘enable_address_descriptor’

Cause:
The current release did not get the new version of geocoding.py

Manual Fix:
Replace the old version of geocoding.py with the new version.

主要語言
Python
星號
5k
分支
1.4k
平均合併
5 小時 9 分鐘
30 天內合併 PR
1

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

googlemaps/google-maps-services-python 的其他 Issue

查看 googlemaps/google-maps-services-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。