Skip to content

Commit bfd568c

Browse files
committed
fixup! 📝(api) add CLI documentation
1 parent b43488f commit bfd568c

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

docs/cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Commands
22

3+
<!-- prettier-ignore -->
34
::: mkdocs-click
45
:module: warren.cli
56
:command: cli

docs/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ dependencies = [
3333
"mkdocs==1.6.0",
3434
"neoteroi-mkdocs==1.0.5",
3535
"pymdown-extensions==10.8.1",
36+
"warren-api==0.5.0",
3637
]
3738

3839
[project.urls]

src/api/core/warren/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ class Settings(BaseSettings):
2222
DEBUG: bool = False
2323

2424
# LRS backend
25-
LRS_HOSTS: Union[List[AnyHttpUrl], AnyHttpUrl]
26-
LRS_AUTH_BASIC_USERNAME: str
27-
LRS_AUTH_BASIC_PASSWORD: str
25+
LRS_HOSTS: Union[List[AnyHttpUrl], AnyHttpUrl] = "http://ralph:8200"
26+
LRS_AUTH_BASIC_USERNAME: str = "ralph"
27+
LRS_AUTH_BASIC_PASSWORD: str = "secret"
2828

2929
# Warren server
3030
SERVER_PROTOCOL: str = "http"
@@ -65,8 +65,8 @@ class Settings(BaseSettings):
6565
API_TEST_DB_NAME: str = "test-warren-api"
6666

6767
# Token
68-
APP_SIGNING_ALGORITHM: str
69-
APP_SIGNING_KEY: str
68+
APP_SIGNING_ALGORITHM: str = "HS256"
69+
APP_SIGNING_KEY: str = "SigningKeyToChange__NOT_SUITABLE_FOR_PRODUCTION"
7070

7171
# Sentry
7272
SENTRY_DSN: Optional[str] = None

0 commit comments

Comments
 (0)