onebusaway 1.17.0__tar.gz → 1.17.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. onebusaway-1.17.1/.release-please-manifest.json +3 -0
  2. {onebusaway-1.17.0 → onebusaway-1.17.1}/CHANGELOG.md +9 -0
  3. {onebusaway-1.17.0 → onebusaway-1.17.1}/PKG-INFO +1 -1
  4. {onebusaway-1.17.0 → onebusaway-1.17.1}/pyproject.toml +53 -2
  5. {onebusaway-1.17.0 → onebusaway-1.17.1}/requirements-dev.lock +0 -1
  6. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_version.py +1 -1
  7. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_client.py +6 -47
  8. onebusaway-1.17.0/.release-please-manifest.json +0 -3
  9. onebusaway-1.17.0/mypy.ini +0 -50
  10. {onebusaway-1.17.0 → onebusaway-1.17.1}/.gitignore +0 -0
  11. {onebusaway-1.17.0 → onebusaway-1.17.1}/CONTRIBUTING.md +0 -0
  12. {onebusaway-1.17.0 → onebusaway-1.17.1}/LICENSE +0 -0
  13. {onebusaway-1.17.0 → onebusaway-1.17.1}/README.md +0 -0
  14. {onebusaway-1.17.0 → onebusaway-1.17.1}/SECURITY.md +0 -0
  15. {onebusaway-1.17.0 → onebusaway-1.17.1}/api.md +0 -0
  16. {onebusaway-1.17.0 → onebusaway-1.17.1}/bin/check-release-environment +0 -0
  17. {onebusaway-1.17.0 → onebusaway-1.17.1}/bin/publish-pypi +0 -0
  18. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/.env.example +0 -0
  19. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/.keep +0 -0
  20. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/README.md +0 -0
  21. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/agencies_with_coverage.py +0 -0
  22. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/arrivals_and_departures_for_stop.py +0 -0
  23. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/block.py +0 -0
  24. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/config.py +0 -0
  25. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/current_time.py +0 -0
  26. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/helpers/__init__.py +0 -0
  27. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/helpers/load_env.py +0 -0
  28. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/routes_for_agency.py +0 -0
  29. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/routes_ids_for_agency.py +0 -0
  30. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/schedule_for_route.py +0 -0
  31. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/schedule_for_stop.py +0 -0
  32. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/search_for_route.py +0 -0
  33. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/search_for_stop.py +0 -0
  34. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/shape.py +0 -0
  35. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/stop.py +0 -0
  36. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/stop_for_route.py +0 -0
  37. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/stop_ids_for_agency.py +0 -0
  38. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/stops_for_location.py +0 -0
  39. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/trip.py +0 -0
  40. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/trip_details.py +0 -0
  41. {onebusaway-1.17.0 → onebusaway-1.17.1}/examples/vehicles_for_agency.py +0 -0
  42. {onebusaway-1.17.0 → onebusaway-1.17.1}/noxfile.py +0 -0
  43. {onebusaway-1.17.0 → onebusaway-1.17.1}/release-please-config.json +0 -0
  44. {onebusaway-1.17.0 → onebusaway-1.17.1}/requirements.lock +0 -0
  45. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/__init__.py +0 -0
  46. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_base_client.py +0 -0
  47. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_client.py +0 -0
  48. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_compat.py +0 -0
  49. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_constants.py +0 -0
  50. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_exceptions.py +0 -0
  51. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_files.py +0 -0
  52. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_models.py +0 -0
  53. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_qs.py +0 -0
  54. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_resource.py +0 -0
  55. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_response.py +0 -0
  56. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_streaming.py +0 -0
  57. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_types.py +0 -0
  58. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/__init__.py +0 -0
  59. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_compat.py +0 -0
  60. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_datetime_parse.py +0 -0
  61. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_logs.py +0 -0
  62. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_proxy.py +0 -0
  63. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_reflection.py +0 -0
  64. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_resources_proxy.py +0 -0
  65. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_streams.py +0 -0
  66. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_sync.py +0 -0
  67. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_transform.py +0 -0
  68. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_typing.py +0 -0
  69. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/_utils/_utils.py +0 -0
  70. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/lib/.keep +0 -0
  71. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/py.typed +0 -0
  72. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/__init__.py +0 -0
  73. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/agencies_with_coverage.py +0 -0
  74. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/agency.py +0 -0
  75. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/arrival_and_departure.py +0 -0
  76. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/block.py +0 -0
  77. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/config.py +0 -0
  78. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/current_time.py +0 -0
  79. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/report_problem_with_stop.py +0 -0
  80. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/report_problem_with_trip.py +0 -0
  81. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/route.py +0 -0
  82. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/route_ids_for_agency.py +0 -0
  83. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/routes_for_agency.py +0 -0
  84. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/routes_for_location.py +0 -0
  85. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/schedule_for_route.py +0 -0
  86. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/schedule_for_stop.py +0 -0
  87. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/search_for_route.py +0 -0
  88. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/search_for_stop.py +0 -0
  89. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/shape.py +0 -0
  90. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/stop.py +0 -0
  91. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/stop_ids_for_agency.py +0 -0
  92. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/stops_for_agency.py +0 -0
  93. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/stops_for_location.py +0 -0
  94. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/stops_for_route.py +0 -0
  95. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/trip.py +0 -0
  96. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/trip_details.py +0 -0
  97. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/trip_for_vehicle.py +0 -0
  98. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/trips_for_location.py +0 -0
  99. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/trips_for_route.py +0 -0
  100. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/resources/vehicles_for_agency.py +0 -0
  101. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/__init__.py +0 -0
  102. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/agencies_with_coverage_list_response.py +0 -0
  103. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/agency_retrieve_response.py +0 -0
  104. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/arrival_and_departure_list_params.py +0 -0
  105. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/arrival_and_departure_list_response.py +0 -0
  106. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/arrival_and_departure_retrieve_params.py +0 -0
  107. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/arrival_and_departure_retrieve_response.py +0 -0
  108. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/block_retrieve_response.py +0 -0
  109. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/config_retrieve_response.py +0 -0
  110. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/current_time_retrieve_response.py +0 -0
  111. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/report_problem_with_stop_retrieve_params.py +0 -0
  112. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/report_problem_with_trip_retrieve_params.py +0 -0
  113. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/route_ids_for_agency_list_response.py +0 -0
  114. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/route_retrieve_response.py +0 -0
  115. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/routes_for_agency_list_response.py +0 -0
  116. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/routes_for_location_list_params.py +0 -0
  117. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/routes_for_location_list_response.py +0 -0
  118. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/schedule_for_route_retrieve_params.py +0 -0
  119. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/schedule_for_route_retrieve_response.py +0 -0
  120. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/schedule_for_stop_retrieve_params.py +0 -0
  121. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/schedule_for_stop_retrieve_response.py +0 -0
  122. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_route_list_params.py +0 -0
  123. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_route_list_response.py +0 -0
  124. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_route_retrieve_params.py +0 -0
  125. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_route_retrieve_response.py +0 -0
  126. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_stop_list_params.py +0 -0
  127. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_stop_list_response.py +0 -0
  128. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_stop_retrieve_params.py +0 -0
  129. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/search_for_stop_retrieve_response.py +0 -0
  130. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/shape_retrieve_response.py +0 -0
  131. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/shared/__init__.py +0 -0
  132. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/shared/references.py +0 -0
  133. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/shared/response_wrapper.py +0 -0
  134. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/stop_ids_for_agency_list_response.py +0 -0
  135. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/stop_retrieve_response.py +0 -0
  136. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/stops_for_agency_list_response.py +0 -0
  137. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/stops_for_location_list_params.py +0 -0
  138. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/stops_for_location_list_response.py +0 -0
  139. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/stops_for_route_list_params.py +0 -0
  140. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/stops_for_route_list_response.py +0 -0
  141. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trip_detail_retrieve_params.py +0 -0
  142. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trip_detail_retrieve_response.py +0 -0
  143. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trip_for_vehicle_retrieve_params.py +0 -0
  144. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trip_for_vehicle_retrieve_response.py +0 -0
  145. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trip_retrieve_response.py +0 -0
  146. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trips_for_location_list_params.py +0 -0
  147. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trips_for_location_list_response.py +0 -0
  148. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trips_for_route_list_params.py +0 -0
  149. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/trips_for_route_list_response.py +0 -0
  150. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/vehicles_for_agency_list_params.py +0 -0
  151. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/onebusaway/types/vehicles_for_agency_list_response.py +0 -0
  152. {onebusaway-1.17.0 → onebusaway-1.17.1}/src/open_transit/lib/.keep +0 -0
  153. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/__init__.py +0 -0
  154. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/__init__.py +0 -0
  155. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_agencies_with_coverage.py +0 -0
  156. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_agency.py +0 -0
  157. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_arrival_and_departure.py +0 -0
  158. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_block.py +0 -0
  159. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_config.py +0 -0
  160. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_current_time.py +0 -0
  161. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_report_problem_with_stop.py +0 -0
  162. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_report_problem_with_trip.py +0 -0
  163. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_route.py +0 -0
  164. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_route_ids_for_agency.py +0 -0
  165. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_routes_for_agency.py +0 -0
  166. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_routes_for_location.py +0 -0
  167. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_schedule_for_route.py +0 -0
  168. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_schedule_for_stop.py +0 -0
  169. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_search_for_route.py +0 -0
  170. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_search_for_stop.py +0 -0
  171. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_shape.py +0 -0
  172. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_stop.py +0 -0
  173. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_stop_ids_for_agency.py +0 -0
  174. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_stops_for_agency.py +0 -0
  175. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_stops_for_location.py +0 -0
  176. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_stops_for_route.py +0 -0
  177. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_trip.py +0 -0
  178. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_trip_details.py +0 -0
  179. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_trip_for_vehicle.py +0 -0
  180. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_trips_for_location.py +0 -0
  181. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_trips_for_route.py +0 -0
  182. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/api_resources/test_vehicles_for_agency.py +0 -0
  183. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/conftest.py +0 -0
  184. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/sample_file.txt +0 -0
  185. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_deepcopy.py +0 -0
  186. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_extract_files.py +0 -0
  187. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_files.py +0 -0
  188. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_models.py +0 -0
  189. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_qs.py +0 -0
  190. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_required_args.py +0 -0
  191. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_response.py +0 -0
  192. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_streaming.py +0 -0
  193. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_transform.py +0 -0
  194. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_utils/test_datetime_parse.py +0 -0
  195. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_utils/test_proxy.py +0 -0
  196. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/test_utils/test_typing.py +0 -0
  197. {onebusaway-1.17.0 → onebusaway-1.17.1}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.17.1"
3
+ }
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.17.1 (2025-09-06)
4
+
5
+ Full Changelog: [v1.17.0...v1.17.1](https://github.com/OneBusAway/python-sdk/compare/v1.17.0...v1.17.1)
6
+
7
+ ### Chores
8
+
9
+ * **internal:** move mypy configurations to `pyproject.toml` file ([baa06e6](https://github.com/OneBusAway/python-sdk/commit/baa06e63b06e3082adc11f9a7930276c8777d527))
10
+ * **tests:** simplify `get_platform` test ([0cced81](https://github.com/OneBusAway/python-sdk/commit/0cced81054c3e77548c7b34fe4899ccbbc9efb96))
11
+
3
12
  ## 1.17.0 (2025-09-04)
4
13
 
5
14
  Full Changelog: [v1.16.0...v1.17.0](https://github.com/OneBusAway/python-sdk/compare/v1.16.0...v1.17.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: onebusaway
3
- Version: 1.17.0
3
+ Version: 1.17.1
4
4
  Summary: The official Python library for the onebusaway-sdk API
5
5
  Project-URL: Homepage, https://github.com/OneBusAway/python-sdk
6
6
  Project-URL: Repository, https://github.com/OneBusAway/python-sdk
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "onebusaway"
3
- version = "1.17.0"
3
+ version = "1.17.1"
4
4
  description = "The official Python library for the onebusaway-sdk API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -56,7 +56,6 @@ dev-dependencies = [
56
56
  "dirty-equals>=0.6.0",
57
57
  "importlib-metadata>=6.7.0",
58
58
  "rich>=13.7.1",
59
- "nest_asyncio==1.6.0",
60
59
  "pytest-xdist>=3.6.1",
61
60
  ]
62
61
 
@@ -157,6 +156,58 @@ reportOverlappingOverload = false
157
156
  reportImportCycles = false
158
157
  reportPrivateUsage = false
159
158
 
159
+ [tool.mypy]
160
+ pretty = true
161
+ show_error_codes = true
162
+
163
+ # Exclude _files.py because mypy isn't smart enough to apply
164
+ # the correct type narrowing and as this is an internal module
165
+ # it's fine to just use Pyright.
166
+ #
167
+ # We also exclude our `tests` as mypy doesn't always infer
168
+ # types correctly and Pyright will still catch any type errors.
169
+ exclude = ['src/onebusaway/_files.py', '_dev/.*.py', 'tests/.*']
170
+
171
+ strict_equality = true
172
+ implicit_reexport = true
173
+ check_untyped_defs = true
174
+ no_implicit_optional = true
175
+
176
+ warn_return_any = true
177
+ warn_unreachable = true
178
+ warn_unused_configs = true
179
+
180
+ # Turn these options off as it could cause conflicts
181
+ # with the Pyright options.
182
+ warn_unused_ignores = false
183
+ warn_redundant_casts = false
184
+
185
+ disallow_any_generics = true
186
+ disallow_untyped_defs = true
187
+ disallow_untyped_calls = true
188
+ disallow_subclassing_any = true
189
+ disallow_incomplete_defs = true
190
+ disallow_untyped_decorators = true
191
+ cache_fine_grained = true
192
+
193
+ # By default, mypy reports an error if you assign a value to the result
194
+ # of a function call that doesn't return anything. We do this in our test
195
+ # cases:
196
+ # ```
197
+ # result = ...
198
+ # assert result is None
199
+ # ```
200
+ # Changing this codegen to make mypy happy would increase complexity
201
+ # and would not be worth it.
202
+ disable_error_code = "func-returns-value,overload-cannot-match"
203
+
204
+ # https://github.com/python/mypy/issues/12162
205
+ [[tool.mypy.overrides]]
206
+ module = "black.files.*"
207
+ ignore_errors = true
208
+ ignore_missing_imports = true
209
+
210
+
160
211
  [tool.ruff]
161
212
  line-length = 120
162
213
  output-format = "grouped"
@@ -75,7 +75,6 @@ multidict==6.4.4
75
75
  mypy==1.14.1
76
76
  mypy-extensions==1.0.0
77
77
  # via mypy
78
- nest-asyncio==1.6.0
79
78
  nodeenv==1.8.0
80
79
  # via pyright
81
80
  nox==2023.4.22
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "onebusaway"
4
- __version__ = "1.17.0" # x-release-please-version
4
+ __version__ = "1.17.1" # x-release-please-version
@@ -6,14 +6,11 @@ import gc
6
6
  import os
7
7
  import sys
8
8
  import json
9
- import time
10
9
  import asyncio
11
10
  import inspect
12
- import subprocess
13
11
  import tracemalloc
14
12
  import urllib.parse
15
13
  from typing import Any, Union, cast
16
- from textwrap import dedent
17
14
  from unittest import mock
18
15
  from typing_extensions import Literal
19
16
 
@@ -24,14 +21,17 @@ from pydantic import ValidationError
24
21
 
25
22
  from onebusaway import OnebusawaySDK, AsyncOnebusawaySDK, APIResponseValidationError
26
23
  from onebusaway._types import Omit
24
+ from onebusaway._utils import asyncify
27
25
  from onebusaway._models import BaseModel, FinalRequestOptions
28
26
  from onebusaway._exceptions import APIStatusError, APITimeoutError, APIResponseValidationError
29
27
  from onebusaway._base_client import (
30
28
  DEFAULT_TIMEOUT,
31
29
  HTTPX_DEFAULT_TIMEOUT,
32
30
  BaseClient,
31
+ OtherPlatform,
33
32
  DefaultHttpxClient,
34
33
  DefaultAsyncHttpxClient,
34
+ get_platform,
35
35
  make_request_options,
36
36
  )
37
37
 
@@ -1628,50 +1628,9 @@ class TestAsyncOnebusawaySDK:
1628
1628
 
1629
1629
  assert response.http_request.headers.get("x-stainless-retry-count") == "42"
1630
1630
 
1631
- def test_get_platform(self) -> None:
1632
- # A previous implementation of asyncify could leave threads unterminated when
1633
- # used with nest_asyncio.
1634
- #
1635
- # Since nest_asyncio.apply() is global and cannot be un-applied, this
1636
- # test is run in a separate process to avoid affecting other tests.
1637
- test_code = dedent("""
1638
- import asyncio
1639
- import nest_asyncio
1640
- import threading
1641
-
1642
- from onebusaway._utils import asyncify
1643
- from onebusaway._base_client import get_platform
1644
-
1645
- async def test_main() -> None:
1646
- result = await asyncify(get_platform)()
1647
- print(result)
1648
- for thread in threading.enumerate():
1649
- print(thread.name)
1650
-
1651
- nest_asyncio.apply()
1652
- asyncio.run(test_main())
1653
- """)
1654
- with subprocess.Popen(
1655
- [sys.executable, "-c", test_code],
1656
- text=True,
1657
- ) as process:
1658
- timeout = 10 # seconds
1659
-
1660
- start_time = time.monotonic()
1661
- while True:
1662
- return_code = process.poll()
1663
- if return_code is not None:
1664
- if return_code != 0:
1665
- raise AssertionError("calling get_platform using asyncify resulted in a non-zero exit code")
1666
-
1667
- # success
1668
- break
1669
-
1670
- if time.monotonic() - start_time > timeout:
1671
- process.kill()
1672
- raise AssertionError("calling get_platform using asyncify resulted in a hung process")
1673
-
1674
- time.sleep(0.1)
1631
+ async def test_get_platform(self) -> None:
1632
+ platform = await asyncify(get_platform)()
1633
+ assert isinstance(platform, (str, OtherPlatform))
1675
1634
 
1676
1635
  async def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None:
1677
1636
  # Test that the proxy environment variables are set correctly
@@ -1,3 +0,0 @@
1
- {
2
- ".": "1.17.0"
3
- }
@@ -1,50 +0,0 @@
1
- [mypy]
2
- pretty = True
3
- show_error_codes = True
4
-
5
- # Exclude _files.py because mypy isn't smart enough to apply
6
- # the correct type narrowing and as this is an internal module
7
- # it's fine to just use Pyright.
8
- #
9
- # We also exclude our `tests` as mypy doesn't always infer
10
- # types correctly and Pyright will still catch any type errors.
11
- exclude = ^(src/onebusaway/_files\.py|_dev/.*\.py|tests/.*)$
12
-
13
- strict_equality = True
14
- implicit_reexport = True
15
- check_untyped_defs = True
16
- no_implicit_optional = True
17
-
18
- warn_return_any = True
19
- warn_unreachable = True
20
- warn_unused_configs = True
21
-
22
- # Turn these options off as it could cause conflicts
23
- # with the Pyright options.
24
- warn_unused_ignores = False
25
- warn_redundant_casts = False
26
-
27
- disallow_any_generics = True
28
- disallow_untyped_defs = True
29
- disallow_untyped_calls = True
30
- disallow_subclassing_any = True
31
- disallow_incomplete_defs = True
32
- disallow_untyped_decorators = True
33
- cache_fine_grained = True
34
-
35
- # By default, mypy reports an error if you assign a value to the result
36
- # of a function call that doesn't return anything. We do this in our test
37
- # cases:
38
- # ```
39
- # result = ...
40
- # assert result is None
41
- # ```
42
- # Changing this codegen to make mypy happy would increase complexity
43
- # and would not be worth it.
44
- disable_error_code = func-returns-value,overload-cannot-match
45
-
46
- # https://github.com/python/mypy/issues/12162
47
- [mypy.overrides]
48
- module = "black.files.*"
49
- ignore_errors = true
50
- ignore_missing_imports = true
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes