Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgafni committed Apr 2, 2023
1 parent 4501567 commit 9eee3eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class State(BaseModel):
Freak will generate `put` endpoints for the `foo` and `baz` fields, and a `patch` endpoint for the `bar` field (as it's a `pydantic` model itself). This `patch` endpoint supports partial updates:

```shell
curl -X 'PATCH' \
curl -X 'PATCH' \
'http://localhost:4444/set/bar' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
Expand All @@ -74,7 +74,7 @@ curl -X 'PATCH' \


```shell
curl -X 'PATCH' \
curl -X 'PATCH' \
'http://localhost:4444/set/bar' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
Expand Down
3 changes: 3 additions & 0 deletions freak/uvicorn_threaded.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
import uvicorn


# this code is taken from freqtrade


def asyncio_setup() -> None: # pragma: no cover
# Set eventloop for win32 setups
# Reverts a change done in uvicorn 0.15.0 - which now sets the eventloop
Expand Down

0 comments on commit 9eee3eb

Please sign in to comment.