Skip to content

Commit

Permalink
Fix for new Sybil release
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Nov 23, 2023
1 parent 2ed3a08 commit eaac305
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ The goal is to minimize the code for acquiring pluggable services to:
<!-- end index -->
<!-- end benefits -->

<!--
; skip: next
-->
<!-- skip: next -->

```python
from svcs.your_framework import svcs_from
Expand Down
3 changes: 2 additions & 1 deletion docs/core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ If your application requests a `Connection` instance before you register the loc

It is safer and easier to reason about your code if you keep the dependency arrows point from the local registry to the global one:

% skip: next -- Python 3.12
% Skip because Python 3.12 syntax and we can't build on it yet.
% skip: next

```python
# The global connection factory that creates and cleans up vanilla
Expand Down
6 changes: 3 additions & 3 deletions src/svcs/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ def register_factory(
enter:
Whether to enter context managers if one is returned by
*factory*. Usually you want that, but there are occasions --
like database transaction managers -- that you want to enter
manually.
*factory*. Usually you want that, but there are occasions --
like database transaction managers -- that you want to enter
manually.
ping:
A callable that marks the service as having a health check.
Expand Down

0 comments on commit eaac305

Please sign in to comment.