pycarlo 0.10.163__tar.gz → 0.10.165__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.

Potentially problematic release.


This version of pycarlo might be problematic. Click here for more details.

Files changed (93) hide show
  1. {pycarlo-0.10.163 → pycarlo-0.10.165}/PKG-INFO +1 -1
  2. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/lib/schema.json +226 -111
  3. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/lib/schema.py +63 -1
  4. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.163 → pycarlo-0.10.165}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.163 → pycarlo-0.10.165}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.163 → pycarlo-0.10.165}/.coveragerc +0 -0
  8. {pycarlo-0.10.163 → pycarlo-0.10.165}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.163 → pycarlo-0.10.165}/.gitignore +0 -0
  10. {pycarlo-0.10.163 → pycarlo-0.10.165}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.163 → pycarlo-0.10.165}/LICENSE +0 -0
  12. {pycarlo-0.10.163 → pycarlo-0.10.165}/Makefile +0 -0
  13. {pycarlo-0.10.163 → pycarlo-0.10.165}/README.md +0 -0
  14. {pycarlo-0.10.163 → pycarlo-0.10.165}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.163 → pycarlo-0.10.165}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.163 → pycarlo-0.10.165}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.163 → pycarlo-0.10.165}/pyproject.toml +0 -0
  58. {pycarlo-0.10.163 → pycarlo-0.10.165}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.163 → pycarlo-0.10.165}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.163 → pycarlo-0.10.165}/requirements.txt +0 -0
  61. {pycarlo-0.10.163 → pycarlo-0.10.165}/setup.cfg +0 -0
  62. {pycarlo-0.10.163 → pycarlo-0.10.165}/setup.py +0 -0
  63. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.163 → pycarlo-0.10.165}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.163 → pycarlo-0.10.165}/utils/env.sh +0 -0
  90. {pycarlo-0.10.163 → pycarlo-0.10.165}/utils/generate.py +0 -0
  91. {pycarlo-0.10.163 → pycarlo-0.10.165}/utils/sample.env +0 -0
  92. {pycarlo-0.10.163 → pycarlo-0.10.165}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.163 → pycarlo-0.10.165}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.163
3
+ Version: 0.10.165
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -17703,10 +17703,109 @@
17703
17703
  }
17704
17704
  }
17705
17705
  ],
17706
+ "deprecationReason": "Use evaluateAlertConditions instead",
17707
+ "description": "(experimental) DEPRECATED. Evaluates the provided metric monitor comparisons",
17708
+ "isDeprecated": true,
17709
+ "name": "evaluateComparisons",
17710
+ "type": {
17711
+ "kind": "OBJECT",
17712
+ "name": "ComparisonEvaluationResults",
17713
+ "ofType": null
17714
+ }
17715
+ },
17716
+ {
17717
+ "args": [
17718
+ {
17719
+ "defaultValue": null,
17720
+ "description": "Connection UUID",
17721
+ "name": "connectionId",
17722
+ "type": {
17723
+ "kind": "SCALAR",
17724
+ "name": "UUID",
17725
+ "ofType": null
17726
+ }
17727
+ },
17728
+ {
17729
+ "defaultValue": null,
17730
+ "description": "Warehouse UUID",
17731
+ "name": "dwId",
17732
+ "type": {
17733
+ "kind": "SCALAR",
17734
+ "name": "UUID",
17735
+ "ofType": null
17736
+ }
17737
+ },
17738
+ {
17739
+ "defaultValue": null,
17740
+ "description": "The data source",
17741
+ "name": "dataSource",
17742
+ "type": {
17743
+ "kind": "NON_NULL",
17744
+ "name": null,
17745
+ "ofType": {
17746
+ "kind": "INPUT_OBJECT",
17747
+ "name": "DataSourceUnionInput",
17748
+ "ofType": null
17749
+ }
17750
+ }
17751
+ },
17752
+ {
17753
+ "defaultValue": null,
17754
+ "description": "Metric monitor alert conditions",
17755
+ "name": "alertConditions",
17756
+ "type": {
17757
+ "kind": "NON_NULL",
17758
+ "name": null,
17759
+ "ofType": {
17760
+ "kind": "LIST",
17761
+ "name": null,
17762
+ "ofType": {
17763
+ "kind": "NON_NULL",
17764
+ "name": null,
17765
+ "ofType": {
17766
+ "kind": "INPUT_OBJECT",
17767
+ "name": "MetricAlertConditionInput",
17768
+ "ofType": null
17769
+ }
17770
+ }
17771
+ }
17772
+ }
17773
+ },
17774
+ {
17775
+ "defaultValue": "true",
17776
+ "description": "Whether to validate the custom and generated SQL by running it against the data warehouse",
17777
+ "name": "validateCustomSql",
17778
+ "type": {
17779
+ "kind": "SCALAR",
17780
+ "name": "Boolean",
17781
+ "ofType": null
17782
+ }
17783
+ },
17784
+ {
17785
+ "defaultValue": "false",
17786
+ "description": "Flag to apply additional limits which increase the supported segment count",
17787
+ "name": "highSegmentCount",
17788
+ "type": {
17789
+ "kind": "SCALAR",
17790
+ "name": "Boolean",
17791
+ "ofType": null
17792
+ }
17793
+ },
17794
+ {
17795
+ "defaultValue": null,
17796
+ "description": "The time aggregation for the monitor, if any. Determines the maximum number of segments.",
17797
+ "name": "aggregateBy",
17798
+ "type": {
17799
+ "kind": "SCALAR",
17800
+ "name": "String",
17801
+ "ofType": null
17802
+ }
17803
+ }
17804
+ ],
17706
17805
  "deprecationReason": null,
17707
- "description": "(experimental) Evaluates the provided metric monitor comparisons",
17806
+ "description": "(experimental) Evaluates the provided metric monitor alert conditions",
17708
17807
  "isDeprecated": false,
17709
- "name": "evaluateComparisons",
17808
+ "name": "evaluateAlertConditions",
17710
17809
  "type": {
17711
17810
  "kind": "OBJECT",
17712
17811
  "name": "ComparisonEvaluationResults",
@@ -36469,6 +36568,22 @@
36469
36568
  }
36470
36569
  }
