lkr-dev-cli 0.0.28__tar.gz → 0.0.29__tar.gz

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.
Files changed (34) hide show
  1. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/PKG-INFO +1 -1
  2. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/tools/main.py +5 -1
  3. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr.md +33 -0
  4. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/pyproject.toml +1 -1
  5. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.github/workflows/release.yml +0 -0
  6. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.gitignore +0 -0
  7. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.python-version +0 -0
  8. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.vscode/launch.json +0 -0
  9. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.vscode/settings.json +0 -0
  10. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/Dockerfile +0 -0
  11. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/LICENSE +0 -0
  12. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/Makefile +0 -0
  13. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/README.md +0 -0
  14. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/cloudbuild.yaml +0 -0
  15. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/__init__.py +0 -0
  16. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth/__init__.py +0 -0
  17. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth/main.py +0 -0
  18. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth/oauth.py +0 -0
  19. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth_service.py +0 -0
  20. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/classes.py +0 -0
  21. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/constants.py +0 -0
  22. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/custom_types.py +0 -0
  23. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/exceptions.py +0 -0
  24. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/logger.py +0 -0
  25. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/main.py +0 -0
  26. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/mcp/classes.py +0 -0
  27. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/mcp/main.py +0 -0
  28. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/mcp/utils.py +0 -0
  29. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/classes.py +0 -0
  30. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/embed_container.html +0 -0
  31. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/main.py +0 -0
  32. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/utils.py +0 -0
  33. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/tools/classes.py +0 -0
  34. {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lkr-dev-cli
3
- Version: 0.0.28
3
+ Version: 0.0.29
4
4
  Summary: lkr: a command line interface for looker
5
5
  Author: bwebs
6
6
  License-Expression: MIT
@@ -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
 
@@ -16,6 +16,7 @@ $ lkr [OPTIONS] COMMAND [ARGS]...
16
16
  * `--log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]`: [env var: LOG_LEVEL]
17
17
  * `--quiet`
18
18
  * `--force-oauth`
19
+ * `--dev`
19
20
  * `--install-completion`: Install completion for the current shell.
20
21
  * `--show-completion`: Show completion for the current shell, to copy it or customize the installation.
21
22
  * `--help`: Show this message and exit.
@@ -25,6 +26,7 @@ $ lkr [OPTIONS] COMMAND [ARGS]...
25
26
  * `auth`: Authentication commands for LookML Repository
26
27
  * `mcp`
27
28
  * `observability`
29
+ * `tools`
28
30
 
29
31
  ## `lkr auth`
30
32
 
@@ -132,6 +134,7 @@ $ lkr mcp run [OPTIONS]
132
134
 
133
135
  **Options**:
134
136
 
137
+ * `--debug / --no-debug`: Debug mode [default: no-debug]
135
138
  * `--help`: Show this message and exit.
136
139
 
137
140
  ## `lkr observability`
@@ -167,3 +170,33 @@ $ lkr observability embed [OPTIONS]
167
170
  * `--timeout INTEGER`: Timeout for the health check [env var: TIMEOUT; default: 120]
168
171
  * `--event-prefix TEXT`: Event prefix [env var: EVENT_PREFIX; default: lkr-observability]
169
172
  * `--help`: Show this message and exit.
173
+
174
+ ## `lkr tools`
175
+
176
+ **Usage**:
177
+
178
+ ```console
179
+ $ lkr tools [OPTIONS] COMMAND [ARGS]...
180
+ ```
181
+
182
+ **Options**:
183
+
184
+ * `--help`: Show this message and exit.
185
+
186
+ **Commands**:
187
+
188
+ * `user-attribute-updater`
189
+
190
+ ### `lkr tools user-attribute-updater`
191
+
192
+ **Usage**:
193
+
194
+ ```console
195
+ $ lkr tools user-attribute-updater [OPTIONS]
196
+ ```
197
+
198
+ **Options**:
199
+
200
+ * `--host TEXT`: [env var: HOST; default: 127.0.0.1]
201
+ * `--port INTEGER`: [env var: PORT; default: 8080]
202
+ * `--help`: Show this message and exit.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lkr-dev-cli"
3
- version = "0.0.28"
3
+ version = "0.0.29"
4
4
  description = "lkr: a command line interface for looker"
5
5
  readme = "README.md"
6
6
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes