Skip to content

Commit

Permalink
Merge pull request #26 from savannahghi/develop
Browse files Browse the repository at this point in the history
release v1.2.0
  • Loading branch information
kennedykori committed Mar 30, 2024
2 parents 1dd88d5 + 7ee5de3 commit 0dc2427
Show file tree
Hide file tree
Showing 7 changed files with 740 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.2.0-rc.1](https://github.com/savannahghi/sghi-commons/compare/v1.1.0...v1.2.0-rc.1) (2024-03-30)


### Features

* **retry:** add `Retry` policy interface ([#25](https://github.com/savannahghi/sghi-commons/issues/25)) ([14db0fd](https://github.com/savannahghi/sghi-commons/commit/14db0fd56865ce63ee6e763f097c9f4296240a0b))

## [1.1.0](https://github.com/savannahghi/sghi-commons/compare/v1.0.1...v1.1.0) (2024-03-21)


Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
("py:class", "concurrent.futures._base.Executor"), # sphinx can't find it
("py:class", "concurrent.futures._base.Future"), # sphinx can't find it
("py:class", "sghi.dispatch._ST_contra"), # private type annotations
("py:class", "sghi.retry._RT"), # private type annotations
("py:class", "sghi.task._IT"), # private type annotations
("py:class", "sghi.task._OT"), # private type annotations
("py:class", "sghi.utils.checkers._Comparable"), # private type annotations
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ API Reference
sghi.disposable
sghi.exceptions
sghi.registry
sghi.retry
sghi.task
sghi.typing
sghi.utils
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sghi-commons",
"version": "1.1.0",
"version": "1.2.0-rc.1",
"description": "Collection of utilities and reusable components used throughout our Python projects.",
"directories": {
"doc": "docs"
Expand Down
4 changes: 4 additions & 0 deletions src/sghi/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ def message(self) -> str | None:
or ``None`` if one wasn't given.
"""
return self._message


class SGHITransientError(SGHIError):
"""An error that indicates a temporary failure."""
Loading

0 comments on commit 0dc2427

Please sign in to comment.