36471
36570
  },
36571
+ {
36572
+ "args": [],
36573
+ "deprecationReason": null,
36574
+ "description": null,
36575
+ "isDeprecated": false,
36576
+ "name": "title",
36577
+ "type": {
36578
+ "kind": "NON_NULL",
36579
+ "name": null,
36580
+ "ofType": {
36581
+ "kind": "SCALAR",
36582
+ "name": "String",
36583
+ "ofType": null
36584
+ }
36585
+ }
36586
+ },
36472
36587
  {
36473
36588
  "args": [],
36474
36589
  "deprecationReason": null,
@@ -123885,6 +124000,115 @@
123885
124000
  "name": "CustomComparisonMetricInput",
123886
124001
  "possibleTypes": null
123887
124002
  },
124003
+ {
124004
+ "description": null,
124005
+ "enumValues": null,
124006
+ "fields": null,
124007
+ "inputFields": [
124008
+ {
124009
+ "defaultValue": null,
124010
+ "description": null,
124011
+ "name": "metric",
124012
+ "type": {
124013
+ "kind": "SCALAR",
124014
+ "name": "String",
124015
+ "ofType": null
124016
+ }
124017
+ },
124018
+ {
124019
+ "defaultValue": null,
124020
+ "description": null,
124021
+ "name": "customMetric",
124022
+ "type": {
124023
+ "kind": "INPUT_OBJECT",
124024
+ "name": "CustomMetricInput",
124025
+ "ofType": null
124026
+ }
124027
+ },
124028
+ {
124029
+ "defaultValue": null,
124030
+ "description": null,
124031
+ "name": "fields",
124032
+ "type": {
124033
+ "kind": "LIST",
124034
+ "name": null,
124035
+ "ofType": {
124036
+ "kind": "NON_NULL",
124037
+ "name": null,
124038
+ "ofType": {
124039
+ "kind": "SCALAR",
124040
+ "name": "String",
124041
+ "ofType": null
124042
+ }
124043
+ }
124044
+ }
124045
+ },
124046
+ {
124047
+ "defaultValue": "\"threshold\"",
124048
+ "description": null,
124049
+ "name": "type",
124050
+ "type": {
124051
+ "kind": "SCALAR",
124052
+ "name": "String",
124053
+ "ofType": null
124054
+ }
124055
+ },
124056
+ {
124057
+ "defaultValue": null,
124058
+ "description": null,
124059
+ "name": "operator",
124060
+ "type": {
124061
+ "kind": "SCALAR",
124062
+ "name": "String",
124063
+ "ofType": null
124064
+ }
124065
+ },
124066
+ {
124067
+ "defaultValue": null,
124068
+ "description": null,
124069
+ "name": "thresholdValue",
124070
+ "type": {
124071
+ "kind": "SCALAR",
124072
+ "name": "Float",
124073
+ "ofType": null
124074
+ }
124075
+ },
124076
+ {
124077
+ "defaultValue": null,
124078
+ "description": null,
124079
+ "name": "lowerThreshold",
124080
+ "type": {
124081
+ "kind": "SCALAR",
124082
+ "name": "Float",
124083
+ "ofType": null
124084
+ }
124085
+ },
124086
+ {
124087
+ "defaultValue": null,
124088
+ "description": null,
124089
+ "name": "upperThreshold",
124090
+ "type": {
124091
+ "kind": "SCALAR",
124092
+ "name": "Float",
124093
+ "ofType": null
124094
+ }
124095
+ },
124096
+ {
124097
+ "defaultValue": null,
124098
+ "description": null,
124099
+ "name": "id",
124100
+ "type": {
124101
+ "kind": "SCALAR",
124102
+ "name": "String",
124103
+ "ofType": null
124104
+ }
124105
+ }
124106
+ ],
124107
+ "interfaces": null,
124108
+ "kind": "INPUT_OBJECT",
124109
+ "name": "MetricAlertConditionInput",
124110
+ "possibleTypes": null
124111
+ },
123888
124112
  {
123889
124113
  "description": "Describes a page of DeltaLog results",
123890
124114
  "enumValues": null,
@@ -185697,115 +185921,6 @@
185697
185921
  "name": "AggregateInput",
185698
185922
  "possibleTypes": null
185699
185923
  },
