bigeye-cli 0.3.68__tar.gz → 0.4.0__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 (35) hide show
  1. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/PKG-INFO +11 -9
  2. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/CLI_DOCS.md +5 -5
  3. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/bigconfig/bigconfig_commands.py +8 -2
  4. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/bigconfig/bigconfig_options.py +1 -1
  5. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/configure/configure_commands.py +4 -4
  6. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/pyproject.toml +2 -2
  7. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/LICENSE +0 -0
  8. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/__init__.py +0 -0
  9. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/__main__.py +0 -0
  10. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/__version__.py +0 -0
  11. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/bigconfig/__init__.py +0 -0
  12. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/catalog/__init__.py +0 -0
  13. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/catalog/catalog_commands.py +0 -0
  14. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/collections/__init__.py +0 -0
  15. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/collections/collection_commands.py +0 -0
  16. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/configure/__init__.py +0 -0
  17. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/deltas/__init__.py +0 -0
  18. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/deltas/deltas_commands.py +0 -0
  19. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/enums.py +0 -0
  20. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/exceptions/__init__.py +0 -0
  21. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/exceptions/exceptions.py +0 -0
  22. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/functions.py +0 -0
  23. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/global_options.py +0 -0
  24. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/issues/__init__.py +0 -0
  25. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/issues/issue_commands.py +0 -0
  26. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/lineage/__init__.py +0 -0
  27. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/lineage/lineage_commands.py +0 -0
  28. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/metric/__init__.py +0 -0
  29. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/metric/metric_commands.py +0 -0
  30. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/model/__init__.py +0 -0
  31. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/model/cicd_conf.py +0 -0
  32. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/model/github_report.py +0 -0
  33. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/model/vendor_report.py +0 -0
  34. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/workspace/__init__.py +0 -0
  35. {bigeye_cli-0.3.68 → bigeye_cli-0.4.0}/bigeye_cli/workspace/workspace_commands.py +0 -0
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: bigeye-cli
3
- Version: 0.3.68
3
+ Version: 0.4.0
4
4
  Summary: Bigeye CLI offers developer tools for maintaining your developer workspace.
5
- Home-page: https://docs.bigeye.com/docs
6
5
  License: Proprietary
7
6
  Author: Bigeye
8
7
  Author-email: support@bigeye.com
@@ -12,14 +11,17 @@ Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.9
13
12
  Classifier: Programming Language :: Python :: 3.10
14
13
  Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
15
16
  Requires-Dist: PyGithub (>=1.57,<2.0)
16
- Requires-Dist: bigeye-sdk (>=0.4.84,<0.5.0)
17
+ Requires-Dist: bigeye-sdk (>=0.5.0,<0.6.0)
17
18
  Requires-Dist: click (>=8.0.4,<9.0.0)
18
19
  Requires-Dist: rich (>=12.4.4,<13.0.0)
20
+ Project-URL: Homepage, https://docs.bigeye.com/docs
19
21
  Description-Content-Type: text/markdown
20
22
 
21
23
  # **Bigeye CLI**
22
- Version: 0.3.68
24
+ Version: 0.4.0
23
25
  ## Installation
24
26
 
25
27
  **Setting up your local/build environment**
@@ -630,7 +632,7 @@ $ bigeye bigconfig plan [OPTIONS]
630
632
  * `-op, --output_path TEXT`: Output path where reports and fixme files will be saved. If no output path is defined then current working directory will be used.
631
633
  * `-psn, --purge_source_name TEXT`: List of source names to purge E.g. -psn source_1 -psn source_2.
632
634
  * `-purge_all, --purge_all_sources`: Purge all sources: True or False.
633
- * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False.
635
+ * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False. [DEPRECATED]
634
636
  * `-r, --recursive`: Search all input directories recursively.
635
637
  * `-strict, --strict_mode`: API errors cause an exception if True. (Validation errors still cause an exception)
636
638
  * `-cicd, --cicd_report`: Add the report to a pull request. (Github only)
@@ -656,7 +658,7 @@ $ bigeye bigconfig apply [OPTIONS]
656
658
  * `-op, --output_path TEXT`: Output path where reports and fixme files will be saved. If no output path is defined then current working directory will be used.
657
659
  * `-psn, --purge_source_name TEXT`: List of source names to purge E.g. -psn source_1 -psn source_2.
658
660
  * `-purge_all, --purge_all_sources`: Purge all sources: True or False.
659
- * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False.
661
+ * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False. [DEPRECATED]
660
662
  * `-r, --recursive`: Search all input directories recursively.
661
663
  * `-strict, --strict_mode`: API errors cause an exception if True. (Validation errors still cause an exception)
662
664
  * `-auto_approve, --auto_approve`: Explicit plan approval is not needed prior to execution.
@@ -1064,7 +1066,7 @@ $ bigeye catalog upsert-template [OPTIONS]
1064
1066
  * `-sn, --source_name TEXT`: The name of the source where the template will be defined
1065
1067
  * `-tn, --name TEXT`: The user defined name of the template
1066
1068
  * `-tb, --body TEXT`: The string to define the template
1067
- * `-rt, --returns [BOOLEAN|NUMERIC]`: The data type returned by the template; i.e. NUMERIC, BOOLEAN
1069
+ * `-rt, --returns [SimpleFieldType.BOOLEAN|SimpleFieldType.NUMERIC]`: The data type returned by the template; i.e. NUMERIC, BOOLEAN
1068
1070
  * `-p, --params TEXT`: A list of key/value pairs for parameters; ex. -p column=COLUMN_REFERENCE -p table=STRING
1069
1071
  * `-tf, --template_file TEXT`: A file containing a template definition.
1070
1072
  * `--help`: Show this message and exit.
@@ -1404,7 +1406,7 @@ $ bigeye metric dbt-tests-to-metrics [OPTIONS]
1404
1406
  * `-sf, --schema_file TEXT`: The path to the dbt schema file [required]
1405
1407
  * `-auto, --use_auto`: Use autothresholds over default constant
1406
1408
  * `-bigconfig, --to_bigconfig`: Convert the dbt tests to bigconfig.
1407
- * `-op, --output_path TEXT`: Output path where bigconfig file will be saved. If no output path is defined then current working directory will be used. Requires --to_bigconfig to be true. [default: /home/runner/work/semantic-data-platform/semantic-data-platform/bigeye-integrations/bigeye-cli]
1409
+ * `-op, --output_path TEXT`: Output path where bigconfig file will be saved. If no output path is defined then current working directory will be used. Requires --to_bigconfig to be true. [default: /Users/christian/Projects/semantic-data-platform/bigeye-integrations/bigeye-cli]
1408
1410
  * `--help`: Show this message and exit.
1409
1411
 
1410
1412
  # `bigeye issues`
@@ -1,5 +1,5 @@
1
1
  # **Bigeye CLI**
2
- Version: 0.3.68
2
+ Version: 0.4.0
3
3
  ## Installation
4
4
 
5
5
  **Setting up your local/build environment**
@@ -610,7 +610,7 @@ $ bigeye bigconfig plan [OPTIONS]
610
610
  * `-op, --output_path TEXT`: Output path where reports and fixme files will be saved. If no output path is defined then current working directory will be used.
611
611
  * `-psn, --purge_source_name TEXT`: List of source names to purge E.g. -psn source_1 -psn source_2.
612
612
  * `-purge_all, --purge_all_sources`: Purge all sources: True or False.
613
- * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False.
613
+ * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False. [DEPRECATED]
614
614
  * `-r, --recursive`: Search all input directories recursively.
615
615
  * `-strict, --strict_mode`: API errors cause an exception if True. (Validation errors still cause an exception)
616
616
  * `-cicd, --cicd_report`: Add the report to a pull request. (Github only)
@@ -636,7 +636,7 @@ $ bigeye bigconfig apply [OPTIONS]
636
636
  * `-op, --output_path TEXT`: Output path where reports and fixme files will be saved. If no output path is defined then current working directory will be used.
637
637
  * `-psn, --purge_source_name TEXT`: List of source names to purge E.g. -psn source_1 -psn source_2.
638
638
  * `-purge_all, --purge_all_sources`: Purge all sources: True or False.
639
- * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False.
639
+ * `-nq, --no_queue`: Don&#x27;t submit to queue: True or False. [DEPRECATED]
640
640
  * `-r, --recursive`: Search all input directories recursively.
641
641
  * `-strict, --strict_mode`: API errors cause an exception if True. (Validation errors still cause an exception)
642
642
  * `-auto_approve, --auto_approve`: Explicit plan approval is not needed prior to execution.
@@ -1044,7 +1044,7 @@ $ bigeye catalog upsert-template [OPTIONS]
1044
1044
  * `-sn, --source_name TEXT`: The name of the source where the template will be defined
1045
1045
  * `-tn, --name TEXT`: The user defined name of the template
1046
1046
  * `-tb, --body TEXT`: The string to define the template
1047
- * `-rt, --returns [BOOLEAN|NUMERIC]`: The data type returned by the template; i.e. NUMERIC, BOOLEAN
1047
+ * `-rt, --returns [SimpleFieldType.BOOLEAN|SimpleFieldType.NUMERIC]`: The data type returned by the template; i.e. NUMERIC, BOOLEAN
1048
1048
  * `-p, --params TEXT`: A list of key/value pairs for parameters; ex. -p column=COLUMN_REFERENCE -p table=STRING
1049
1049
  * `-tf, --template_file TEXT`: A file containing a template definition.
1050
1050
  * `--help`: Show this message and exit.
@@ -1384,7 +1384,7 @@ $ bigeye metric dbt-tests-to-metrics [OPTIONS]
1384
1384
  * `-sf, --schema_file TEXT`: The path to the dbt schema file [required]
1385
1385
  * `-auto, --use_auto`: Use autothresholds over default constant
