Skip to content

Commit e18f3cb

Browse files
committed
Update parameters
1 parent ce6d706 commit e18f3cb

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ which relies on the `azure.yaml` file and the configuration files in the `infra`
5151
Steps for deployment:
5252
5353
1. Sign up for a [free Azure account](https://azure.microsoft.com/free/) and create an Azure Subscription.
54-
3. Login to Azure:
54+
2. Login to Azure:
5555
5656
```shell
5757
azd auth login

function/fastapi_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ImageResponse(fastapi.responses.Response):
2222
responses={200: {"content": {"image/png": {"schema": {"type": "string", "format": "binary"}}}}},
2323
)
2424
def generate_map(
25-
center: str = fastapi.Query(example="40.714728,-73.998672", regex=r"^-?\d+(\.\d+)?,-?\d+(\.\d+)?$"),
25+
center: str = fastapi.Query(example="40.714728,-73.998672", pattern=r"^-?\d+(\.\d+)?,-?\d+(\.\d+)?$"),
2626
zoom: int = fastapi.Query(example=12, ge=0, le=30),
2727
width: int = 400,
2828
height: int = 400,

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
-r requirements.txt
2-
fastapi[all]
32
pytest
43
coverage
54
pytest-cov

0 commit comments

Comments
 (0)