Skip to content

Commit 0302445

Browse files
committed
Initial support for CosmosDB
1 parent abfdccc commit 0302445

File tree

15 files changed

+99
-31
lines changed

15 files changed

+99
-31
lines changed

api/src/api/.env.Staging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
LoggingLevel="INFO"
1+
LoggingLevel="CRITICAL"

api/src/api/application_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
SettingsConfigDict,
1212
)
1313

14-
from api.application_environment import ApplicationEnvironment
14+
from common.application_environment import ApplicationEnvironment
1515

1616

1717
class ApplicationSettings(BaseSettings):

api/src/api/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
from fastapi import FastAPI
22

3-
from domain.domain_printer import DomainPrinter
4-
53
app = FastAPI()
64

75

86
@app.get("/")
97
async def root() -> str:
10-
DomainPrinter().print()
118
return "Hello"

common/pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[project]
2+
name = "common"
3+
version = "0.1.0"
4+
dependencies = []
5+
6+
[build-system]
7+
requires = ["hatchling"]
8+
build-backend = "hatchling.build"
File renamed without changes.

common/src/common/py.typed

Whitespace-only changes.

domain/src/domain/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
def hello() -> str:
2-
return "Hello from domain!"

domain/src/domain/domain_printer.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

domain/src/domain/entities/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)