Skip to content

Commit

Permalink
Correct permissions for pages publish
Browse files Browse the repository at this point in the history
  • Loading branch information
will-ockmore committed Jan 26, 2025
1 parent 4d3b821 commit 678232d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Publish

permissions:
contents: read
id-token: write
contents: write
pages: write
id-token: write

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

---

HTTPX Retries is a full implementation of request retry policies for HTTPX.
HTTPX Retries implements request retry for [HTTPX](https://www.python-httpx.org/).

It's very common to deal with **flaky** and **unreliable** APIs. When requests fail, your program needs to be able
to retry them.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

---

HTTPX Retries is a full implementation of request retry policies for HTTPX.
HTTPX Retries implements request retry for [HTTPX](https://www.python-httpx.org/).

It's very common to deal with **flaky** and **unreliable** APIs. When requests fail, your program needs to be able
to retry them.
Expand Down Expand Up @@ -60,7 +60,7 @@ with httpx.Client(transport=transport) as client:

## Features

HTTPX Retries builds on the patterns users will expect from `urllib` and `requests`. The typical approach has been
HTTPX Retries builds on the patterns users expect from `urllib` and `requests`. The typical approach has been
to use [urllib3's Retry](https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html#urllib3.util.Retry)
utility to configure a retry policy. The equivalent code to match the above example using
[requests](https://requests.readthedocs.io/en/latest/) is:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "httpx-retries"
version = "0.2.0"
version = "0.2.1"
description = "A retry layer for HTTPX."
requires-python = ">=3.9"
authors = [{ name = "Will Ockmore", email = "[email protected]" }]
Expand Down

0 comments on commit 678232d

Please sign in to comment.