bigeye-cli 0.3.64__tar.gz → 0.3.65__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.
- bigeye_cli-0.3.64/bigeye_cli/CLI_DOCS.md → bigeye_cli-0.3.65/PKG-INFO +22 -25
- bigeye_cli-0.3.64/PKG-INFO → bigeye_cli-0.3.65/bigeye_cli/CLI_DOCS.md +1 -46
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/catalog/catalog_commands.py +0 -70
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/pyproject.toml +1 -1
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/LICENSE +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/__main__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/__version__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/bigconfig/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/bigconfig/bigconfig_commands.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/bigconfig/bigconfig_options.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/catalog/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/collections/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/collections/collection_commands.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/configure/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/configure/configure_commands.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/deltas/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/deltas/deltas_commands.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/enums.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/exceptions/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/exceptions/exceptions.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/functions.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/global_options.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/issues/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/issues/issue_commands.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/lineage/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/lineage/lineage_commands.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/metric/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/metric/metric_commands.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/model/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/model/cicd_conf.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/model/github_report.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/model/vendor_report.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/workspace/__init__.py +0 -0
- {bigeye_cli-0.3.64 → bigeye_cli-0.3.65}/bigeye_cli/workspace/workspace_commands.py +0 -0
|
@@ -1,5 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: bigeye-cli
|
|
3
|
+
Version: 0.3.65
|
|
4
|
+
Summary: Bigeye CLI offers developer tools for maintaining your developer workspace.
|
|
5
|
+
Home-page: https://docs.bigeye.com/docs
|
|
6
|
+
License: Proprietary
|
|
7
|
+
Author: Bigeye
|
|
8
|
+
Author-email: support@bigeye.com
|
|
9
|
+
Requires-Python: >=3.9.0,<4.0.0
|
|
10
|
+
Classifier: License :: Other/Proprietary License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Requires-Dist: PyGithub (>=1.57,<2.0)
|
|
16
|
+
Requires-Dist: bigeye-sdk (>=0.4.84,<0.5.0)
|
|
17
|
+
Requires-Dist: click (>=8.0.4,<9.0.0)
|
|
18
|
+
Requires-Dist: rich (>=12.4.4,<13.0.0)
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
1
21
|
# **Bigeye CLI**
|
|
2
|
-
Version: 0.3.
|
|
22
|
+
Version: 0.3.65
|
|
3
23
|
## Installation
|
|
4
24
|
|
|
5
25
|
**Setting up your local/build environment**
|
|
@@ -667,7 +687,6 @@ $ bigeye catalog [OPTIONS] COMMAND [ARGS]...
|
|
|
667
687
|
* `delete-source`: Delete a source from specified Bigeye...
|
|
668
688
|
* `delete-template`: Delete a template.
|
|
669
689
|
* `delete-virtual-table`: Delete a virtual table.
|
|
670
|
-
* `deploy-all-autometrics`: Deploys all Autometrics to specified...
|
|
671
690
|
* `get-all-metric-templates`: Retrieve all metric templates and output...
|
|
672
691
|
* `get-metric-info`: Outputs metric info to a file.
|
|
673
692
|
* `get-metric-queries`: Gets the debug queries for all metrics by...
|
|
@@ -825,29 +844,6 @@ $ bigeye catalog delete-virtual-table [OPTIONS]
|
|
|
825
844
|
* `-sn, --source_name TEXT`: The name of the source where the template will be defined [required]
|
|
826
845
|
* `--help`: Show this message and exit.
|
|
827
846
|
|
|
828
|
-
## `bigeye catalog deploy-all-autometrics`
|
|
829
|
-
|
|
830
|
-
Deploys all Autometrics to specified warehouse OR warehouse and list of schema names OR warehouse and list of
|
|
831
|
-
table ids.
|
|
832
|
-
|
|
833
|
-
**Usage**:
|
|
834
|
-
|
|
835
|
-
```console
|
|
836
|
-
$ bigeye catalog deploy-all-autometrics [OPTIONS]
|
|
837
|
-
```
|
|
838
|
-
|
|
839
|
-
**Options**:
|
|
840
|
-
|
|
841
|
-
* `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
|
|
842
|
-
* `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
|
|
843
|
-
* `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
|
|
844
|
-
* `-wid, --warehouse_id INTEGER`: Deploy autometrics to all tables in warehouse.
|
|
845
|
-
* `-sn, --schema_name TEXT`: List of Schema Names. E.g. -sn schema_1 -sn schema_2.
|
|
846
|
-
* `-tid, --table_id INTEGER`: Table IDs. E.g. -tid 123 -tid 124
|
|
847
|
-
* `-lbd, --lookback_days INTEGER`: Look back days for the metrics. [default: 7]
|
|
848
|
-
* `--ops_only`: Deploy only operational metrics [default: True]
|
|
849
|
-
* `--help`: Show this message and exit.
|
|
850
|
-
|
|
851
847
|
## `bigeye catalog get-all-metric-templates`
|
|
852
848
|
|
|
853
849
|
Retrieve all metric templates and output to a file.
|
|
@@ -1807,3 +1803,4 @@ $ bigeye lineage infer-relations [OPTIONS]
|
|
|
1807
1803
|
* `-purge, --purge_lineage`: Purge all lineage edges.
|
|
1808
1804
|
* `--help`: Show this message and exit.
|
|
1809
1805
|
|
|
1806
|
+
|
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: bigeye-cli
|
|
3
|
-
Version: 0.3.64
|
|
4
|
-
Summary: Bigeye CLI offers developer tools for maintaining your developer workspace.
|
|
5
|
-
Home-page: https://docs.bigeye.com/docs
|
|
6
|
-
License: Proprietary
|
|
7
|
-
Author: Bigeye
|
|
8
|
-
Author-email: support@bigeye.com
|
|
9
|
-
Requires-Python: >=3.9.0,<4.0.0
|
|
10
|
-
Classifier: License :: Other/Proprietary License
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Requires-Dist: PyGithub (>=1.57,<2.0)
|
|
16
|
-
Requires-Dist: bigeye-sdk (>=0.4.84,<0.5.0)
|
|
17
|
-
Requires-Dist: click (>=8.0.4,<9.0.0)
|
|
18
|
-
Requires-Dist: rich (>=12.4.4,<13.0.0)
|
|
19
|
-
Description-Content-Type: text/markdown
|
|
20
|
-
|
|
21
1
|
# **Bigeye CLI**
|
|
22
|
-
Version: 0.3.
|
|
2
|
+
Version: 0.3.65
|
|
23
3
|
## Installation
|
|
24
4
|
|
|
25
5
|
**Setting up your local/build environment**
|
|
@@ -687,7 +667,6 @@ $ bigeye catalog [OPTIONS] COMMAND [ARGS]...
|
|
|
687
667
|
* `delete-source`: Delete a source from specified Bigeye...
|
|
688
668
|
* `delete-template`: Delete a template.
|
|
689
669
|
* `delete-virtual-table`: Delete a virtual table.
|
|
690
|
-
* `deploy-all-autometrics`: Deploys all Autometrics to specified...
|
|
691
670
|
* `get-all-metric-templates`: Retrieve all metric templates and output...
|
|
692
671
|
* `get-metric-info`: Outputs metric info to a file.
|
|
693
672
|
* `get-metric-queries`: Gets the debug queries for all metrics by...
|
|
@@ -845,29 +824,6 @@ $ bigeye catalog delete-virtual-table [OPTIONS]
|
|
|
845
824
|
* `-sn, --source_name TEXT`: The name of the source where the template will be defined [required]
|
|
846
825
|
* `--help`: Show this message and exit.
|
|
847
826
|
|
|
848
|
-
## `bigeye catalog deploy-all-autometrics`
|
|
849
|
-
|
|
850
|
-
Deploys all Autometrics to specified warehouse OR warehouse and list of schema names OR warehouse and list of
|
|
851
|
-
table ids.
|
|
852
|
-
|
|
853
|
-
**Usage**:
|
|
854
|
-
|
|
855
|
-
```console
|
|
856
|
-
$ bigeye catalog deploy-all-autometrics [OPTIONS]
|
|
857
|
-
```
|
|
858
|
-
|
|
859
|
-
**Options**:
|
|
860
|
-
|
|
861
|
-
* `-b, --bigeye_conf TEXT`: Bigeye Credential File Path [env var: BIGEYE_API_CRED_FILE]
|
|
862
|
-
* `-c, --config_file TEXT`: Bigeye CLI Configuration File Path [env var: BIGEYE_API_CONFIG_FILE]
|
|
863
|
-
* `-w, --workspace TEXT`: Name of the workspace configuration. [env var: BIGEYE_WORKSPACE; default: DEFAULT]
|
|
864
|
-
* `-wid, --warehouse_id INTEGER`: Deploy autometrics to all tables in warehouse.
|
|
865
|
-
* `-sn, --schema_name TEXT`: List of Schema Names. E.g. -sn schema_1 -sn schema_2.
|
|
866
|
-
* `-tid, --table_id INTEGER`: Table IDs. E.g. -tid 123 -tid 124
|
|
867
|
-
* `-lbd, --lookback_days INTEGER`: Look back days for the metrics. [default: 7]
|
|
868
|
-
* `--ops_only`: Deploy only operational metrics [default: True]
|
|
869
|
-
* `--help`: Show this message and exit.
|
|
870
|
-
|
|
871
827
|
## `bigeye catalog get-all-metric-templates`
|
|
872
828
|
|
|
873
829
|
Retrieve all metric templates and output to a file.
|
|
@@ -1827,4 +1783,3 @@ $ bigeye lineage infer-relations [OPTIONS]
|
|
|
1827
1783
|
* `-purge, --purge_lineage`: Purge all lineage edges.
|
|
1828
1784
|
* `--help`: Show this message and exit.
|
|
1829
1785
|
|
|
1830
|
-
|
|
@@ -115,76 +115,6 @@ def regen_autometrics(
|
|
|
115
115
|
)
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
@app.command()
|
|
119
|
-
def deploy_all_autometrics(
|
|
120
|
-
bigeye_conf: str = global_options.bigeye_conf,
|
|
121
|
-
config_file: str = global_options.config_file,
|
|
122
|
-
workspace: str = global_options.workspace,
|
|
123
|
-
warehouse_id: int = typer.Option(
|
|
124
|
-
None,
|
|
125
|
-
"--warehouse_id",
|
|
126
|
-
"-wid",
|
|
127
|
-
help="Deploy autometrics to all tables in warehouse.",
|
|
128
|
-
),
|
|
129
|
-
schema_names: Optional[List[str]] = typer.Option(
|
|
130
|
-
None,
|
|
131
|
-
"--schema_name",
|
|
132
|
-
"-sn",
|
|
133
|
-
help="List of Schema Names. E.g. -sn schema_1 -sn schema_2.",
|
|
134
|
-
),
|
|
135
|
-
table_ids: Optional[List[int]] = typer.Option(
|
|
136
|
-
None, "--table_id", "-tid", help="Table IDs. E.g. -tid 123 -tid 124"
|
|
137
|
-
),
|
|
138
|
-
lookback_days: int = typer.Option(
|
|
139
|
-
7, "--lookback_days", "-lbd", help="Look back days for the metrics."
|
|
140
|
-
),
|
|
141
|
-
ops_only: bool = typer.Option(
|
|
142
|
-
True, "--ops_only", help="Deploy only operational metrics"
|
|
143
|
-
),
|
|
144
|
-
):
|
|
145
|
-
"""Deploys all Autometrics to specified warehouse OR warehouse and list of schema names OR warehouse and list of
|
|
146
|
-
table ids."""
|
|
147
|
-
# TODO: Add operational metrics only code.
|
|
148
|
-
log.info(f"Deploying all metrics.")
|
|
149
|
-
log.info(
|
|
150
|
-
f"Bigeye API Configuration: {bigeye_conf} | Warehouse ID: {warehouse_id} | Table IDs: {table_ids}"
|
|
151
|
-
)
|
|
152
|
-
|
|
153
|
-
client = cli_client_factory(bigeye_conf, config_file, workspace)
|
|
154
|
-
|
|
155
|
-
ms = MetricCreationState.METRIC_CREATION_STATE_SUGGESTED_AUTO
|
|
156
|
-
|
|
157
|
-
mil = MetricInfoList()
|
|
158
|
-
|
|
159
|
-
if not schema_names:
|
|
160
|
-
mil = client.get_metric_info_batch_post(
|
|
161
|
-
warehouse_ids=[warehouse_id],
|
|
162
|
-
table_ids=table_ids,
|
|
163
|
-
metric_creation_states=[ms],
|
|
164
|
-
)
|
|
165
|
-
|
|
166
|
-
if schema_names:
|
|
167
|
-
for sn in schema_names:
|
|
168
|
-
submil = client.get_metric_info_batch_post(
|
|
169
|
-
warehouse_ids=[warehouse_id],
|
|
170
|
-
table_ids=table_ids,
|
|
171
|
-
metric_creation_states=[ms],
|
|
172
|
-
schema_name=sn,
|
|
173
|
-
)
|
|
174
|
-
mil.metrics.extend(submil.metrics)
|
|
175
|
-
|
|
176
|
-
if ops_only:
|
|
177
|
-
mil.metrics = [
|
|
178
|
-
m
|
|
179
|
-
for m in mil.metrics
|
|
180
|
-
if m.metric_configuration.metric_type.predefined_metric in OPS_METRICS
|
|
181
|
-
]
|
|
182
|
-
|
|
183
|
-
mids: List[int] = [m.metric_configuration.id for m in mil.metrics]
|
|
184
|
-
|
|
185
|
-
client.accept_autometrics(metric_ids=mids, lookback_days=lookback_days)
|
|
186
|
-
|
|
187
|
-
|
|
188
118
|
@app.command()
|
|
189
119
|
def delete_metrics(
|
|
190
120
|
bigeye_conf: str = global_options.bigeye_conf,
|
|
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
|
|
File without changes
|