pycarlo 0.10.139__py3-none-any.whl → 0.10.141__py3-none-any.whl

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.

pycarlo/lib/schema.json CHANGED
@@ -98486,6 +98486,30 @@
98486
98486
  }
98487
98487
  }
98488
98488
  },
98489
+ {
98490
+ "args": [],
98491
+ "deprecationReason": null,
98492
+ "description": null,
98493
+ "isDeprecated": false,
98494
+ "name": "mconCoverageDistribution",
98495
+ "type": {
98496
+ "kind": "NON_NULL",
98497
+ "name": null,
98498
+ "ofType": {
98499
+ "kind": "LIST",
98500
+ "name": null,
98501
+ "ofType": {
98502
+ "kind": "NON_NULL",
98503
+ "name": null,
98504
+ "ofType": {
98505
+ "kind": "OBJECT",
98506
+ "name": "MconCountPair",
98507
+ "ofType": null
98508
+ }
98509
+ }
98510
+ }
98511
+ }
98512
+ },
98489
98513
  {
98490
98514
  "args": [],
98491
98515
  "deprecationReason": null,
@@ -155637,6 +155661,33 @@
155637
155661
  "ofType": null
155638
155662
  }
155639
155663
  },
155664
+ {
155665
+ "args": [
155666
+ {
155667
+ "defaultValue": null,
155668
+ "description": "Monitor UUID to run",
155669
+ "name": "monitorUuid",
155670
+ "type": {
155671
+ "kind": "NON_NULL",
155672
+ "name": null,
155673
+ "ofType": {
155674
+ "kind": "SCALAR",
155675
+ "name": "UUID",
155676
+ "ofType": null
155677
+ }
155678
+ }
155679
+ }
155680
+ ],
155681
+ "deprecationReason": null,
155682
+ "description": "(experimental) Run a monitor manually",
155683
+ "isDeprecated": false,
155684
+ "name": "runMonitor",
155685
+ "type": {
155686
+ "kind": "OBJECT",
155687
+ "name": "RunMonitor",
155688
+ "ofType": null
155689
+ }
155690
+ },
155640
155691
  {
155641
155692
  "args": [
155642
155693
  {
@@ -159002,6 +159053,49 @@
159002
159053
  "ofType": null
159003
159054
  }
159004
159055
  },
159056
+ {
159057
+ "args": [
159058
+ {
159059
+ "defaultValue": null,
159060
+ "description": "String to completely or partially match the rule SQL, case-insensitive",
159061
+ "name": "customSqlContains",
159062
+ "type": {
159063
+ "kind": "SCALAR",
159064
+ "name": "String",
159065
+ "ofType": null
159066
+ }
159067
+ },
159068
+ {
159069
+ "defaultValue": null,
159070
+ "description": "String to completely or partially match the rule description, case-insensitive",
159071
+ "name": "descriptionContains",
159072
+ "type": {
159073
+ "kind": "SCALAR",
159074
+ "name": "String",
159075
+ "ofType": null
159076
+ }
159077
+ },
159078
+ {
159079
+ "defaultValue": null,
159080
+ "description": "Rule id",
159081
+ "name": "ruleId",
159082
+ "type": {
159083
+ "kind": "SCALAR",
159084
+ "name": "UUID",
159085
+ "ofType": null
159086
+ }
159087
+ }
159088
+ ],
159089
+ "deprecationReason": "Use RunSqlRule instead",
159090
+ "description": "Run a custom rule immediately",
159091
+ "isDeprecated": true,
159092
+ "name": "triggerCustomRule",
159093
+ "type": {
159094
+ "kind": "OBJECT",
159095
+ "name": "TriggerCustomRule",
159096
+ "ofType": null
159097
+ }
159098
+ },
159005
159099
  {
159006
159100
  "args": [
159007
159101
  {
@@ -160449,49 +160543,6 @@
160449
160543
  "ofType": null
160450
160544
  }
160451
160545
  },
160452
- {
160453
- "args": [
160454
- {
160455
- "defaultValue": null,
160456
- "description": "String to completely or partially match the rule SQL, case-insensitive",
160457
- "name": "customSqlContains",
160458
- "type": {
160459
- "kind": "SCALAR",
160460
- "name": "String",
160461
- "ofType": null
160462
- }
160463
- },
160464
- {
160465
- "defaultValue": null,
160466
- "description": "String to completely or partially match the rule description, case-insensitive",
160467
- "name": "descriptionContains",
160468
- "type": {
160469
- "kind": "SCALAR",
160470
- "name": "String",
160471
- "ofType": null
160472
- }
160473
- },
160474
- {
160475
- "defaultValue": null,
160476
- "description": "Rule id",
160477
- "name": "ruleId",
160478
- "type": {
160479
- "kind": "SCALAR",
160480
- "name": "UUID",
160481
- "ofType": null
160482
- }
160483
- }
160484
- ],
160485
- "deprecationReason": null,
160486
- "description": "Run a custom rule immediately",
160487
- "isDeprecated": false,
160488
- "name": "triggerCustomRule",
160489
- "type": {
160490
- "kind": "OBJECT",
160491
- "name": "TriggerCustomRule",
160492
- "ofType": null
160493
- }
160494
- },
160495
160546
  {
160496
160547
  "args": [
160497
160548
  {
@@ -180831,6 +180882,33 @@
180831
180882
  "name": "UpdateMonitorLabels",
180832
180883
  "possibleTypes": null
180833
180884
  },
180885
+ {
180886
+ "description": "Run a monitor manually",
180887
+ "enumValues": null,
180888
+ "fields": [
180889
+ {
180890
+ "args": [],
180891
+ "deprecationReason": null,
180892
+ "description": null,
180893
+ "isDeprecated": false,
180894
+ "name": "success",
180895
+ "type": {
180896
+ "kind": "NON_NULL",
180897
+ "name": null,
180898
+ "ofType": {
180899
+ "kind": "SCALAR",
180900
+ "name": "Boolean",
180901
+ "ofType": null
180902
+ }
180903
+ }
180904
+ }
180905
+ ],
180906
+ "inputFields": null,
180907
+ "interfaces": [],
180908
+ "kind": "OBJECT",
180909
+ "name": "RunMonitor",
180910
+ "possibleTypes": null
180911
+ },
180834
180912
  {
180835
180913
  "description": null,
180836
180914
  "enumValues": null,
@@ -182534,6 +182612,29 @@
182534
182612
  "name": "TriggerCircuitBreakerRule",
182535
182613
  "possibleTypes": null
182536
182614
  },
182615
+ {
182616
+ "description": "Run a custom rule immediately",
182617
+ "enumValues": null,
182618
+ "fields": [
182619
+ {
182620
+ "args": [],
182621
+ "deprecationReason": null,
182622
+ "description": null,
182623
+ "isDeprecated": false,
182624
+ "name": "customRule",
182625
+ "type": {
182626
+ "kind": "OBJECT",
182627
+ "name": "CustomRule",
182628
+ "ofType": null
182629
+ }
182630
+ }
182631
+ ],
182632
+ "inputFields": null,
182633
+ "interfaces": [],
182634
+ "kind": "OBJECT",
182635
+ "name": "TriggerCustomRule",
182636
+ "possibleTypes": null
182637
+ },
182537
182638
  {
182538
182639
  "description": "Create or update a Volume Rule",
182539
182640
  "enumValues": null,
@@ -183033,29 +183134,6 @@
183033
183134
  "name": "RestoreCustomRule",
183034
183135
  "possibleTypes": null
183035
183136
  },
183036
- {
183037
- "description": "Run a custom rule immediately",
183038
- "enumValues": null,
183039
- "fields": [
183040
- {
183041
- "args": [],
183042
- "deprecationReason": null,
183043
- "description": null,
183044
- "isDeprecated": false,
183045
- "name": "customRule",
183046
- "type": {
183047
- "kind": "OBJECT",
183048
- "name": "CustomRule",
183049
- "ofType": null
183050
- }
183051
- }
183052
- ],
183053
- "inputFields": null,
183054
- "interfaces": [],
183055
- "kind": "OBJECT",
183056
- "name": "TriggerCustomRule",
183057
- "possibleTypes": null
183058
- },
183059
183137
  {
183060
183138
  "description": "Run a custom rule as a circuit breaker immediately. Supports rules that create multiple queries.",
183061
183139
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -15423,6 +15423,7 @@ class ConversionResult(sgqlc.types.Type):
15423
15423
  "monitored_tables_count",
15424
15424
  "selected_tables_count",
15425
15425
  "top_multicovered_mcons_by_monitor_count",
15426
+ "mcon_coverage_distribution",
15426
15427
  "sample_covered_not_monitored",
15427
15428
  "sample_monitored_not_covered",
15428
15429
  "mcons_covered_by_table_monitor_audiences",
@@ -15498,6 +15499,11 @@ class ConversionResult(sgqlc.types.Type):
15498
15499
  graphql_name="topMulticoveredMconsByMonitorCount",
15499
15500
  )
15500
15501
 
15502
+ mcon_coverage_distribution = sgqlc.types.Field(
15503
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null("MconCountPair"))),
15504
+ graphql_name="mconCoverageDistribution",
15505
+ )
15506
+
15501
15507
  sample_covered_not_monitored = sgqlc.types.Field(
15502
15508
  sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null("MconMonitorPair"))),
15503
15509
  graphql_name="sampleCoveredNotMonitored",
@@ -24935,6 +24941,7 @@ class Mutation(sgqlc.types.Type):
24935
24941
  "update_monitor_description",
24936
24942
  "update_monitor_notes",
24937
24943
  "update_monitor_labels",
24944
+ "run_monitor",
24938
24945
  "update_monitors_priorities",
24939
24946
  "update_monitors_schedules",
24940
24947
  "pause_monitors",
@@ -24984,6 +24991,7 @@ class Mutation(sgqlc.types.Type):
24984
24991
  "update_custom_metric_rule_notes",
24985
24992
  "update_custom_metric_severity",
24986
24993
  "trigger_circuit_breaker_rule",
24994
+ "trigger_custom_rule",
24987
24995
  "create_or_update_volume_rule",
24988
24996
  "create_or_update_custom_sql_rule",
24989
24997
  "create_or_update_comparison_rule",
@@ -24995,7 +25003,6 @@ class Mutation(sgqlc.types.Type):
24995
25003
  "unsnooze_custom_rules",
24996
25004
  "delete_custom_rule",
24997
25005
  "restore_custom_rule",
24998
- "trigger_custom_rule",
24999
25006
  "trigger_circuit_breaker_rule_v2",
25000
25007
  "run_sql_rule",
25001
25008
  "run_custom_rules",
@@ -31238,6 +31245,27 @@ class Mutation(sgqlc.types.Type):
31238
31245
  rule
31239
31246
  """
31240
31247
 
31248
+ run_monitor = sgqlc.types.Field(
31249
+ "RunMonitor",
31250
+ graphql_name="runMonitor",
31251
+ args=sgqlc.types.ArgDict(
31252
+ (
31253
+ (
31254
+ "monitor_uuid",
31255
+ sgqlc.types.Arg(
31256
+ sgqlc.types.non_null(UUID), graphql_name="monitorUuid", default=None
31257
+ ),
31258
+ ),
31259
+ )
31260
+ ),
31261
+ )
31262
+ """(experimental) Run a monitor manually
31263
+
31264
+ Arguments:
31265
+
31266
+ * `monitor_uuid` (`UUID!`): Monitor UUID to run
31267
+ """
31268
+
31241
31269
  update_monitors_priorities = sgqlc.types.Field(
31242
31270
  "UpdateMonitorsPriorities",
31243
31271
  graphql_name="updateMonitorsPriorities",
@@ -33301,6 +33329,34 @@ class Mutation(sgqlc.types.Type):
33301
33329
  * `rule_uuid` (`UUID`): Rule UUID
33302
33330
  """
33303
33331
 
33332
+ trigger_custom_rule = sgqlc.types.Field(
33333
+ "TriggerCustomRule",
33334
+ graphql_name="triggerCustomRule",
33335
+ args=sgqlc.types.ArgDict(
33336
+ (
33337
+ (
33338
+ "custom_sql_contains",
33339
+ sgqlc.types.Arg(String, graphql_name="customSqlContains", default=None),
33340
+ ),
33341
+ (
33342
+ "description_contains",
33343
+ sgqlc.types.Arg(String, graphql_name="descriptionContains", default=None),
33344
+ ),
33345
+ ("rule_id", sgqlc.types.Arg(UUID, graphql_name="ruleId", default=None)),
33346
+ )
33347
+ ),
33348
+ )
33349
+ """Run a custom rule immediately
33350
+
33351
+ Arguments:
33352
+
33353
+ * `custom_sql_contains` (`String`): String to completely or
33354
+ partially match the rule SQL, case-insensitive
33355
+ * `description_contains` (`String`): String to completely or
33356
+ partially match the rule description, case-insensitive
33357
+ * `rule_id` (`UUID`): Rule id
33358
+ """
33359
+
33304
33360
  create_or_update_volume_rule = sgqlc.types.Field(
33305
33361
  CreateOrUpdateVolumeRule,
33306
33362
  graphql_name="createOrUpdateVolumeRule",
@@ -34108,34 +34164,6 @@ class Mutation(sgqlc.types.Type):
34108
34164
  * `warehouse_uuid` (`UUID`): Deprecated
34109
34165
  """
34110
34166
 
34111
- trigger_custom_rule = sgqlc.types.Field(
34112
- "TriggerCustomRule",
34113
- graphql_name="triggerCustomRule",
34114
- args=sgqlc.types.ArgDict(
34115
- (
34116
- (
34117
- "custom_sql_contains",
34118
- sgqlc.types.Arg(String, graphql_name="customSqlContains", default=None),
34119
- ),
34120
- (
34121
- "description_contains",
34122
- sgqlc.types.Arg(String, graphql_name="descriptionContains", default=None),
34123
- ),
34124
- ("rule_id", sgqlc.types.Arg(UUID, graphql_name="ruleId", default=None)),
34125
- )
34126
- ),
34127
- )
34128
- """Run a custom rule immediately
34129
-
34130
- Arguments:
34131
-
34132
- * `custom_sql_contains` (`String`): String to completely or
34133
- partially match the rule SQL, case-insensitive
34134
- * `description_contains` (`String`): String to completely or
34135
- partially match the rule description, case-insensitive
34136
- * `rule_id` (`UUID`): Rule id
34137
- """
34138
-
34139
34167
  trigger_circuit_breaker_rule_v2 = sgqlc.types.Field(
34140
34168
  "TriggerCircuitBreakerRuleV2",
34141
34169
  graphql_name="triggerCircuitBreakerRuleV2",
@@ -61054,6 +61082,14 @@ class RunDailyCount(sgqlc.types.Type):
61054
61082
  """The run count"""
61055
61083
 
61056
61084
 
61085
+ class RunMonitor(sgqlc.types.Type):
61086
+ """Run a monitor manually"""
61087
+
61088
+ __schema__ = schema
61089
+ __field_names__ = ("success",)
61090
+ success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="success")
61091
+
61092
+
61057
61093
  class RunMonitors(sgqlc.types.Type):
61058
61094
  __schema__ = schema
61059
61095
  __field_names__ = ("success",)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.139
3
+ Version: 0.10.141
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -35,10 +35,10 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
35
35
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
36
36
  pycarlo/lib/README.md,sha256=QGNeUefPzLKGyZqn5aITpcFgkC9WQTNS292BGisRFHk,139
37
37
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- pycarlo/lib/schema.json,sha256=Xq3cNun8yT_Lfo66QiAv4V6ofWUk6LQY3x7Z53fUevU,6181534
39
- pycarlo/lib/schema.py,sha256=hN-3o74UEkSeU8S7iJU1kokaJ5TorAfTZsU9WTAqTY8,2684688
40
- pycarlo-0.10.139.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.139.dist-info/METADATA,sha256=a4xgQQFY3h1FbVDSqYg9QWBdKNiJ1SP8WMs0uFYFgGA,8742
42
- pycarlo-0.10.139.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.139.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.139.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=WdzobZFb_9R0VcRo19U11JjzmNUkUXc7xoPlsgkA4hc,6183898
39
+ pycarlo/lib/schema.py,sha256=OLwY-G-3rKTlKK0WqahgbPKt0j5PkaFXeZxAaxN7JZQ,2685687
40
+ pycarlo-0.10.141.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.141.dist-info/METADATA,sha256=Sd1gb21gTVCKA9ebCjIQKrz0d8naBIJQJ6PTH7tUq6s,8742
42
+ pycarlo-0.10.141.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.141.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.141.dist-info/RECORD,,