Skip to content

Commit

Permalink
Brings back a docs link that was removed because it wasn’t online yet (
Browse files Browse the repository at this point in the history
…#683)

* Brings back the link we removed because it wasn’t online yet

Signed-off-by: Elena Kolevska <elena@kolevska.com>

* Updates ruff config for 0.2.2 (#680)

Signed-off-by: Elena Kolevska <elena@kolevska.com>

---------

Signed-off-by: Elena Kolevska <elena@kolevska.com>
Co-authored-by: Bernd Verst <github@bernd.dev>
  • Loading branch information
elena-kolevska and berndverst authored Apr 30, 2024
1 parent 06e1587 commit ae37977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/error_handling/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Example - Error handling

This guide demonstrates handling `DaprGrpcError` errors when using the Dapr python-SDK. It's important to note that not all Dapr gRPC status errors are currently captured and transformed into a `DaprGrpcError` by the SDK. Efforts are ongoing to enhance this aspect, and contributions are welcome. For detailed information on error handling in Dapr, refer to the [official documentation](https://docs.dapr.io/reference/).
This guide demonstrates handling `DaprGrpcError` errors when using the Dapr python-SDK. It's important to note that not all Dapr gRPC status errors are currently captured and transformed into a `DaprGrpcError` by the SDK. Efforts are ongoing to enhance this aspect, and contributions are welcome. For detailed information on error handling in Dapr, refer to the [official documentation](https://docs.dapr.io/reference/errors).

The example involves creating a DaprClient and invoking the save_state method.
It uses the default configuration from Dapr init in [self-hosted mode](https://github.com/dapr/cli#install-dapr-on-your-local-machine-self-hosted).
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ target-version = "py38"
line-length = 100
fix = true
extend-exclude = [".github", "dapr/proto"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
Expand Down

0 comments on commit ae37977

Please sign in to comment.