lkr-dev-cli 0.0.27__py3-none-any.whl → 0.0.29__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lkr/tools/main.py +5 -1
- {lkr_dev_cli-0.0.27.dist-info → lkr_dev_cli-0.0.29.dist-info}/METADATA +1 -1
- {lkr_dev_cli-0.0.27.dist-info → lkr_dev_cli-0.0.29.dist-info}/RECORD +6 -6
- {lkr_dev_cli-0.0.27.dist-info → lkr_dev_cli-0.0.29.dist-info}/WHEEL +0 -0
- {lkr_dev_cli-0.0.27.dist-info → lkr_dev_cli-0.0.29.dist-info}/entry_points.txt +0 -0
- {lkr_dev_cli-0.0.27.dist-info → lkr_dev_cli-0.0.29.dist-info}/licenses/LICENSE +0 -0
lkr/tools/main.py
CHANGED
@@ -16,7 +16,7 @@ group = typer.Typer()
|
|
16
16
|
def user_attribute_updater(
|
17
17
|
ctx: typer.Context,
|
18
18
|
host: str = typer.Option(default="127.0.0.1", envvar="HOST"),
|
19
|
-
port: int = typer.Option(default=8080, envvar="
|
19
|
+
port: int = typer.Option(default=8080, envvar="x`"),
|
20
20
|
):
|
21
21
|
api = FastAPI()
|
22
22
|
|
@@ -74,6 +74,10 @@ def user_attribute_updater(
|
|
74
74
|
except Exception as e:
|
75
75
|
return AttributeUpdaterResponse(success=False, message=str(e))
|
76
76
|
|
77
|
+
@api.get("")
|
78
|
+
def health():
|
79
|
+
return {"status": "ok"}
|
80
|
+
|
77
81
|
uvicorn.run(api, host=host, port=port)
|
78
82
|
|
79
83
|
|
@@ -17,9 +17,9 @@ lkr/observability/embed_container.html,sha256=IcDG-QVsYYNGQGrkDrx9OMZ2Pmo4C8oAjR
|
|
17
17
|
lkr/observability/main.py,sha256=XbejIdqhNNUMqHVezb5EnLaJ32dO9-Bt0o5d8lc0kyw,9544
|
18
18
|
lkr/observability/utils.py,sha256=UpaBrp_ufaXLoz4p3xG3K6lHKBpP9wBhvP8rDmeGoWg,2148
|
19
19
|
lkr/tools/classes.py,sha256=7QJwm0Ywm8QIqkvgCWnpRI12C-DxLUznXj_BNF_gifI,7759
|
20
|
-
lkr/tools/main.py,sha256=
|
21
|
-
lkr_dev_cli-0.0.
|
22
|
-
lkr_dev_cli-0.0.
|
23
|
-
lkr_dev_cli-0.0.
|
24
|
-
lkr_dev_cli-0.0.
|
25
|
-
lkr_dev_cli-0.0.
|
20
|
+
lkr/tools/main.py,sha256=5Ak_VWziE-U2RiXy0bfGkAGHcjyD36OFxILdS06L0qg,2689
|
21
|
+
lkr_dev_cli-0.0.29.dist-info/METADATA,sha256=Ldb4fpu2ztX7-07ynB3crjqhA9LxWx2IJwFMhYeJIWk,10953
|
22
|
+
lkr_dev_cli-0.0.29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
23
|
+
lkr_dev_cli-0.0.29.dist-info/entry_points.txt,sha256=nn2sFMGDpwUVE61ZUpbDPnQZkW7Gc08nV-tyLGo8q34,37
|
24
|
+
lkr_dev_cli-0.0.29.dist-info/licenses/LICENSE,sha256=hKnCOORW1JRE_M2vStz8dblS5u1iR-2VpqS9xagKNa0,1063
|
25
|
+
lkr_dev_cli-0.0.29.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|