185700
- {
185701
- "description": null,
185702
- "enumValues": null,
185703
- "fields": null,
185704
- "inputFields": [
185705
- {
185706
- "defaultValue": null,
185707
- "description": null,
185708
- "name": "metric",
185709
- "type": {
185710
- "kind": "SCALAR",
185711
- "name": "String",
185712
- "ofType": null
185713
- }
185714
- },
185715
- {
185716
- "defaultValue": null,
185717
- "description": null,
185718
- "name": "customMetric",
185719
- "type": {
185720
- "kind": "INPUT_OBJECT",
185721
- "name": "CustomMetricInput",
185722
- "ofType": null
185723
- }
185724
- },
185725
- {
185726
- "defaultValue": null,
185727
- "description": null,
185728
- "name": "fields",
185729
- "type": {
185730
- "kind": "LIST",
185731
- "name": null,
185732
- "ofType": {
185733
- "kind": "NON_NULL",
185734
- "name": null,
185735
- "ofType": {
185736
- "kind": "SCALAR",
185737
- "name": "String",
185738
- "ofType": null
185739
- }
185740
- }
185741
- }
185742
- },
185743
- {
185744
- "defaultValue": "\"threshold\"",
185745
- "description": null,
185746
- "name": "type",
185747
- "type": {
185748
- "kind": "SCALAR",
185749
- "name": "String",
185750
- "ofType": null
185751
- }
185752
- },
185753
- {
185754
- "defaultValue": null,
185755
- "description": null,
185756
- "name": "operator",
185757
- "type": {
185758
- "kind": "SCALAR",
185759
- "name": "String",
185760
- "ofType": null
185761
- }
185762
- },
185763
- {
185764
- "defaultValue": null,
185765
- "description": null,
185766
- "name": "thresholdValue",
185767
- "type": {
185768
- "kind": "SCALAR",
185769
- "name": "Float",
185770
- "ofType": null
185771
- }
185772
- },
185773
- {
185774
- "defaultValue": null,
185775
- "description": null,
185776
- "name": "lowerThreshold",
185777
- "type": {
185778
- "kind": "SCALAR",
185779
- "name": "Float",
185780
- "ofType": null
185781
- }
185782
- },
185783
- {
185784
- "defaultValue": null,
185785
- "description": null,
185786
- "name": "upperThreshold",
185787
- "type": {
185788
- "kind": "SCALAR",
185789
- "name": "Float",
185790
- "ofType": null
185791
- }
185792
- },
185793
- {
185794
- "defaultValue": null,
185795
- "description": null,
185796
- "name": "id",
185797
- "type": {
185798
- "kind": "SCALAR",
185799
- "name": "String",
185800
- "ofType": null
185801
- }
185802
- }
185803
- ],
185804
- "interfaces": null,
185805
- "kind": "INPUT_OBJECT",
185806
- "name": "MetricAlertConditionInput",
185807
- "possibleTypes": null
185808
- },
185809
185924
  {
185810
185925
  "description": null,
185811
185926
  "enumValues": null,
@@ -43864,6 +43864,7 @@ class Query(sgqlc.types.Type):
43864
43864
  "run_segment_count_query",
43865
43865
  "evaluate_comparison_monitor_alert_conditions",
43866
43866
  "evaluate_comparisons",
43867
+ "evaluate_alert_conditions",
43867
43868
  "get_delta_logs",
43868
43869
  "get_job_schedules",
43869
43870
  "get_collector_job_limits",
@@ -53918,7 +53919,8 @@ class Query(sgqlc.types.Type):
53918
53919
  )
