pybuildkite
pybuildkite copied to clipboard
A Python library for the Buildkite API
Instead of re-connecting for each HTTP request, reuse the connection for all of them. The connection is only reused if reusing the same client.
https://buildkite.com/changelog/215-upcoming-change-to-the-buildkite-api Will there be a SDK release that includes the changes?
If you use a datetime object including tzinfo e.g. ``` from datetime import datetime, deltatime from datetime impor timezone UTC = timezone.utc finished_from = datetime.now(UTC)-deltatime(days=1) ``` then you'll get an...
`tests/test_client.py::TestClientRequest` can fail when running with `pytest --randomly-seed=1234` or `pytest --randomly-seed=123`.
Sometimes I see my jobs fail to submit due to a network transient error. If you use `requests.Session` with a reasonable default of retries (3?) it should address the vast...
It would be great if pybuildkite shipped with type stubs included so that consuming projects could use mypy to ensure that they are using valid fields/functions on pybuildkite objects I...
Create a method for the [Add a Webhook](https://buildkite.com/docs/apis/rest-api/pipelines#add-a-webhook) functionality - Create a new method in `pipelines.py` to use the endpoint described above - Write unit tests for the new code
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.0. Release notes Sourced from requests's releases. v2.32.0 2.32.0 (2024-05-20) 🐍 PYCON US 2024 EDITION 🐍 Security Fixed an issue where setting verify=False on the...