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 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="PORT"),
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lkr-dev-cli
3
- Version: 0.0.27
3
+ Version: 0.0.29
4
4
  Summary: lkr: a command line interface for looker
5
5
  Author: bwebs
6
6
  License-Expression: MIT
@@ -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=nJyCtRtYAw2sL0AqQBwk7VOhlqb9veVMypkA4oTJmXI,2623
21
- lkr_dev_cli-0.0.27.dist-info/METADATA,sha256=Xt8gXEvd0ufytFL5FubA700iS9-RTaKW9OcN7IxweAc,10953
22
- lkr_dev_cli-0.0.27.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
- lkr_dev_cli-0.0.27.dist-info/entry_points.txt,sha256=nn2sFMGDpwUVE61ZUpbDPnQZkW7Gc08nV-tyLGo8q34,37
24
- lkr_dev_cli-0.0.27.dist-info/licenses/LICENSE,sha256=hKnCOORW1JRE_M2vStz8dblS5u1iR-2VpqS9xagKNa0,1063
25
- lkr_dev_cli-0.0.27.dist-info/RECORD,,
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,,