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.
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/PKG-INFO +1 -1
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/tools/main.py +5 -1
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr.md +33 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/pyproject.toml +1 -1
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.github/workflows/release.yml +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.gitignore +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.python-version +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.vscode/launch.json +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/.vscode/settings.json +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/Dockerfile +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/LICENSE +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/Makefile +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/README.md +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/cloudbuild.yaml +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/__init__.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth/__init__.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth/main.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth/oauth.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/auth_service.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/classes.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/constants.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/custom_types.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/exceptions.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/logger.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/main.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/mcp/classes.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/mcp/main.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/mcp/utils.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/classes.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/embed_container.html +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/main.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/observability/utils.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/lkr/tools/classes.py +0 -0
- {lkr_dev_cli-0.0.28 → lkr_dev_cli-0.0.29}/uv.lock +0 -0
@@ -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
|
|
@@ -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.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|