onebusaway 1.12.1__tar.gz → 1.12.2__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.
- onebusaway-1.12.2/.release-please-manifest.json +3 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/CHANGELOG.md +21 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/PKG-INFO +3 -3
- {onebusaway-1.12.1 → onebusaway-1.12.2}/README.md +2 -2
- {onebusaway-1.12.1 → onebusaway-1.12.2}/pyproject.toml +1 -1
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_version.py +1 -1
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/conftest.py +2 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_client.py +58 -27
- onebusaway-1.12.1/.release-please-manifest.json +0 -3
- {onebusaway-1.12.1 → onebusaway-1.12.2}/.gitignore +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/CONTRIBUTING.md +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/LICENSE +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/SECURITY.md +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/api.md +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/bin/check-release-environment +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/bin/publish-pypi +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/.env.example +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/.keep +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/README.md +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/agencies_with_coverage.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/arrivals_and_departures_for_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/block.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/config.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/current_time.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/helpers/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/helpers/load_env.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/routes_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/routes_ids_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/schedule_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/schedule_for_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/search_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/search_for_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/shape.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/stop_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/stop_ids_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/stops_for_location.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/trip.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/trip_details.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/examples/vehicles_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/mypy.ini +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/noxfile.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/release-please-config.json +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/requirements-dev.lock +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/requirements.lock +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_base_client.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_client.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_compat.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_constants.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_exceptions.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_files.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_models.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_qs.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_resource.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_streaming.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_types.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_logs.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_proxy.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_reflection.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_resources_proxy.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_streams.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_sync.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_transform.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_typing.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/_utils/_utils.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/lib/.keep +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/py.typed +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/agencies_with_coverage.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/arrival_and_departure.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/block.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/config.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/current_time.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/report_problem_with_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/report_problem_with_trip.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/route_ids_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/routes_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/routes_for_location.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/schedule_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/schedule_for_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/search_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/search_for_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/shape.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/stop_ids_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/stops_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/stops_for_location.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/stops_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/trip.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/trip_details.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/trip_for_vehicle.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/trips_for_location.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/trips_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/vehicles_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/agencies_with_coverage_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/agency_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/arrival_and_departure_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/arrival_and_departure_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/arrival_and_departure_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/arrival_and_departure_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/block_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/config_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/current_time_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/report_problem_with_stop_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/report_problem_with_trip_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/route_ids_for_agency_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/route_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/routes_for_agency_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/routes_for_location_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/routes_for_location_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_route_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_route_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_stop_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_stop_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_stop_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_stop_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_stop_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_stop_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/shape_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/shared/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/shared/references.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/shared/response_wrapper.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stop_ids_for_agency_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stop_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_agency_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_location_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_location_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_route_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_route_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_detail_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_detail_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_for_vehicle_retrieve_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_for_vehicle_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_retrieve_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trips_for_location_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trips_for_location_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trips_for_route_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trips_for_route_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/vehicles_for_agency_list_params.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/vehicles_for_agency_list_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/src/open_transit/lib/.keep +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/__init__.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_agencies_with_coverage.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_arrival_and_departure.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_block.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_config.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_current_time.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_report_problem_with_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_report_problem_with_trip.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_route_ids_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_routes_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_routes_for_location.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_schedule_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_schedule_for_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_search_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_search_for_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_shape.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_stop.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_stop_ids_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_stops_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_stops_for_location.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_stops_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_trip.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_trip_details.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_trip_for_vehicle.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_trips_for_location.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_trips_for_route.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_vehicles_for_agency.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/sample_file.txt +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_deepcopy.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_extract_files.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_files.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_models.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_qs.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_required_args.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_response.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_streaming.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_transform.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_utils/test_proxy.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/test_utils/test_typing.py +0 -0
- {onebusaway-1.12.1 → onebusaway-1.12.2}/tests/utils.py +0 -0
@@ -1,5 +1,26 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.12.2 (2025-06-19)
|
4
|
+
|
5
|
+
Full Changelog: [v1.12.1...v1.12.2](https://github.com/OneBusAway/python-sdk/compare/v1.12.1...v1.12.2)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* **tests:** fix: tests which call HTTP endpoints directly with the example parameters ([355779a](https://github.com/OneBusAway/python-sdk/commit/355779aceef53b58275a4dab5020d414044adbb0))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **ci:** enable for pull requests ([2b9118f](https://github.com/OneBusAway/python-sdk/commit/2b9118f1154e0f8e90c71a1fb37577c63a57c63f))
|
15
|
+
* **internal:** update conftest.py ([a2b6c3e](https://github.com/OneBusAway/python-sdk/commit/a2b6c3e1d78656155c5eb2f0a1cff69de045909b))
|
16
|
+
* **readme:** update badges ([dc50499](https://github.com/OneBusAway/python-sdk/commit/dc504994e1f2c2c76e0a46941b97b35a90b0e5c5))
|
17
|
+
* **tests:** add tests for httpx client instantiation & proxies ([55c4719](https://github.com/OneBusAway/python-sdk/commit/55c4719837747d638cfbb9e79f683189045338ab))
|
18
|
+
|
19
|
+
|
20
|
+
### Documentation
|
21
|
+
|
22
|
+
* **client:** fix httpx.Timeout documentation reference ([5e8cb3a](https://github.com/OneBusAway/python-sdk/commit/5e8cb3aa66d4a60f7e96d71cf5bbf2fedeb172ef))
|
23
|
+
|
3
24
|
## 1.12.1 (2025-06-13)
|
4
25
|
|
5
26
|
Full Changelog: [v1.12.0...v1.12.1](https://github.com/OneBusAway/python-sdk/compare/v1.12.0...v1.12.1)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: onebusaway
|
3
|
-
Version: 1.12.
|
3
|
+
Version: 1.12.2
|
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
|
@@ -31,7 +31,7 @@ Description-Content-Type: text/markdown
|
|
31
31
|
|
32
32
|
# OneBusAway SDK Python API library
|
33
33
|
|
34
|
-
[](https://pypi.org/project/onebusaway/)
|
34
|
+
[>)](https://pypi.org/project/onebusaway/)
|
35
35
|
|
36
36
|
|
37
37
|
The Onebusaway SDK Python library provides convenient access to the Onebusaway SDK REST API from any Python 3.8+
|
@@ -169,7 +169,7 @@ client.with_options(max_retries=5).current_time.retrieve()
|
|
169
169
|
### Timeouts
|
170
170
|
|
171
171
|
By default requests time out after 1 minute. You can configure this with a `timeout` option,
|
172
|
-
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
|
172
|
+
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
|
173
173
|
|
174
174
|
```python
|
175
175
|
from onebusaway import OnebusawaySDK
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# OneBusAway SDK Python API library
|
2
2
|
|
3
|
-
[](https://pypi.org/project/onebusaway/)
|
3
|
+
[>)](https://pypi.org/project/onebusaway/)
|
4
4
|
|
5
5
|
|
6
6
|
The Onebusaway SDK Python library provides convenient access to the Onebusaway SDK REST API from any Python 3.8+
|
@@ -138,7 +138,7 @@ client.with_options(max_retries=5).current_time.retrieve()
|
|
138
138
|
### Timeouts
|
139
139
|
|
140
140
|
By default requests time out after 1 minute. You can configure this with a `timeout` option,
|
141
|
-
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
|
141
|
+
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
|
142
142
|
|
143
143
|
```python
|
144
144
|
from onebusaway import OnebusawaySDK
|
@@ -25,12 +25,13 @@ from pydantic import ValidationError
|
|
25
25
|
from onebusaway import OnebusawaySDK, AsyncOnebusawaySDK, APIResponseValidationError
|
26
26
|
from onebusaway._types import Omit
|
27
27
|
from onebusaway._models import BaseModel, FinalRequestOptions
|
28
|
-
from onebusaway._constants import RAW_RESPONSE_HEADER
|
29
28
|
from onebusaway._exceptions import APIStatusError, APITimeoutError, APIResponseValidationError
|
30
29
|
from onebusaway._base_client import (
|
31
30
|
DEFAULT_TIMEOUT,
|
32
31
|
HTTPX_DEFAULT_TIMEOUT,
|
33
32
|
BaseClient,
|
33
|
+
DefaultHttpxClient,
|
34
|
+
DefaultAsyncHttpxClient,
|
34
35
|
make_request_options,
|
35
36
|
)
|
36
37
|
|
@@ -715,30 +716,21 @@ class TestOnebusawaySDK:
|
|
715
716
|
|
716
717
|
@mock.patch("onebusaway._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout)
|
717
718
|
@pytest.mark.respx(base_url=base_url)
|
718
|
-
def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter) -> None:
|
719
|
+
def test_retrying_timeout_errors_doesnt_leak(self, respx_mock: MockRouter, client: OnebusawaySDK) -> None:
|
719
720
|
respx_mock.get("/api/where/current-time.json").mock(side_effect=httpx.TimeoutException("Test timeout error"))
|
720
721
|
|
721
722
|
with pytest.raises(APITimeoutError):
|
722
|
-
|
723
|
-
"/api/where/current-time.json",
|
724
|
-
cast_to=httpx.Response,
|
725
|
-
options={"headers": {RAW_RESPONSE_HEADER: "stream"}},
|
726
|
-
)
|
723
|
+
client.current_time.with_streaming_response.retrieve().__enter__()
|
727
724
|
|
728
725
|
assert _get_open_connections(self.client) == 0
|
729
726
|
|
730
727
|
@mock.patch("onebusaway._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout)
|
731
728
|
@pytest.mark.respx(base_url=base_url)
|
732
|
-
def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter) -> None:
|
729
|
+
def test_retrying_status_errors_doesnt_leak(self, respx_mock: MockRouter, client: OnebusawaySDK) -> None:
|
733
730
|
respx_mock.get("/api/where/current-time.json").mock(return_value=httpx.Response(500))
|
734
731
|
|
735
732
|
with pytest.raises(APIStatusError):
|
736
|
-
|
737
|
-
"/api/where/current-time.json",
|
738
|
-
cast_to=httpx.Response,
|
739
|
-
options={"headers": {RAW_RESPONSE_HEADER: "stream"}},
|
740
|
-
)
|
741
|
-
|
733
|
+
client.current_time.with_streaming_response.retrieve().__enter__()
|
742
734
|
assert _get_open_connections(self.client) == 0
|
743
735
|
|
744
736
|
@pytest.mark.parametrize("failures_before_success", [0, 2, 4])
|
@@ -818,6 +810,28 @@ class TestOnebusawaySDK:
|
|
818
810
|
|
819
811
|
assert response.http_request.headers.get("x-stainless-retry-count") == "42"
|
820
812
|
|
813
|
+
def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None:
|
814
|
+
# Test that the proxy environment variables are set correctly
|
815
|
+
monkeypatch.setenv("HTTPS_PROXY", "https://example.org")
|
816
|
+
|
817
|
+
client = DefaultHttpxClient()
|
818
|
+
|
819
|
+
mounts = tuple(client._mounts.items())
|
820
|
+
assert len(mounts) == 1
|
821
|
+
assert mounts[0][0].pattern == "https://"
|
822
|
+
|
823
|
+
@pytest.mark.filterwarnings("ignore:.*deprecated.*:DeprecationWarning")
|
824
|
+
def test_default_client_creation(self) -> None:
|
825
|
+
# Ensure that the client can be initialized without any exceptions
|
826
|
+
DefaultHttpxClient(
|
827
|
+
verify=True,
|
828
|
+
cert=None,
|
829
|
+
trust_env=True,
|
830
|
+
http1=True,
|
831
|
+
http2=False,
|
832
|
+
limits=httpx.Limits(max_connections=100, max_keepalive_connections=20),
|
833
|
+
)
|
834
|
+
|
821
835
|
@pytest.mark.respx(base_url=base_url)
|
822
836
|
def test_follow_redirects(self, respx_mock: MockRouter) -> None:
|
823
837
|
# Test that the default follow_redirects=True allows following redirects
|
@@ -1509,30 +1523,25 @@ class TestAsyncOnebusawaySDK:
|
|
1509
1523
|
|
1510
1524
|
@mock.patch("onebusaway._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout)
|
1511
1525
|
@pytest.mark.respx(base_url=base_url)
|
1512
|
-
async def test_retrying_timeout_errors_doesnt_leak(
|
1526
|
+
async def test_retrying_timeout_errors_doesnt_leak(
|
1527
|
+
self, respx_mock: MockRouter, async_client: AsyncOnebusawaySDK
|
1528
|
+
) -> None:
|
1513
1529
|
respx_mock.get("/api/where/current-time.json").mock(side_effect=httpx.TimeoutException("Test timeout error"))
|
1514
1530
|
|
1515
1531
|
with pytest.raises(APITimeoutError):
|
1516
|
-
await
|
1517
|
-
"/api/where/current-time.json",
|
1518
|
-
cast_to=httpx.Response,
|
1519
|
-
options={"headers": {RAW_RESPONSE_HEADER: "stream"}},
|
1520
|
-
)
|
1532
|
+
await async_client.current_time.with_streaming_response.retrieve().__aenter__()
|
1521
1533
|
|
1522
1534
|
assert _get_open_connections(self.client) == 0
|
1523
1535
|
|
1524
1536
|
@mock.patch("onebusaway._base_client.BaseClient._calculate_retry_timeout", _low_retry_timeout)
|
1525
1537
|
@pytest.mark.respx(base_url=base_url)
|
1526
|
-
async def test_retrying_status_errors_doesnt_leak(
|
1538
|
+
async def test_retrying_status_errors_doesnt_leak(
|
1539
|
+
self, respx_mock: MockRouter, async_client: AsyncOnebusawaySDK
|
1540
|
+
) -> None:
|
1527
1541
|
respx_mock.get("/api/where/current-time.json").mock(return_value=httpx.Response(500))
|
1528
1542
|
|
1529
1543
|
with pytest.raises(APIStatusError):
|
1530
|
-
await
|
1531
|
-
"/api/where/current-time.json",
|
1532
|
-
cast_to=httpx.Response,
|
1533
|
-
options={"headers": {RAW_RESPONSE_HEADER: "stream"}},
|
1534
|
-
)
|
1535
|
-
|
1544
|
+
await async_client.current_time.with_streaming_response.retrieve().__aenter__()
|
1536
1545
|
assert _get_open_connections(self.client) == 0
|
1537
1546
|
|
1538
1547
|
@pytest.mark.parametrize("failures_before_success", [0, 2, 4])
|
@@ -1662,6 +1671,28 @@ class TestAsyncOnebusawaySDK:
|
|
1662
1671
|
|
1663
1672
|
time.sleep(0.1)
|
1664
1673
|
|
1674
|
+
async def test_proxy_environment_variables(self, monkeypatch: pytest.MonkeyPatch) -> None:
|
1675
|
+
# Test that the proxy environment variables are set correctly
|
1676
|
+
monkeypatch.setenv("HTTPS_PROXY", "https://example.org")
|
1677
|
+
|
1678
|
+
client = DefaultAsyncHttpxClient()
|
1679
|
+
|
1680
|
+
mounts = tuple(client._mounts.items())
|
1681
|
+
assert len(mounts) == 1
|
1682
|
+
assert mounts[0][0].pattern == "https://"
|
1683
|
+
|
1684
|
+
@pytest.mark.filterwarnings("ignore:.*deprecated.*:DeprecationWarning")
|
1685
|
+
async def test_default_client_creation(self) -> None:
|
1686
|
+
# Ensure that the client can be initialized without any exceptions
|
1687
|
+
DefaultAsyncHttpxClient(
|
1688
|
+
verify=True,
|
1689
|
+
cert=None,
|
1690
|
+
trust_env=True,
|
1691
|
+
http1=True,
|
1692
|
+
http2=False,
|
1693
|
+
limits=httpx.Limits(max_connections=100, max_keepalive_connections=20),
|
1694
|
+
)
|
1695
|
+
|
1665
1696
|
@pytest.mark.respx(base_url=base_url)
|
1666
1697
|
async def test_follow_redirects(self, respx_mock: MockRouter) -> None:
|
1667
1698
|
# Test that the default follow_redirects=True allows following redirects
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/report_problem_with_stop.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/resources/report_problem_with_trip.py
RENAMED
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/agencies_with_coverage_list_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/arrival_and_departure_list_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/arrival_and_departure_list_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/current_time_retrieve_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/route_ids_for_agency_list_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/routes_for_agency_list_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/routes_for_location_list_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/routes_for_location_list_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_route_retrieve_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_route_retrieve_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_stop_retrieve_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/schedule_for_stop_retrieve_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_list_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_list_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_retrieve_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_route_retrieve_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_stop_list_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_stop_retrieve_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/search_for_stop_retrieve_response.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stop_ids_for_agency_list_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_agency_list_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_location_list_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_location_list_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/stops_for_route_list_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_detail_retrieve_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_for_vehicle_retrieve_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trip_for_vehicle_retrieve_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trips_for_location_list_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trips_for_location_list_response.py
RENAMED
File without changes
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/trips_for_route_list_response.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/vehicles_for_agency_list_params.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/src/onebusaway/types/vehicles_for_agency_list_response.py
RENAMED
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
|
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_report_problem_with_stop.py
RENAMED
File without changes
|
{onebusaway-1.12.1 → onebusaway-1.12.2}/tests/api_resources/test_report_problem_with_trip.py
RENAMED
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|