1386
1386
  * `-bigconfig, --to_bigconfig`: Convert the dbt tests to bigconfig.
1387
- * `-op, --output_path TEXT`: Output path where bigconfig file will be saved. If no output path is defined then current working directory will be used. Requires --to_bigconfig to be true. [default: /home/runner/work/semantic-data-platform/semantic-data-platform/bigeye-integrations/bigeye-cli]
1387
+ * `-op, --output_path TEXT`: Output path where bigconfig file will be saved. If no output path is defined then current working directory will be used. Requires --to_bigconfig to be true. [default: /Users/christian/Projects/semantic-data-platform/bigeye-integrations/bigeye-cli]
1388
1388
  * `--help`: Show this message and exit.
1389
1389
 
1390
1390
  # `bigeye issues`
@@ -64,12 +64,15 @@ def plan(
64
64
  apply=False,
65
65
  )
66
66
  else:
67
+ if no_queue:
68
+ log.warning(
69
+ "The --no_queue flag is deprecated. The option will be ignored now and removed in a later version."
70
+ )
67
71
  report = mc.execute_bigconfig(
68
72
  input_path=input_path,
69
73
  output_path=output_path,
70
74
  apply=False,
71
75
  recursive=recursive,
72
- no_queue=no_queue,
73
76
  strict_mode=strict_mode,
74
77
  )
75
78
  if cicd:
@@ -113,11 +116,14 @@ def apply(
113
116
  apply=True,
114
117
  )
115
118
  else:
119
+ if no_queue:
120
+ log.warning(
121
+ "The --no_queue flag is deprecated. The option will be ignored now and removed in a later version."
122
+ )
116
123
  mc.execute_bigconfig(
117
124
  input_path=input_path,
118
125
  output_path=output_path,
119
126
  apply=True,
120
- no_queue=no_queue,
121
127
  recursive=recursive,
122
128
  strict_mode=strict_mode,
123
129
  auto_approve=auto_approve,
@@ -31,7 +31,7 @@ no_queue: bool = typer.Option(
31
31
  False
32
32
  , "--no_queue"
33
33
  , "-nq"
34
- , help="Don't submit to queue: True or False."
34
+ , help="Don't submit to queue: True or False. [DEPRECATED]"
35
35
  )
36
36
  recursive: bool = typer.Option(
37
37
  False
@@ -61,7 +61,7 @@ def configure(
61
61
  uses_sso = Confirm.ask("Do you use SSO to access the Bigeye UI?")
62
62
  if not uses_sso:
63
63
  print(Text(text='\n** Please login to continue **', style='bold green'))
64
- password = Prompt.ask("Enter Bigeye password for username above", password=True)
64
+ password = Prompt.ask("Enter Bigeye password for username above")
65
65
  create_key = Confirm.ask("Would you like to create an API Key?")
66
66
  basic_cred = BasicAPIAuth(base_url=base_url,
67
67
  user=username,
@@ -73,14 +73,14 @@ def configure(
73
73
  cred=basic_cred, name=key_name, description=key_description
74
74
  )
75
75
  else:
76
- api_key = Prompt.ask("Enter the API Key", password=True)
76
+ api_key = Prompt.ask("Enter the API Key")
77
77
 
78
78
  required_config = get_workspaces_for_user(
79
79
  cred=basic_cred, workspace=workspace, use_default_credential=use_default_credential
80
80
  )
81
81
  else:
82
82
  print(Text(text='\n** Make sure you have created an API key in the UI **', style='bold green'))
83
- api_key = Prompt.ask("Enter the API Key", password=True)
83
+ api_key = Prompt.ask("Enter the API Key")
84
84
  api_auth = APIKeyAuth(base_url=base_url, api_key=api_key)
85
85
  required_config = get_workspace_id_for_user(cred=api_auth,
86
86
  workspace=workspace,
@@ -93,7 +93,7 @@ def configure(
93
93
  else:
94
94
  base_url = Prompt.ask("Enter the Bigeye URL", default="https://app.bigeye.com")
95
95
  username = Prompt.ask("Enter the username")
96
- password = Prompt.ask("Enter the password", password=True)
96
+ password = Prompt.ask("Enter the password")
97
97
  cred = BasicAPIAuth(base_url=base_url,
98
98
  user=username,
99
99
  password=password)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "bigeye-cli"
3
- version = "0.3.68"
3
+ version = "0.4.0"
4
4
  description = "Bigeye CLI offers developer tools for maintaining your developer workspace."
5
5
  license = "Proprietary"
6
6
  authors = ["Bigeye <support@bigeye.com>"]
@@ -19,7 +19,7 @@ bigeye = "bigeye_cli.__main__:app"
19
19
  [tool.poetry.dependencies]
20
20
  python = "^3.9.0"
21
21
  click = "^8.0.4"
22
- bigeye-sdk = "^0.4.84"
22
+ bigeye-sdk = "^0.5.0"
23
23
  rich = "^12.4.4"
24
24
  PyGithub = '^1.57'
25
25
 
File without changes