pycarlo 0.10.91__py3-none-any.whl → 0.10.93__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
@@ -12689,6 +12689,47 @@
12689
12689
  }
12690
12690
  }
12691
12691
  },
12692
+ {
12693
+ "args": [
12694
+ {
12695
+ "defaultValue": null,
12696
+ "description": "Warehouse UUID",
12697
+ "name": "dwId",
12698
+ "type": {
12699
+ "kind": "NON_NULL",
12700
+ "name": null,
12701
+ "ofType": {
12702
+ "kind": "SCALAR",
12703
+ "name": "UUID",
12704
+ "ofType": null
12705
+ }
12706
+ }
12707
+ },
12708
+ {
12709
+ "defaultValue": null,
12710
+ "description": "The data source",
12711
+ "name": "dataSource",
12712
+ "type": {
12713
+ "kind": "NON_NULL",
12714
+ "name": null,
12715
+ "ofType": {
12716
+ "kind": "INPUT_OBJECT",
12717
+ "name": "DataSourceUnionInput",
12718
+ "ofType": null
12719
+ }
12720
+ }
12721
+ }
12722
+ ],
12723
+ "deprecationReason": null,
12724
+ "description": "(experimental) Retrieve agent log groups with observability data",
12725
+ "isDeprecated": false,
12726
+ "name": "retrieveAgentLogGroups",
12727
+ "type": {
12728
+ "kind": "OBJECT",
12729
+ "name": "AgentLogTree",
12730
+ "ofType": null
12731
+ }
12732
+ },
12692
12733
  {
12693
12734
  "args": [
12694
12735
  {
@@ -26407,7 +26448,7 @@
26407
26448
  {
26408
26449
  "defaultValue": null,
26409
26450
  "description": null,
26410
- "name": "searchDatabaseSchema",
26451
+ "name": "rankByDatabaseSchema",
26411
26452
  "type": {
26412
26453
  "kind": "SCALAR",
26413
26454
  "name": "String",
@@ -110367,6 +110408,168 @@
110367
110408
  "name": "MonitorQueriesResults",
110368
110409
  "possibleTypes": null
110369
110410
  },
110411
+ {
110412
+ "description": null,
110413
+ "enumValues": null,
110414
+ "fields": [
110415
+ {
110416
+ "args": [],
110417
+ "deprecationReason": null,
110418
+ "description": null,
110419
+ "isDeprecated": false,
110420
+ "name": "nodes",
110421
+ "type": {
110422
+ "kind": "NON_NULL",
110423
+ "name": null,
110424
+ "ofType": {
110425
+ "kind": "LIST",
110426
+ "name": null,
110427
+ "ofType": {
110428
+ "kind": "NON_NULL",
110429
+ "name": null,
110430
+ "ofType": {
110431
+ "kind": "OBJECT",
110432
+ "name": "AgentLogNode",
110433
+ "ofType": null
110434
+ }
110435
+ }
110436
+ }
110437
+ }
110438
+ },
110439
+ {
110440
+ "args": [],
110441
+ "deprecationReason": null,
110442
+ "description": null,
110443
+ "isDeprecated": false,
110444
+ "name": "query",
110445
+ "type": {
110446
+ "kind": "SCALAR",
110447
+ "name": "String",
110448
+ "ofType": null
110449
+ }
110450
+ }
110451
+ ],
110452
+ "inputFields": null,
110453
+ "interfaces": [],
110454
+ "kind": "OBJECT",
110455
+ "name": "AgentLogTree",
110456
+ "possibleTypes": null
110457
+ },
110458
+ {
110459
+ "description": null,
110460
+ "enumValues": null,
110461
+ "fields": [
110462
+ {
110463
+ "args": [],
110464
+ "deprecationReason": null,
110465
+ "description": null,
110466
+ "isDeprecated": false,
110467
+ "name": "nodeName",
110468
+ "type": {
110469
+ "kind": "NON_NULL",
110470
+ "name": null,
110471
+ "ofType": {
110472
+ "kind": "SCALAR",
110473
+ "name": "String",
110474
+ "ofType": null
110475
+ }
110476
+ }
110477
+ },
110478
+ {
110479
+ "args": [],
110480
+ "deprecationReason": null,
110481
+ "description": null,
110482
+ "isDeprecated": false,
110483
+ "name": "nodeValue",
110484
+ "type": {
110485
+ "kind": "NON_NULL",
110486
+ "name": null,
110487
+ "ofType": {
110488
+ "kind": "SCALAR",
110489
+ "name": "String",
110490
+ "ofType": null
110491
+ }
110492
+ }
110493
+ },
110494
+ {
110495
+ "args": [],
110496
+ "deprecationReason": null,
110497
+ "description": null,
110498
+ "isDeprecated": false,
110499
+ "name": "childNodes",
110500
+ "type": {
110501
+ "kind": "NON_NULL",
110502
+ "name": null,
110503
+ "ofType": {
110504
+ "kind": "LIST",
110505
+ "name": null,
110506
+ "ofType": {
110507
+ "kind": "NON_NULL",
110508
+ "name": null,
110509
+ "ofType": {
110510
+ "kind": "OBJECT",
110511
+ "name": "AgentLogNode",
110512
+ "ofType": null
110513
+ }
110514
+ }
110515
+ }
110516
+ }
110517
+ },
110518
+ {
110519
+ "args": [],
110520
+ "deprecationReason": null,
110521
+ "description": null,
110522
+ "isDeprecated": false,
110523
+ "name": "level",
110524
+ "type": {
110525
+ "kind": "NON_NULL",
110526
+ "name": null,
110527
+ "ofType": {
110528
+ "kind": "SCALAR",
110529
+ "name": "Int",
110530
+ "ofType": null
110531
+ }
110532
+ }
110533
+ },
110534
+ {
110535
+ "args": [],
110536
+ "deprecationReason": null,
110537
+ "description": null,
110538
+ "isDeprecated": false,
110539
+ "name": "count",
110540
+ "type": {
110541
+ "kind": "NON_NULL",
110542
+ "name": null,
110543
+ "ofType": {
110544
+ "kind": "SCALAR",
110545
+ "name": "Int",
110546
+ "ofType": null
110547
+ }
110548
+ }
110549
+ },
110550
+ {
110551
+ "args": [],
110552
+ "deprecationReason": null,
110553
+ "description": null,
110554
+ "isDeprecated": false,
110555
+ "name": "isLeaf",
110556
+ "type": {
110557
+ "kind": "NON_NULL",
110558
+ "name": null,
110559
+ "ofType": {
110560
+ "kind": "SCALAR",
110561
+ "name": "Boolean",
110562
+ "ofType": null
110563
+ }
110564
+ }
110565
+ }
110566
+ ],
110567
+ "inputFields": null,
110568
+ "interfaces": [],
110569
+ "kind": "OBJECT",
110570
+ "name": "AgentLogNode",
110571
+ "possibleTypes": null
110572
+ },
110370
110573
  {
110371
110574
  "description": null,
110372
110575
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -12221,6 +12221,36 @@ class AgentLogEntry(sgqlc.types.Type):
12221
12221
  """
12222
12222
 
12223
12223
 
12224
+ class AgentLogNode(sgqlc.types.Type):
12225
+ __schema__ = schema
12226
+ __field_names__ = ("node_name", "node_value", "child_nodes", "level", "count", "is_leaf")
12227
+ node_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="nodeName")
12228
+
12229
+ node_value = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="nodeValue")
12230
+
12231
+ child_nodes = sgqlc.types.Field(
12232
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null("AgentLogNode"))),
12233
+ graphql_name="childNodes",
12234
+ )
12235
+
12236
+ level = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="level")
12237
+
12238
+ count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="count")
12239
+
12240
+ is_leaf = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="isLeaf")
12241
+
12242
+
12243
+ class AgentLogTree(sgqlc.types.Type):
12244
+ __schema__ = schema
12245
+ __field_names__ = ("nodes", "query")
12246
+ nodes = sgqlc.types.Field(
12247
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(AgentLogNode))),
12248
+ graphql_name="nodes",
12249
+ )
12250
+
12251
+ query = sgqlc.types.Field(String, graphql_name="query")
12252
+
12253
+
12224
12254
  class AggregatedMetricDataType(sgqlc.types.Type):
12225
12255
  __schema__ = schema
12226
12256
  __field_names__ = ("query_group", "metric_aggregation", "timestamp", "value")
@@ -42676,6 +42706,7 @@ class Query(sgqlc.types.Type):
42676
42706
  "get_monitor_queries",
42677
42707
  "test_monitor_queries",
42678
42708
  "get_notification_audiences_for_table",
42709
+ "retrieve_agent_log_groups",
42679
42710
  "get_all_user_defined_monitors_v2",
42680
42711
  "get_all_user_defined_monitors",
42681
42712
  "get_custom_rule",
@@ -49988,6 +50019,34 @@ class Query(sgqlc.types.Type):
49988
50019
  * `mcon` (`String!`): MCON that specifies a table
49989
50020
  """
49990
50021
 
50022
+ retrieve_agent_log_groups = sgqlc.types.Field(
50023
+ AgentLogTree,
50024
+ graphql_name="retrieveAgentLogGroups",
50025
+ args=sgqlc.types.ArgDict(
50026
+ (
50027
+ (
50028
+ "dw_id",
50029
+ sgqlc.types.Arg(sgqlc.types.non_null(UUID), graphql_name="dwId", default=None),
50030
+ ),
50031
+ (
50032
+ "data_source",
50033
+ sgqlc.types.Arg(
50034
+ sgqlc.types.non_null(DataSourceUnionInput),
50035
+ graphql_name="dataSource",
50036
+ default=None,
50037
+ ),
50038
+ ),
50039
+ )
50040
+ ),
50041
+ )
50042
+ """(experimental) Retrieve agent log groups with observability data
50043
+
50044
+ Arguments:
50045
+
50046
+ * `dw_id` (`UUID!`): Warehouse UUID
50047
+ * `data_source` (`DataSourceUnionInput!`): The data source
50048
+ """
50049
+
49991
50050
  get_all_user_defined_monitors_v2 = sgqlc.types.Field(
49992
50051
  "UserDefinedMonitorConnectionV2Connection",
49993
50052
  graphql_name="getAllUserDefinedMonitorsV2",
@@ -57037,8 +57096,8 @@ class Query(sgqlc.types.Type):
57037
57096
  ),
57038
57097
  ("search", sgqlc.types.Arg(String, graphql_name="search", default=None)),
57039
57098
  (
57040
- "search_database_schema",
57041
- sgqlc.types.Arg(String, graphql_name="searchDatabaseSchema", default=None),
57099
+ "rank_by_database_schema",
57100
+ sgqlc.types.Arg(String, graphql_name="rankByDatabaseSchema", default=None),
57042
57101
  ),
57043
57102
  (
57044
57103
  "search_full_table_id",
@@ -57066,7 +57125,7 @@ class Query(sgqlc.types.Type):
57066
57125
  * `filter_by_schema_name` (`String`)None
57067
57126
  * `domain_restrictions` (`[UUID!]`)None
57068
57127
  * `search` (`String`)None
57069
- * `search_database_schema` (`String`)None
57128
+ * `rank_by_database_schema` (`String`)None
57070
57129
  * `search_full_table_id` (`String`)None
57071
57130
  * `is_monitored` (`Boolean`): Filter by monitored status if
57072
57131
  provided
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.91
3
+ Version: 0.10.93
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=XKKb5ITkzhIvDnK1e8-NsgDVvPL7-nd5py3q9TmTb_w,6016915
39
- pycarlo/lib/schema.py,sha256=d1zUSlf_11UpEve1CYwyLz6D2rOxqdc7s8SpOyzOT-c,2599528
40
- pycarlo-0.10.91.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.91.dist-info/METADATA,sha256=Fch-eMJy8hRg9aRpwiAUhc1tQ1JEUS4T9D2jpPgLkrw,8741
42
- pycarlo-0.10.91.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.91.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.91.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=kqzrzymYyNjCeUlr8mjUAvxi98ZFIHoXSLsp3543clk,6022887
39
+ pycarlo/lib/schema.py,sha256=s-cPiuk0DXUUN5g1i3OYhMo573nwrtHqLXyWMLbTFqo,2601496
40
+ pycarlo-0.10.93.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.93.dist-info/METADATA,sha256=vwgLaQVjE3oqF_OXezMKbsEemhYVYZhbCZYK38-pldg,8741
42
+ pycarlo-0.10.93.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.93.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.93.dist-info/RECORD,,