onebusaway 1.12.2__tar.gz → 1.13.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.
- onebusaway-1.13.1/.release-please-manifest.json +3 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/CHANGELOG.md +32 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/PKG-INFO +35 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/README.md +31 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/bin/check-release-environment +1 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/pyproject.toml +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/requirements-dev.lock +27 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/requirements.lock +27 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/__init__.py +2 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_base_client.py +22 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_version.py +1 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_agencies_with_coverage.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_agency.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_arrival_and_departure.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_block.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_config.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_current_time.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_report_problem_with_stop.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_report_problem_with_trip.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_route.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_route_ids_for_agency.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_routes_for_agency.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_routes_for_location.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_schedule_for_route.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_schedule_for_stop.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_search_for_route.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_search_for_stop.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_shape.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_stop.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_stop_ids_for_agency.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_stops_for_agency.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_stops_for_location.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_stops_for_route.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_trip.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_trip_details.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_trip_for_vehicle.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_trips_for_location.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_trips_for_route.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_vehicles_for_agency.py +3 -1
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/conftest.py +37 -6
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_client.py +2 -0
- onebusaway-1.12.2/.release-please-manifest.json +0 -3
- {onebusaway-1.12.2 → onebusaway-1.13.1}/.gitignore +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/CONTRIBUTING.md +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/LICENSE +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/SECURITY.md +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/api.md +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/bin/publish-pypi +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/.env.example +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/.keep +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/README.md +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/agencies_with_coverage.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/arrivals_and_departures_for_stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/block.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/config.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/current_time.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/helpers/__init__.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/helpers/load_env.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/routes_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/routes_ids_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/schedule_for_route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/schedule_for_stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/search_for_route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/search_for_stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/shape.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/stop_for_route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/stop_ids_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/stops_for_location.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/trip.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/trip_details.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/examples/vehicles_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/mypy.ini +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/noxfile.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/release-please-config.json +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_client.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_compat.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_constants.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_exceptions.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_files.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_models.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_qs.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_resource.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_streaming.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_types.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/__init__.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_logs.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_proxy.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_reflection.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_resources_proxy.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_streams.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_sync.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_transform.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_typing.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/_utils/_utils.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/lib/.keep +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/py.typed +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/__init__.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/agencies_with_coverage.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/arrival_and_departure.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/block.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/config.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/current_time.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/report_problem_with_stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/report_problem_with_trip.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/route_ids_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/routes_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/routes_for_location.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/schedule_for_route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/schedule_for_stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/search_for_route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/search_for_stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/shape.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/stop.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/stop_ids_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/stops_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/stops_for_location.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/stops_for_route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/trip.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/trip_details.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/trip_for_vehicle.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/trips_for_location.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/trips_for_route.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/resources/vehicles_for_agency.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/__init__.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/agencies_with_coverage_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/agency_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/arrival_and_departure_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/arrival_and_departure_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/arrival_and_departure_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/arrival_and_departure_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/block_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/config_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/current_time_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/report_problem_with_stop_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/report_problem_with_trip_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/route_ids_for_agency_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/route_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/routes_for_agency_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/routes_for_location_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/routes_for_location_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/schedule_for_route_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/schedule_for_route_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/schedule_for_stop_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/schedule_for_stop_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_route_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_route_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_route_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_route_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_stop_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_stop_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_stop_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/search_for_stop_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/shape_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/shared/__init__.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/shared/references.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/shared/response_wrapper.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/stop_ids_for_agency_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/stop_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/stops_for_agency_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/stops_for_location_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/stops_for_location_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/stops_for_route_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/stops_for_route_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trip_detail_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trip_detail_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trip_for_vehicle_retrieve_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trip_for_vehicle_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trip_retrieve_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trips_for_location_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trips_for_location_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trips_for_route_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/trips_for_route_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/vehicles_for_agency_list_params.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/onebusaway/types/vehicles_for_agency_list_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/src/open_transit/lib/.keep +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/__init__.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/__init__.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/sample_file.txt +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_deepcopy.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_extract_files.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_files.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_models.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_qs.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_required_args.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_response.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_streaming.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_transform.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_utils/test_proxy.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/test_utils/test_typing.py +0 -0
- {onebusaway-1.12.2 → onebusaway-1.13.1}/tests/utils.py +0 -0
@@ -1,5 +1,37 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.13.1 (2025-07-02)
|
4
|
+
|
5
|
+
Full Changelog: [v1.13.0...v1.13.1](https://github.com/OneBusAway/python-sdk/compare/v1.13.0...v1.13.1)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
* **ci:** correct conditional ([1b938b2](https://github.com/OneBusAway/python-sdk/commit/1b938b23923b4ee59453b26a896747bd7f4d0386))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* **ci:** change upload type ([add541c](https://github.com/OneBusAway/python-sdk/commit/add541c1c196ef11b5ae310d0944b39f476915b0))
|
15
|
+
* **ci:** only run for pushes and fork pull requests ([e15aec6](https://github.com/OneBusAway/python-sdk/commit/e15aec647d9bdbcbd061158740afa8df57f0d41c))
|
16
|
+
|
17
|
+
## 1.13.0 (2025-06-27)
|
18
|
+
|
19
|
+
Full Changelog: [v1.12.2...v1.13.0](https://github.com/OneBusAway/python-sdk/compare/v1.12.2...v1.13.0)
|
20
|
+
|
21
|
+
### Features
|
22
|
+
|
23
|
+
* **client:** add support for aiohttp ([30eada9](https://github.com/OneBusAway/python-sdk/commit/30eada97ab7083d960307901bb55ef931ff6b202))
|
24
|
+
|
25
|
+
|
26
|
+
### Bug Fixes
|
27
|
+
|
28
|
+
* **ci:** release-doctor — report correct token name ([32bbbb3](https://github.com/OneBusAway/python-sdk/commit/32bbbb36efc1e3ebe55502aba1d140b0670e671c))
|
29
|
+
|
30
|
+
|
31
|
+
### Chores
|
32
|
+
|
33
|
+
* **tests:** skip some failing tests on the latest python versions ([6a88517](https://github.com/OneBusAway/python-sdk/commit/6a88517328513ff342df314e1d1da26795f3bb72))
|
34
|
+
|
3
35
|
## 1.12.2 (2025-06-19)
|
4
36
|
|
5
37
|
Full Changelog: [v1.12.1...v1.12.2](https://github.com/OneBusAway/python-sdk/compare/v1.12.1...v1.12.2)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: onebusaway
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.13.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
|
@@ -27,6 +27,9 @@ Requires-Dist: httpx<1,>=0.23.0
|
|
27
27
|
Requires-Dist: pydantic<3,>=1.9.0
|
28
28
|
Requires-Dist: sniffio
|
29
29
|
Requires-Dist: typing-extensions<5,>=4.10
|
30
|
+
Provides-Extra: aiohttp
|
31
|
+
Requires-Dist: aiohttp; extra == 'aiohttp'
|
32
|
+
Requires-Dist: httpx-aiohttp>=0.1.6; extra == 'aiohttp'
|
30
33
|
Description-Content-Type: text/markdown
|
31
34
|
|
32
35
|
# OneBusAway SDK Python API library
|
@@ -95,6 +98,37 @@ asyncio.run(main())
|
|
95
98
|
|
96
99
|
Functionality between the synchronous and asynchronous clients is otherwise identical.
|
97
100
|
|
101
|
+
### With aiohttp
|
102
|
+
|
103
|
+
By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
|
104
|
+
|
105
|
+
You can enable this by installing `aiohttp`:
|
106
|
+
|
107
|
+
```sh
|
108
|
+
# install from PyPI
|
109
|
+
pip install onebusaway[aiohttp]
|
110
|
+
```
|
111
|
+
|
112
|
+
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
|
113
|
+
|
114
|
+
```python
|
115
|
+
import os
|
116
|
+
import asyncio
|
117
|
+
from onebusaway import DefaultAioHttpClient
|
118
|
+
from onebusaway import AsyncOnebusawaySDK
|
119
|
+
|
120
|
+
|
121
|
+
async def main() -> None:
|
122
|
+
async with AsyncOnebusawaySDK(
|
123
|
+
api_key=os.environ.get("ONEBUSAWAY_API_KEY"), # This is the default and can be omitted
|
124
|
+
http_client=DefaultAioHttpClient(),
|
125
|
+
) as client:
|
126
|
+
current_time = await client.current_time.retrieve()
|
127
|
+
|
128
|
+
|
129
|
+
asyncio.run(main())
|
130
|
+
```
|
131
|
+
|
98
132
|
## Using types
|
99
133
|
|
100
134
|
Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
|
@@ -64,6 +64,37 @@ asyncio.run(main())
|
|
64
64
|
|
65
65
|
Functionality between the synchronous and asynchronous clients is otherwise identical.
|
66
66
|
|
67
|
+
### With aiohttp
|
68
|
+
|
69
|
+
By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
|
70
|
+
|
71
|
+
You can enable this by installing `aiohttp`:
|
72
|
+
|
73
|
+
```sh
|
74
|
+
# install from PyPI
|
75
|
+
pip install onebusaway[aiohttp]
|
76
|
+
```
|
77
|
+
|
78
|
+
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
|
79
|
+
|
80
|
+
```python
|
81
|
+
import os
|
82
|
+
import asyncio
|
83
|
+
from onebusaway import DefaultAioHttpClient
|
84
|
+
from onebusaway import AsyncOnebusawaySDK
|
85
|
+
|
86
|
+
|
87
|
+
async def main() -> None:
|
88
|
+
async with AsyncOnebusawaySDK(
|
89
|
+
api_key=os.environ.get("ONEBUSAWAY_API_KEY"), # This is the default and can be omitted
|
90
|
+
http_client=DefaultAioHttpClient(),
|
91
|
+
) as client:
|
92
|
+
current_time = await client.current_time.retrieve()
|
93
|
+
|
94
|
+
|
95
|
+
asyncio.run(main())
|
96
|
+
```
|
97
|
+
|
67
98
|
## Using types
|
68
99
|
|
69
100
|
Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
|
@@ -3,7 +3,7 @@
|
|
3
3
|
errors=()
|
4
4
|
|
5
5
|
if [ -z "${PYPI_TOKEN}" ]; then
|
6
|
-
errors+=("The
|
6
|
+
errors+=("The PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets.")
|
7
7
|
fi
|
8
8
|
|
9
9
|
lenErrors=${#errors[@]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "onebusaway"
|
3
|
-
version = "1.
|
3
|
+
version = "1.13.1"
|
4
4
|
description = "The official Python library for the onebusaway-sdk API"
|
5
5
|
dynamic = ["readme"]
|
6
6
|
license = "Apache-2.0"
|
@@ -37,6 +37,8 @@ classifiers = [
|
|
37
37
|
Homepage = "https://github.com/OneBusAway/python-sdk"
|
38
38
|
Repository = "https://github.com/OneBusAway/python-sdk"
|
39
39
|
|
40
|
+
[project.optional-dependencies]
|
41
|
+
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.6"]
|
40
42
|
|
41
43
|
[tool.rye]
|
42
44
|
managed = true
|
@@ -10,6 +10,13 @@
|
|
10
10
|
# universal: false
|
11
11
|
|
12
12
|
-e file:.
|
13
|
+
aiohappyeyeballs==2.6.1
|
14
|
+
# via aiohttp
|
15
|
+
aiohttp==3.12.8
|
16
|
+
# via httpx-aiohttp
|
17
|
+
# via onebusaway
|
18
|
+
aiosignal==1.3.2
|
19
|
+
# via aiohttp
|
13
20
|
annotated-types==0.6.0
|
14
21
|
# via pydantic
|
15
22
|
anyio==4.4.0
|
@@ -17,6 +24,10 @@ anyio==4.4.0
|
|
17
24
|
# via onebusaway
|
18
25
|
argcomplete==3.1.2
|
19
26
|
# via nox
|
27
|
+
async-timeout==5.0.1
|
28
|
+
# via aiohttp
|
29
|
+
attrs==25.3.0
|
30
|
+
# via aiohttp
|
20
31
|
certifi==2023.7.22
|
21
32
|
# via httpcore
|
22
33
|
# via httpx
|
@@ -34,16 +45,23 @@ execnet==2.1.1
|
|
34
45
|
# via pytest-xdist
|
35
46
|
filelock==3.12.4
|
36
47
|
# via virtualenv
|
48
|
+
frozenlist==1.6.2
|
49
|
+
# via aiohttp
|
50
|
+
# via aiosignal
|
37
51
|
h11==0.14.0
|
38
52
|
# via httpcore
|
39
53
|
httpcore==1.0.2
|
40
54
|
# via httpx
|
41
55
|
httpx==0.28.1
|
56
|
+
# via httpx-aiohttp
|
42
57
|
# via onebusaway
|
43
58
|
# via respx
|
59
|
+
httpx-aiohttp==0.1.6
|
60
|
+
# via onebusaway
|
44
61
|
idna==3.4
|
45
62
|
# via anyio
|
46
63
|
# via httpx
|
64
|
+
# via yarl
|
47
65
|
importlib-metadata==7.0.0
|
48
66
|
iniconfig==2.0.0
|
49
67
|
# via pytest
|
@@ -51,6 +69,9 @@ markdown-it-py==3.0.0
|
|
51
69
|
# via rich
|
52
70
|
mdurl==0.1.2
|
53
71
|
# via markdown-it-py
|
72
|
+
multidict==6.4.4
|
73
|
+
# via aiohttp
|
74
|
+
# via yarl
|
54
75
|
mypy==1.14.1
|
55
76
|
mypy-extensions==1.0.0
|
56
77
|
# via mypy
|
@@ -65,6 +86,9 @@ platformdirs==3.11.0
|
|
65
86
|
# via virtualenv
|
66
87
|
pluggy==1.5.0
|
67
88
|
# via pytest
|
89
|
+
propcache==0.3.1
|
90
|
+
# via aiohttp
|
91
|
+
# via yarl
|
68
92
|
pydantic==2.10.3
|
69
93
|
# via onebusaway
|
70
94
|
pydantic-core==2.27.1
|
@@ -97,6 +121,7 @@ tomli==2.0.2
|
|
97
121
|
# via pytest
|
98
122
|
typing-extensions==4.12.2
|
99
123
|
# via anyio
|
124
|
+
# via multidict
|
100
125
|
# via mypy
|
101
126
|
# via onebusaway
|
102
127
|
# via pydantic
|
@@ -104,5 +129,7 @@ typing-extensions==4.12.2
|
|
104
129
|
# via pyright
|
105
130
|
virtualenv==20.24.5
|
106
131
|
# via nox
|
132
|
+
yarl==1.20.0
|
133
|
+
# via aiohttp
|
107
134
|
zipp==3.17.0
|
108
135
|
# via importlib-metadata
|
@@ -10,11 +10,22 @@
|
|
10
10
|
# universal: false
|
11
11
|
|
12
12
|
-e file:.
|
13
|
+
aiohappyeyeballs==2.6.1
|
14
|
+
# via aiohttp
|
15
|
+
aiohttp==3.12.8
|
16
|
+
# via httpx-aiohttp
|
17
|
+
# via onebusaway
|
18
|
+
aiosignal==1.3.2
|
19
|
+
# via aiohttp
|
13
20
|
annotated-types==0.6.0
|
14
21
|
# via pydantic
|
15
22
|
anyio==4.4.0
|
16
23
|
# via httpx
|
17
24
|
# via onebusaway
|
25
|
+
async-timeout==5.0.1
|
26
|
+
# via aiohttp
|
27
|
+
attrs==25.3.0
|
28
|
+
# via aiohttp
|
18
29
|
certifi==2023.7.22
|
19
30
|
# via httpcore
|
20
31
|
# via httpx
|
@@ -22,15 +33,28 @@ distro==1.8.0
|
|
22
33
|
# via onebusaway
|
23
34
|
exceptiongroup==1.2.2
|
24
35
|
# via anyio
|
36
|
+
frozenlist==1.6.2
|
37
|
+
# via aiohttp
|
38
|
+
# via aiosignal
|
25
39
|
h11==0.14.0
|
26
40
|
# via httpcore
|
27
41
|
httpcore==1.0.2
|
28
42
|
# via httpx
|
29
43
|
httpx==0.28.1
|
44
|
+
# via httpx-aiohttp
|
45
|
+
# via onebusaway
|
46
|
+
httpx-aiohttp==0.1.6
|
30
47
|
# via onebusaway
|
31
48
|
idna==3.4
|
32
49
|
# via anyio
|
33
50
|
# via httpx
|
51
|
+
# via yarl
|
52
|
+
multidict==6.4.4
|
53
|
+
# via aiohttp
|
54
|
+
# via yarl
|
55
|
+
propcache==0.3.1
|
56
|
+
# via aiohttp
|
57
|
+
# via yarl
|
34
58
|
pydantic==2.10.3
|
35
59
|
# via onebusaway
|
36
60
|
pydantic-core==2.27.1
|
@@ -40,6 +64,9 @@ sniffio==1.3.0
|
|
40
64
|
# via onebusaway
|
41
65
|
typing-extensions==4.12.2
|
42
66
|
# via anyio
|
67
|
+
# via multidict
|
43
68
|
# via onebusaway
|
44
69
|
# via pydantic
|
45
70
|
# via pydantic-core
|
71
|
+
yarl==1.20.0
|
72
|
+
# via aiohttp
|
@@ -36,7 +36,7 @@ from ._exceptions import (
|
|
36
36
|
UnprocessableEntityError,
|
37
37
|
APIResponseValidationError,
|
38
38
|
)
|
39
|
-
from ._base_client import DefaultHttpxClient, DefaultAsyncHttpxClient
|
39
|
+
from ._base_client import DefaultHttpxClient, DefaultAioHttpClient, DefaultAsyncHttpxClient
|
40
40
|
from ._utils._logs import setup_logging as _setup_logging
|
41
41
|
|
42
42
|
__all__ = [
|
@@ -78,6 +78,7 @@ __all__ = [
|
|
78
78
|
"DEFAULT_CONNECTION_LIMITS",
|
79
79
|
"DefaultHttpxClient",
|
80
80
|
"DefaultAsyncHttpxClient",
|
81
|
+
"DefaultAioHttpClient",
|
81
82
|
]
|
82
83
|
|
83
84
|
if not _t.TYPE_CHECKING:
|
@@ -1289,6 +1289,24 @@ class _DefaultAsyncHttpxClient(httpx.AsyncClient):
|
|
1289
1289
|
super().__init__(**kwargs)
|
1290
1290
|
|
1291
1291
|
|
1292
|
+
try:
|
1293
|
+
import httpx_aiohttp
|
1294
|
+
except ImportError:
|
1295
|
+
|
1296
|
+
class _DefaultAioHttpClient(httpx.AsyncClient):
|
1297
|
+
def __init__(self, **_kwargs: Any) -> None:
|
1298
|
+
raise RuntimeError("To use the aiohttp client you must have installed the package with the `aiohttp` extra")
|
1299
|
+
else:
|
1300
|
+
|
1301
|
+
class _DefaultAioHttpClient(httpx_aiohttp.HttpxAiohttpClient): # type: ignore
|
1302
|
+
def __init__(self, **kwargs: Any) -> None:
|
1303
|
+
kwargs.setdefault("timeout", DEFAULT_TIMEOUT)
|
1304
|
+
kwargs.setdefault("limits", DEFAULT_CONNECTION_LIMITS)
|
1305
|
+
kwargs.setdefault("follow_redirects", True)
|
1306
|
+
|
1307
|
+
super().__init__(**kwargs)
|
1308
|
+
|
1309
|
+
|
1292
1310
|
if TYPE_CHECKING:
|
1293
1311
|
DefaultAsyncHttpxClient = httpx.AsyncClient
|
1294
1312
|
"""An alias to `httpx.AsyncClient` that provides the same defaults that this SDK
|
@@ -1297,8 +1315,12 @@ if TYPE_CHECKING:
|
|
1297
1315
|
This is useful because overriding the `http_client` with your own instance of
|
1298
1316
|
`httpx.AsyncClient` will result in httpx's defaults being used, not ours.
|
1299
1317
|
"""
|
1318
|
+
|
1319
|
+
DefaultAioHttpClient = httpx.AsyncClient
|
1320
|
+
"""An alias to `httpx.AsyncClient` that changes the default HTTP transport to `aiohttp`."""
|
1300
1321
|
else:
|
1301
1322
|
DefaultAsyncHttpxClient = _DefaultAsyncHttpxClient
|
1323
|
+
DefaultAioHttpClient = _DefaultAioHttpClient
|
1302
1324
|
|
1303
1325
|
|
1304
1326
|
class AsyncHttpxClientWrapper(DefaultAsyncHttpxClient):
|
@@ -44,7 +44,9 @@ class TestAgenciesWithCoverage:
|
|
44
44
|
|
45
45
|
|
46
46
|
class TestAsyncAgenciesWithCoverage:
|
47
|
-
parametrize = pytest.mark.parametrize(
|
47
|
+
parametrize = pytest.mark.parametrize(
|
48
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
49
|
+
)
|
48
50
|
|
49
51
|
@parametrize
|
50
52
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestAgency:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncAgency:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -129,7 +129,9 @@ class TestArrivalAndDeparture:
|
|
129
129
|
|
130
130
|
|
131
131
|
class TestAsyncArrivalAndDeparture:
|
132
|
-
parametrize = pytest.mark.parametrize(
|
132
|
+
parametrize = pytest.mark.parametrize(
|
133
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
134
|
+
)
|
133
135
|
|
134
136
|
@parametrize
|
135
137
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestBlock:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncBlock:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -44,7 +44,9 @@ class TestConfig:
|
|
44
44
|
|
45
45
|
|
46
46
|
class TestAsyncConfig:
|
47
|
-
parametrize = pytest.mark.parametrize(
|
47
|
+
parametrize = pytest.mark.parametrize(
|
48
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
49
|
+
)
|
48
50
|
|
49
51
|
@parametrize
|
50
52
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -44,7 +44,9 @@ class TestCurrentTime:
|
|
44
44
|
|
45
45
|
|
46
46
|
class TestAsyncCurrentTime:
|
47
|
-
parametrize = pytest.mark.parametrize(
|
47
|
+
parametrize = pytest.mark.parametrize(
|
48
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
49
|
+
)
|
48
50
|
|
49
51
|
@parametrize
|
50
52
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
{onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_report_problem_with_stop.py
RENAMED
@@ -69,7 +69,9 @@ class TestReportProblemWithStop:
|
|
69
69
|
|
70
70
|
|
71
71
|
class TestAsyncReportProblemWithStop:
|
72
|
-
parametrize = pytest.mark.parametrize(
|
72
|
+
parametrize = pytest.mark.parametrize(
|
73
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
74
|
+
)
|
73
75
|
|
74
76
|
@parametrize
|
75
77
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
{onebusaway-1.12.2 → onebusaway-1.13.1}/tests/api_resources/test_report_problem_with_trip.py
RENAMED
@@ -74,7 +74,9 @@ class TestReportProblemWithTrip:
|
|
74
74
|
|
75
75
|
|
76
76
|
class TestAsyncReportProblemWithTrip:
|
77
|
-
parametrize = pytest.mark.parametrize(
|
77
|
+
parametrize = pytest.mark.parametrize(
|
78
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
79
|
+
)
|
78
80
|
|
79
81
|
@parametrize
|
80
82
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestRoute:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncRoute:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestRouteIDsForAgency:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncRouteIDsForAgency:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestRoutesForAgency:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncRoutesForAgency:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -65,7 +65,9 @@ class TestRoutesForLocation:
|
|
65
65
|
|
66
66
|
|
67
67
|
class TestAsyncRoutesForLocation:
|
68
|
-
parametrize = pytest.mark.parametrize(
|
68
|
+
parametrize = pytest.mark.parametrize(
|
69
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
70
|
+
)
|
69
71
|
|
70
72
|
@parametrize
|
71
73
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -66,7 +66,9 @@ class TestScheduleForRoute:
|
|
66
66
|
|
67
67
|
|
68
68
|
class TestAsyncScheduleForRoute:
|
69
|
-
parametrize = pytest.mark.parametrize(
|
69
|
+
parametrize = pytest.mark.parametrize(
|
70
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
71
|
+
)
|
70
72
|
|
71
73
|
@parametrize
|
72
74
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -66,7 +66,9 @@ class TestScheduleForStop:
|
|
66
66
|
|
67
67
|
|
68
68
|
class TestAsyncScheduleForStop:
|
69
|
-
parametrize = pytest.mark.parametrize(
|
69
|
+
parametrize = pytest.mark.parametrize(
|
70
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
71
|
+
)
|
70
72
|
|
71
73
|
@parametrize
|
72
74
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -58,7 +58,9 @@ class TestSearchForRoute:
|
|
58
58
|
|
59
59
|
|
60
60
|
class TestAsyncSearchForRoute:
|
61
|
-
parametrize = pytest.mark.parametrize(
|
61
|
+
parametrize = pytest.mark.parametrize(
|
62
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
63
|
+
)
|
62
64
|
|
63
65
|
@parametrize
|
64
66
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -58,7 +58,9 @@ class TestSearchForStop:
|
|
58
58
|
|
59
59
|
|
60
60
|
class TestAsyncSearchForStop:
|
61
|
-
parametrize = pytest.mark.parametrize(
|
61
|
+
parametrize = pytest.mark.parametrize(
|
62
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
63
|
+
)
|
62
64
|
|
63
65
|
@parametrize
|
64
66
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestShape:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncShape:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestStop:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncStop:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestStopIDsForAgency:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncStopIDsForAgency:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestStopsForAgency:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncStopsForAgency:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -65,7 +65,9 @@ class TestStopsForLocation:
|
|
65
65
|
|
66
66
|
|
67
67
|
class TestAsyncStopsForLocation:
|
68
|
-
parametrize = pytest.mark.parametrize(
|
68
|
+
parametrize = pytest.mark.parametrize(
|
69
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
70
|
+
)
|
69
71
|
|
70
72
|
@parametrize
|
71
73
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -66,7 +66,9 @@ class TestStopsForRoute:
|
|
66
66
|
|
67
67
|
|
68
68
|
class TestAsyncStopsForRoute:
|
69
|
-
parametrize = pytest.mark.parametrize(
|
69
|
+
parametrize = pytest.mark.parametrize(
|
70
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
71
|
+
)
|
70
72
|
|
71
73
|
@parametrize
|
72
74
|
async def test_method_list(self, async_client: AsyncOnebusawaySDK) -> None:
|
@@ -57,7 +57,9 @@ class TestTrip:
|
|
57
57
|
|
58
58
|
|
59
59
|
class TestAsyncTrip:
|
60
|
-
parametrize = pytest.mark.parametrize(
|
60
|
+
parametrize = pytest.mark.parametrize(
|
61
|
+
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
62
|
+
)
|
61
63
|
|
62
64
|
@parametrize
|
63
65
|
async def test_method_retrieve(self, async_client: AsyncOnebusawaySDK) -> None:
|