From de6374eb8a35521957cdb40d9914aa78f2d7775d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 9 Jul 2023 10:52:13 +0000 Subject: [PATCH 1/4] Update fastapi requirement from ~=0.98.0 to ~=0.100.0 in /code/function Updates the requirements on [fastapi](https://github.com/tiangolo/fastapi) to permit the latest version. - [Release notes](https://github.com/tiangolo/fastapi/releases) - [Commits](https://github.com/tiangolo/fastapi/compare/0.98.0...0.100.0) --- updated-dependencies: - dependency-name: fastapi dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- code/function/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/function/requirements.txt b/code/function/requirements.txt index 9555e58..feea43f 100644 --- a/code/function/requirements.txt +++ b/code/function/requirements.txt @@ -4,7 +4,7 @@ # azure-identity~=1.13.0 azure-functions~=1.15.0 -fastapi~=0.98.0 +fastapi~=0.100.0 aiohttp~=3.8.4 opentelemetry-instrumentation-fastapi==0.39b0 azure-monitor-opentelemetry-exporter==1.0.0b14 From ab463d57841c88d343bbbe7bf3441b4421d42bde Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Wed, 12 Jul 2023 09:30:08 +0200 Subject: [PATCH 2/4] Update base settings --- code/function/fastapp/core/config.py | 3 ++- code/function/requirements.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/function/fastapp/core/config.py b/code/function/fastapp/core/config.py index f727f9b..36a5cc8 100644 --- a/code/function/fastapp/core/config.py +++ b/code/function/fastapp/core/config.py @@ -1,6 +1,7 @@ import logging -from pydantic import BaseSettings, Field +from pydantic_settings import BaseSettings +from pydantic import Field class Settings(BaseSettings): diff --git a/code/function/requirements.txt b/code/function/requirements.txt index feea43f..c9589c1 100644 --- a/code/function/requirements.txt +++ b/code/function/requirements.txt @@ -5,6 +5,7 @@ # azure-identity~=1.13.0 azure-functions~=1.15.0 fastapi~=0.100.0 +pydantic-settings~=2.0.1 aiohttp~=3.8.4 opentelemetry-instrumentation-fastapi==0.39b0 azure-monitor-opentelemetry-exporter==1.0.0b14 From eed0ab61f7309125f28ca3afbebe97ef5b9ea8bc Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Wed, 12 Jul 2023 09:30:45 +0200 Subject: [PATCH 3/4] Update tf azurerm version --- code/infra/terraform.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/infra/terraform.tf b/code/infra/terraform.tf index 3610df9..2209033 100644 --- a/code/infra/terraform.tf +++ b/code/infra/terraform.tf @@ -4,7 +4,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "3.62.1" + version = "3.64.0" } azapi = { source = "azure/azapi" From e2b30bb63da2b24ab68614bc19538ff5fcf93062 Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Wed, 12 Jul 2023 09:32:04 +0200 Subject: [PATCH 4/4] lint --- code/function/fastapp/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/function/fastapp/core/config.py b/code/function/fastapp/core/config.py index 36a5cc8..5d7009c 100644 --- a/code/function/fastapp/core/config.py +++ b/code/function/fastapp/core/config.py @@ -1,7 +1,7 @@ import logging -from pydantic_settings import BaseSettings from pydantic import Field +from pydantic_settings import BaseSettings class Settings(BaseSettings):