title: Is region no longer needed for Distance Matrix calls using Python library?
body: <p>Previously I used the code below to call the distance matrix api using they python package googlemaps. The call worked last year 2021 but this year (2022) I get an error message to say</p>
  <blockquote>
  <p>distance_matrix() got an unexpected keyword argument 'region'</p>
  </blockquote>
  <p>If I take out the parameter the function completes but I am concerned that calculations could be less accurate without the region parameter. The <a href="https://googlemaps.github.io/google-maps-services-python/docs/index.html" rel="nofollow noreferrer">https://googlemaps.github.io/google-maps-services-python/docs/index.html</a> still includes the region parameter.</p>
  <p>I'm running googlemaps package 2.5.1 on anaconda</p>
  <pre><code>Distance_Demo=gDistance.distance_matrix(origins =DemoOrigin,
                                          destinations=DemoDestination,
                                          mode='driving',
                                          units='metric',
                                          region=&quot;ie&quot;,
                                         departure_time=TimeAsInt,
                                         traffic_model='pessimistic')
  </code></pre>
  <p>Anyone any ideas what could be the issue?</p>