53919
53920
  ),
53920
53921
  )
53921
- """(experimental) Evaluates the provided metric monitor comparisons
53922
+ """(experimental) DEPRECATED. Evaluates the provided metric monitor
53923
+ comparisons
53922
53924
 
53923
53925
  Arguments:
53924
53926
 
@@ -53937,6 +53939,63 @@ class Query(sgqlc.types.Type):
53937
53939
  if any. Determines the maximum number of segments.
53938
53940
  """
53939
53941
 
53942
+ evaluate_alert_conditions = sgqlc.types.Field(
53943
+ ComparisonEvaluationResults,
53944
+ graphql_name="evaluateAlertConditions",
53945
+ args=sgqlc.types.ArgDict(
53946
+ (
53947
+ ("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
53948
+ ("dw_id", sgqlc.types.Arg(UUID, graphql_name="dwId", default=None)),
53949
+ (
53950
+ "data_source",
53951
+ sgqlc.types.Arg(
53952
+ sgqlc.types.non_null(DataSourceUnionInput),
53953
+ graphql_name="dataSource",
53954
+ default=None,
53955
+ ),
53956
+ ),
53957
+ (
53958
+ "alert_conditions",
53959
+ sgqlc.types.Arg(
53960
+ sgqlc.types.non_null(
53961
+ sgqlc.types.list_of(sgqlc.types.non_null(MetricAlertConditionInput))
53962
+ ),
53963
+ graphql_name="alertConditions",
53964
+ default=None,
53965
+ ),
53966
+ ),
53967
+ (
53968
+ "validate_custom_sql",
53969
+ sgqlc.types.Arg(Boolean, graphql_name="validateCustomSql", default=True),
53970
+ ),
53971
+ (
53972
+ "high_segment_count",
53973
+ sgqlc.types.Arg(Boolean, graphql_name="highSegmentCount", default=False),
53974
+ ),
53975
+ ("aggregate_by", sgqlc.types.Arg(String, graphql_name="aggregateBy", default=None)),
53976
+ )
53977
+ ),
53978
+ )
53979
+ """(experimental) Evaluates the provided metric monitor alert
53980
+ conditions
53981
+
53982
+ Arguments:
53983
+
53984
+ * `connection_id` (`UUID`): Connection UUID
53985
+ * `dw_id` (`UUID`): Warehouse UUID
53986
+ * `data_source` (`DataSourceUnionInput!`): The data source
53987
+ * `alert_conditions` (`[MetricAlertConditionInput!]!`): Metric
53988
+ monitor alert conditions
53989
+ * `validate_custom_sql` (`Boolean`): Whether to validate the
53990
+ custom and generated SQL by running it against the data
53991
+ warehouse (default: `true`)
53992
+ * `high_segment_count` (`Boolean`): Flag to apply additional
53993
+ limits which increase the supported segment count (default:
53994
+ `false`)
53995
+ * `aggregate_by` (`String`): The time aggregation for the monitor,
53996
+ if any. Determines the maximum number of segments.
53997
+ """
53998
+
53940
53999
  get_delta_logs = sgqlc.types.Field(
53941
54000
  DeltaLogConnection,
53942
54001
  graphql_name="getDeltaLogs",
@@ -65950,6 +66009,7 @@ class TransformFunction(sgqlc.types.Type):
65950
66009
  __schema__ = schema
65951
66010
  __field_names__ = (
65952
66011
  "name",
66012
+ "title",
65953
66013
  "description",
65954
66014
  "sql",
65955
66015
  "supported_types",
@@ -65966,6 +66026,8 @@ class TransformFunction(sgqlc.types.Type):
65966
66026
  )
65967
66027
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
65968
66028
 
66029
+ title = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="title")
66030
+
65969
66031
  description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="description")
65970
66032
 
65971
66033
  sql = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="sql")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.163
3
+ Version: 0.10.165
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
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