pycarlo 0.10.167__py3-none-any.whl → 0.10.169__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
@@ -11191,6 +11191,53 @@
11191
11191
  "ofType": null
11192
11192
  }
11193
11193
  },
11194
+ {
11195
+ "args": [
11196
+ {
11197
+ "defaultValue": null,
11198
+ "description": "UUID of the table monitor",
11199
+ "name": "monitorUuid",
11200
+ "type": {
11201
+ "kind": "NON_NULL",
11202
+ "name": null,
11203
+ "ofType": {
11204
+ "kind": "SCALAR",
11205
+ "name": "UUID",
11206
+ "ofType": null
11207
+ }
11208
+ }
11209
+ },
11210
+ {
11211
+ "defaultValue": null,
11212
+ "description": "Search for tables by name, database, or schema (case-insensitive substring match)",
11213
+ "name": "search",
11214
+ "type": {
11215
+ "kind": "SCALAR",
11216
+ "name": "String",
11217
+ "ofType": null
11218
+ }
11219
+ },
11220
+ {
11221
+ "defaultValue": null,
11222
+ "description": "Search for monitors by description (case-insensitive substring match)",
11223
+ "name": "monitorsSearch",
11224
+ "type": {
11225
+ "kind": "SCALAR",
11226
+ "name": "String",
11227
+ "ofType": null
11228
+ }
11229
+ }
11230
+ ],
11231
+ "deprecationReason": null,
11232
+ "description": "(experimental) Get table monitor coverage information",
11233
+ "isDeprecated": false,
11234
+ "name": "getTableMonitorCoverage",
11235
+ "type": {
11236
+ "kind": "OBJECT",
11237
+ "name": "TableMonitorCoverage",
11238
+ "ofType": null
11239
+ }
11240
+ },
11194
11241
  {
11195
11242
  "args": [
11196
11243
  {
@@ -33365,6 +33412,18 @@
33365
33412
  }
33366
33413
  }
33367
33414
  },
33415
+ {
33416
+ "args": [],
33417
+ "deprecationReason": null,
33418
+ "description": "Type of storage encryption for the data store",
33419
+ "isDeprecated": false,
33420
+ "name": "dataStoreEncryption",
33421
+ "type": {
33422
+ "kind": "ENUM",
33423
+ "name": "StorageEncryptionType",
33424
+ "ofType": null
33425
+ }
33426
+ },
33368
33427
  {
33369
33428
  "args": [],
33370
33429
  "deprecationReason": null,
@@ -33448,6 +33507,29 @@
33448
33507
  "name": "PlatformServicePlatform",
33449
33508
  "possibleTypes": null
33450
33509
  },
33510
+ {
33511
+ "description": null,
33512
+ "enumValues": [
33513
+ {
33514
+ "deprecationReason": null,
33515
+ "description": null,
33516
+ "isDeprecated": false,
33517
+ "name": "MONTE_CARLO_KMS"
33518
+ },
33519
+ {
33520
+ "deprecationReason": null,
33521
+ "description": null,
33522
+ "isDeprecated": false,
33523
+ "name": "AMAZON_S3_SSE"
33524
+ }
33525
+ ],
33526
+ "fields": null,
33527
+ "inputFields": null,
33528
+ "interfaces": null,
33529
+ "kind": "ENUM",
33530
+ "name": "StorageEncryptionType",
33531
+ "possibleTypes": null
33532
+ },
33451
33533
  {
33452
33534
  "description": "Platform service agent information",
33453
33535
  "enumValues": null,
@@ -49649,6 +49731,18 @@
49649
49731
  }
49650
49732
  }
49651
49733
  }
49734
+ },
49735
+ {
49736
+ "args": [],
49737
+ "deprecationReason": null,
49738
+ "description": "Number of table monitors covering this table (eventually consistent)",
49739
+ "isDeprecated": false,
49740
+ "name": "tableMonitorCount",
49741
+ "type": {
49742
+ "kind": "SCALAR",
49743
+ "name": "Int",
49744
+ "ofType": null
49745
+ }
49652
49746
  }
49653
49747
  ],
49654
49748
  "inputFields": null,
@@ -115524,6 +115618,328 @@
115524
115618
  "name": "JobExecutionHistoryLogEdge",
115525
115619
  "possibleTypes": null
115526
115620
  },
115621
+ {
115622
+ "description": "Coverage information for a table monitor",
115623
+ "enumValues": null,
115624
+ "fields": [
115625
+ {
115626
+ "args": [
115627
+ {
115628
+ "defaultValue": null,
115629
+ "description": null,
115630
+ "name": "before",
115631
+ "type": {
115632
+ "kind": "SCALAR",
115633
+ "name": "String",
115634
+ "ofType": null
115635
+ }
115636
+ },
115637
+ {
115638
+ "defaultValue": null,
115639
+ "description": null,
115640
+ "name": "after",
115641
+ "type": {
115642
+ "kind": "SCALAR",
115643
+ "name": "String",
115644
+ "ofType": null
115645
+ }
115646
+ },
115647
+ {
115648
+ "defaultValue": null,
115649
+ "description": null,
115650
+ "name": "first",
115651
+ "type": {
115652
+ "kind": "SCALAR",
115653
+ "name": "Int",
115654
+ "ofType": null
115655
+ }
115656
+ },
115657
+ {
115658
+ "defaultValue": null,
115659
+ "description": null,
115660
+ "name": "last",
115661
+ "type": {
115662
+ "kind": "SCALAR",
115663
+ "name": "Int",
115664
+ "ofType": null
115665
+ }
115666
+ }
115667
+ ],
115668
+ "deprecationReason": null,
115669
+ "description": "Paginated list of tables that are only covered by this monitor and would become unmonitored if this monitor is deleted",
115670
+ "isDeprecated": false,
115671
+ "name": "tablesAtRisk",
115672
+ "type": {
115673
+ "kind": "OBJECT",
115674
+ "name": "WarehouseTableConnection",
115675
+ "ofType": null
115676
+ }
115677
+ },
115678
+ {
115679
+ "args": [],
115680
+ "deprecationReason": null,
115681
+ "description": "Number of tables that will become unmonitored if this monitor is deleted (tables only covered by this monitor)",
115682
+ "isDeprecated": false,
115683
+ "name": "tablesAtRiskCount",
115684
+ "type": {
115685
+ "kind": "NON_NULL",
115686
+ "name": null,
115687
+ "ofType": {
115688
+ "kind": "SCALAR",
115689
+ "name": "Int",
115690
+ "ofType": null
115691
+ }
115692
+ }
115693
+ },
115694
+ {
115695
+ "args": [
115696
+ {
115697
+ "defaultValue": null,
115698
+ "description": null,
115699
+ "name": "before",
115700
+ "type": {
115701
+ "kind": "SCALAR",
115702
+ "name": "String",
115703
+ "ofType": null
115704
+ }
115705
+ },
115706
+ {
115707
+ "defaultValue": null,
115708
+ "description": null,
115709
+ "name": "after",
115710
+ "type": {
115711
+ "kind": "SCALAR",
115712
+ "name": "String",
115713
+ "ofType": null
115714
+ }
115715
+ },
115716
+ {
115717
+ "defaultValue": null,
115718
+ "description": null,
115719
+ "name": "first",
115720
+ "type": {
115721
+ "kind": "SCALAR",
115722
+ "name": "Int",
115723
+ "ofType": null
115724
+ }
115725
+ },
115726
+ {
115727
+ "defaultValue": null,
115728
+ "description": null,
115729
+ "name": "last",
115730
+ "type": {
115731
+ "kind": "SCALAR",
115732
+ "name": "Int",
115733
+ "ofType": null
115734
+ }
115735
+ }
115736
+ ],
115737
+ "deprecationReason": null,
115738
+ "description": "Paginated list of monitors that cover tables which are only covered by this monitor. These monitors are at risk of covering unmonitored tables if this monitor is deleted. Sorted by creation date descending.",
115739
+ "isDeprecated": false,
115740
+ "name": "nonTableMonitorsAtRisk",
115741
+ "type": {
115742
+ "kind": "OBJECT",
115743
+ "name": "MonitorAtRiskConnection",
115744
+ "ofType": null
115745
+ }
115746
+ },
115747
+ {
115748
+ "args": [],
115749
+ "deprecationReason": null,
115750
+ "description": "Number of non-table monitors that cover tables which are only covered by this monitor (monitors at risk of covering unmonitored tables if this monitor is deleted)",
115751
+ "isDeprecated": false,
115752
+ "name": "nonTableMonitorsAtRiskCount",
115753
+ "type": {
115754
+ "kind": "NON_NULL",
115755
+ "name": null,
115756
+ "ofType": {
115757
+ "kind": "SCALAR",
115758
+ "name": "Int",
115759
+ "ofType": null
115760
+ }
115761
+ }
115762
+ }
115763
+ ],
115764
+ "inputFields": null,
115765
+ "interfaces": [],
115766
+ "kind": "OBJECT",
115767
+ "name": "TableMonitorCoverage",
115768
+ "possibleTypes": null
115769
+ },
115770
+ {
115771
+ "description": "Relay connection for monitors at risk",
115772
+ "enumValues": null,
115773
+ "fields": [
115774
+ {
115775
+ "args": [],
115776
+ "deprecationReason": null,
115777
+ "description": "Pagination data for this connection.",
115778
+ "isDeprecated": false,
115779
+ "name": "pageInfo",
115780
+ "type": {
115781
+ "kind": "NON_NULL",
115782
+ "name": null,
115783
+ "ofType": {
115784
+ "kind": "OBJECT",
115785
+ "name": "PageInfo",
115786
+ "ofType": null
115787
+ }
115788
+ }
115789
+ },
115790
+ {
115791
+ "args": [],
115792
+ "deprecationReason": null,
115793
+ "description": "Contains the nodes in this connection.",
115794
+ "isDeprecated": false,
115795
+ "name": "edges",
115796
+ "type": {
115797
+ "kind": "NON_NULL",
115798
+ "name": null,
115799
+ "ofType": {
115800
+ "kind": "LIST",
115801
+ "name": null,
115802
+ "ofType": {
115803
+ "kind": "OBJECT",
115804
+ "name": "MonitorAtRiskEdge",
115805
+ "ofType": null
115806
+ }
115807
+ }
115808
+ }
115809
+ }
115810
+ ],
115811
+ "inputFields": null,
115812
+ "interfaces": [],
115813
+ "kind": "OBJECT",
115814
+ "name": "MonitorAtRiskConnection",
115815
+ "possibleTypes": null
115816
+ },
115817
+ {
115818
+ "description": "A Relay edge containing a `MonitorAtRisk` and its cursor.",
115819
+ "enumValues": null,
115820
+ "fields": [
115821
+ {
115822
+ "args": [],
115823
+ "deprecationReason": null,
115824
+ "description": "The item at the end of the edge",
115825
+ "isDeprecated": false,
115826
+ "name": "node",
115827
+ "type": {
115828
+ "kind": "OBJECT",
115829
+ "name": "MonitorAtRisk",
115830
+ "ofType": null
115831
+ }
115832
+ },
115833
+ {
115834
+ "args": [],
115835
+ "deprecationReason": null,
115836
+ "description": "A cursor for use in pagination",
115837
+ "isDeprecated": false,
115838
+ "name": "cursor",
115839
+ "type": {
115840
+ "kind": "NON_NULL",
115841
+ "name": null,
115842
+ "ofType": {
115843
+ "kind": "SCALAR",
115844
+ "name": "String",
115845
+ "ofType": null
115846
+ }
115847
+ }
115848
+ }
115849
+ ],
115850
+ "inputFields": null,
115851
+ "interfaces": [],
115852
+ "kind": "OBJECT",
115853
+ "name": "MonitorAtRiskEdge",
115854
+ "possibleTypes": null
115855
+ },
115856
+ {
115857
+ "description": "Monitor that could be affected if this table monitor is deleted",
115858
+ "enumValues": null,
115859
+ "fields": [
115860
+ {
115861
+ "args": [],
115862
+ "deprecationReason": null,
115863
+ "description": "Monitor UUID",
115864
+ "isDeprecated": false,
115865
+ "name": "uuid",
115866
+ "type": {
115867
+ "kind": "NON_NULL",
115868
+ "name": null,
115869
+ "ofType": {
115870
+ "kind": "SCALAR",
115871
+ "name": "UUID",
115872
+ "ofType": null
115873
+ }
115874
+ }
115875
+ },
115876
+ {
115877
+ "args": [],
115878
+ "deprecationReason": null,
115879
+ "description": "Monitor description",
115880
+ "isDeprecated": false,
115881
+ "name": "description",
115882
+ "type": {
115883
+ "kind": "NON_NULL",
115884
+ "name": null,
115885
+ "ofType": {
115886
+ "kind": "SCALAR",
115887
+ "name": "String",
115888
+ "ofType": null
115889
+ }
115890
+ }
115891
+ },
115892
+ {
115893
+ "args": [],
115894
+ "deprecationReason": null,
115895
+ "description": "ID of user who created the monitor",
115896
+ "isDeprecated": false,
115897
+ "name": "creator",
115898
+ "type": {
115899
+ "kind": "SCALAR",
115900
+ "name": "String",
115901
+ "ofType": null
115902
+ }
115903
+ },
115904
+ {
115905
+ "args": [],
115906
+ "deprecationReason": null,
115907
+ "description": "When the monitor was created",
115908
+ "isDeprecated": false,
115909
+ "name": "createdTime",
115910
+ "type": {
115911
+ "kind": "NON_NULL",
115912
+ "name": null,
115913
+ "ofType": {
115914
+ "kind": "SCALAR",
115915
+ "name": "DateTime",
115916
+ "ofType": null
115917
+ }
115918
+ }
115919
+ },
115920
+ {
115921
+ "args": [],
115922
+ "deprecationReason": null,
115923
+ "description": "Type of monitor",
115924
+ "isDeprecated": false,
115925
+ "name": "monitorType",
115926
+ "type": {
115927
+ "kind": "NON_NULL",
115928
+ "name": null,
115929
+ "ofType": {
115930
+ "kind": "ENUM",
115931
+ "name": "UserDefinedMonitors",
115932
+ "ofType": null
115933
+ }
115934
+ }
115935
+ }
115936
+ ],
115937
+ "inputFields": null,
115938
+ "interfaces": [],
115939
+ "kind": "OBJECT",
115940
+ "name": "MonitorAtRisk",
115941
+ "possibleTypes": null
115942
+ },
115527
115943
  {
115528
115944
  "description": "Warehouse assets referenced by monitors, grouped by name",
115529
115945
  "enumValues": null,
@@ -149849,6 +150265,43 @@
149849
150265
  "ofType": null
149850
150266
  }
149851
150267
  },
150268
+ {
150269
+ "args": [
150270
+ {
150271
+ "defaultValue": "\"AMAZON_S3_SSE\"",
150272
+ "description": "Type of storage encryption (default: 'AMAZON_S3_SSE')",
150273
+ "name": "encryptionType",
150274
+ "type": {
150275
+ "kind": "ENUM",
150276
+ "name": "StorageEncryptionType",
150277
+ "ofType": null
150278
+ }
150279
+ },
150280
+ {
150281
+ "defaultValue": null,
150282
+ "description": "Platform Service UUID. To disambiguate accounts with multiple services",
150283
+ "name": "serviceUuid",
150284
+ "type": {
150285
+ "kind": "NON_NULL",
150286
+ "name": null,
150287
+ "ofType": {
150288
+ "kind": "SCALAR",
150289
+ "name": "UUID",
150290
+ "ofType": null
150291
+ }
150292
+ }
150293
+ }
150294
+ ],
150295
+ "deprecationReason": null,
150296
+ "description": "(experimental) Sets the collection storage encryption",
150297
+ "isDeprecated": false,
150298
+ "name": "caasUpdateCollectionStorageEncryption",
150299
+ "type": {
150300
+ "kind": "OBJECT",
150301
+ "name": "CaasUpdateCollectionStorageEncryption",
150302
+ "ofType": null
150303
+ }
150304
+ },
149852
150305
  {
149853
150306
  "args": [],
149854
150307
  "deprecationReason": null,
@@ -175024,6 +175477,29 @@
175024
175477
  "name": "CaasUpdateCollectionStorageLink",
175025
175478
  "possibleTypes": null
175026
175479
  },
175480
+ {
175481
+ "description": "Sets the collection storage encryption",
175482
+ "enumValues": null,
175483
+ "fields": [
175484
+ {
175485
+ "args": [],
175486
+ "deprecationReason": null,
175487
+ "description": "Boolean indicating if the operation was successful",
175488
+ "isDeprecated": false,
175489
+ "name": "ok",
175490
+ "type": {
175491
+ "kind": "SCALAR",
175492
+ "name": "Boolean",
175493
+ "ofType": null
175494
+ }
175495
+ }
175496
+ ],
175497
+ "inputFields": null,
175498
+ "interfaces": [],
175499
+ "kind": "OBJECT",
175500
+ "name": "CaasUpdateCollectionStorageEncryption",
175501
+ "possibleTypes": null
175502
+ },
175027
175503
  {
175028
175504
  "description": null,
175029
175505
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -4812,6 +4812,17 @@ class Status(sgqlc.types.Enum):
4812
4812
  __choices__ = ("NOTIFIED", "PENDING")
4813
4813
 
4814
4814
 
4815
+ class StorageEncryptionType(sgqlc.types.Enum):
4816
+ """Enumeration Choices:
4817
+
4818
+ * `AMAZON_S3_SSE`None
4819
+ * `MONTE_CARLO_KMS`None
4820
+ """
4821
+
4822
+ __schema__ = schema
4823
+ __choices__ = ("AMAZON_S3_SSE", "MONTE_CARLO_KMS")
4824
+
4825
+
4815
4826
  class StorageTypeEnum(sgqlc.types.Enum):
4816
4827
  """Enumeration Choices:
4817
4828
 
@@ -14746,6 +14757,15 @@ class CaasUpdateCollectionNodeVersion(sgqlc.types.Type):
14746
14757
  """Boolean indicating if the operation was successful"""
14747
14758
 
14748
14759
 
14760
+ class CaasUpdateCollectionStorageEncryption(sgqlc.types.Type):
14761
+ """Sets the collection storage encryption"""
14762
+
14763
+ __schema__ = schema
14764
+ __field_names__ = ("ok",)
14765
+ ok = sgqlc.types.Field(Boolean, graphql_name="ok")
14766
+ """Boolean indicating if the operation was successful"""
14767
+
14768
+
14749
14769
  class CaasUpdateCollectionStorageLink(sgqlc.types.Type):
14750
14770
  """If there's an agent associated to the service, it makes sure the
14751
14771
  link to the CaaS storage is deleted.
@@ -24135,6 +24155,55 @@ class MigrateConnectionToSnowflakeAgent(sgqlc.types.Type):
24135
24155
  """True if the connection was migrated successfully."""
24136
24156
 
24137
24157
 
24158
+ class MonitorAtRisk(sgqlc.types.Type):
24159
+ """Monitor that could be affected if this table monitor is deleted"""
24160
+
24161
+ __schema__ = schema
24162
+ __field_names__ = ("uuid", "description", "creator", "created_time", "monitor_type")
24163
+ uuid = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="uuid")
24164
+ """Monitor UUID"""
24165
+
24166
+ description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="description")
24167
+ """Monitor description"""
24168
+
24169
+ creator = sgqlc.types.Field(String, graphql_name="creator")
24170
+ """ID of user who created the monitor"""
24171
+
24172
+ created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
24173
+ """When the monitor was created"""
24174
+
24175
+ monitor_type = sgqlc.types.Field(
24176
+ sgqlc.types.non_null(UserDefinedMonitors), graphql_name="monitorType"
24177
+ )
24178
+ """Type of monitor"""
24179
+
24180
+
24181
+ class MonitorAtRiskConnection(sgqlc.types.relay.Connection):
24182
+ """Relay connection for monitors at risk"""
24183
+
24184
+ __schema__ = schema
24185
+ __field_names__ = ("page_info", "edges")
24186
+ page_info = sgqlc.types.Field(sgqlc.types.non_null("PageInfo"), graphql_name="pageInfo")
24187
+ """Pagination data for this connection."""
24188
+
24189
+ edges = sgqlc.types.Field(
24190
+ sgqlc.types.non_null(sgqlc.types.list_of("MonitorAtRiskEdge")), graphql_name="edges"
24191
+ )
24192
+ """Contains the nodes in this connection."""
24193
+
24194
+
24195
+ class MonitorAtRiskEdge(sgqlc.types.Type):
24196
+ """A Relay edge containing a `MonitorAtRisk` and its cursor."""
24197
+
24198
+ __schema__ = schema
24199
+ __field_names__ = ("node", "cursor")
24200
+ node = sgqlc.types.Field(MonitorAtRisk, graphql_name="node")
24201
+ """The item at the end of the edge"""
24202
+
24203
+ cursor = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="cursor")
24204
+ """A cursor for use in pagination"""
24205
+
24206
+
24138
24207
  class MonitorBootstrap(sgqlc.types.Type):
24139
24208
  __schema__ = schema
24140
24209
  __field_names__ = (
@@ -25108,6 +25177,7 @@ class Mutation(sgqlc.types.Type):
25108
25177
  "connect_platform_service_to_existing_bucket",
25109
25178
  "connect_platform_to_existing_agent",
25110
25179
  "caas_update_collection_storage_link",
25180
+ "caas_update_collection_storage_encryption",
25111
25181
  "refresh_entitlements",
25112
25182
  "run_table_monitor_validation",
25113
25183
  "test_updated_credentials_v2",
@@ -26849,6 +26919,39 @@ class Mutation(sgqlc.types.Type):
26849
26919
  accounts with multiple services
26850
26920
  """
26851
26921
 
26922
+ caas_update_collection_storage_encryption = sgqlc.types.Field(
26923
+ CaasUpdateCollectionStorageEncryption,
26924
+ graphql_name="caasUpdateCollectionStorageEncryption",
26925
+ args=sgqlc.types.ArgDict(
26926
+ (
26927
+ (
26928
+ "encryption_type",
26929
+ sgqlc.types.Arg(
26930
+ StorageEncryptionType,
26931
+ graphql_name="encryptionType",
26932
+ default="AMAZON_S3_SSE",
26933
+ ),
26934
+ ),
26935
+ (
26936
+ "service_uuid",
26937
+ sgqlc.types.Arg(
26938
+ sgqlc.types.non_null(UUID), graphql_name="serviceUuid", default=None
26939
+ ),
26940
+ ),
26941
+ )
26942
+ ),
26943
+ )
26944
+ """(experimental) Sets the collection storage encryption
26945
+
26946
+ Arguments:
26947
+
26948
+ * `encryption_type` (`StorageEncryptionType`): Type of storage
26949
+ encryption (default: 'AMAZON_S3_SSE') (default:
26950
+ `"AMAZON_S3_SSE"`)
26951
+ * `service_uuid` (`UUID!`): Platform Service UUID. To disambiguate
26952
+ accounts with multiple services
26953
+ """
26954
+
26852
26955
  refresh_entitlements = sgqlc.types.Field(
26853
26956
  "RefreshEntitlements", graphql_name="refreshEntitlements"
26854
26957
  )
@@ -43371,6 +43474,7 @@ class PlatformServicePlatform(sgqlc.types.Type):
43371
43474
  __field_names__ = (
43372
43475
  "resources",
43373
43476
  "ip_addresses",
43477
+ "data_store_encryption",
43374
43478
  "created_on",
43375
43479
  "last_updated_on",
43376
43480
  "assigned_on",
@@ -43384,6 +43488,11 @@ class PlatformServicePlatform(sgqlc.types.Type):
43384
43488
  ip_addresses = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="ipAddresses")
43385
43489
  """Platform IP addresses"""
43386
43490
 
43491
+ data_store_encryption = sgqlc.types.Field(
43492
+ StorageEncryptionType, graphql_name="dataStoreEncryption"
43493
+ )
43494
+ """Type of storage encryption for the data store"""
43495
+
43387
43496
  created_on = sgqlc.types.Field(DateTime, graphql_name="createdOn")
43388
43497
  """Service creation date"""
43389
43498
 
@@ -43880,6 +43989,7 @@ class Query(sgqlc.types.Type):
43880
43989
  "get_job_execution_history_logs",
43881
43990
  "get_job_executions",
43882
43991
  "get_table_monitor",
43992
+ "get_table_monitor_coverage",
43883
43993
  "get_monitors",
43884
43994
  "get_monitors_count",
43885
43995
  "get_monitor_namespaces",
@@ -50335,6 +50445,36 @@ class Query(sgqlc.types.Type):
50335
50445
  * `monitor_uuid` (`UUID!`)None
50336
50446
  """
50337
50447
 
50448
+ get_table_monitor_coverage = sgqlc.types.Field(
50449
+ "TableMonitorCoverage",
50450
+ graphql_name="getTableMonitorCoverage",
50451
+ args=sgqlc.types.ArgDict(
50452
+ (
50453
+ (
50454
+ "monitor_uuid",
50455
+ sgqlc.types.Arg(
50456
+ sgqlc.types.non_null(UUID), graphql_name="monitorUuid", default=None
50457
+ ),
50458
+ ),
50459
+ ("search", sgqlc.types.Arg(String, graphql_name="search", default=None)),
50460
+ (
50461
+ "monitors_search",
50462
+ sgqlc.types.Arg(String, graphql_name="monitorsSearch", default=None),
50463
+ ),
50464
+ )
50465
+ ),
50466
+ )
50467
+ """(experimental) Get table monitor coverage information
50468
+
50469
+ Arguments:
50470
+
50471
+ * `monitor_uuid` (`UUID!`): UUID of the table monitor
50472
+ * `search` (`String`): Search for tables by name, database, or
50473
+ schema (case-insensitive substring match)
50474
+ * `monitors_search` (`String`): Search for monitors by description
50475
+ (case-insensitive substring match)
50476
+ """
50477
+
50338
50478
  get_monitors = sgqlc.types.Field(
50339
50479
  sgqlc.types.list_of("Monitor"),
50340
50480
  graphql_name="getMonitors",
@@ -64342,6 +64482,80 @@ class TableMonitorConnection(sgqlc.types.relay.Connection):
64342
64482
  """Contains the nodes in this connection."""
64343
64483
 
64344
64484
 
64485
+ class TableMonitorCoverage(sgqlc.types.Type):
64486
+ """Coverage information for a table monitor"""
64487
+
64488
+ __schema__ = schema
64489
+ __field_names__ = (
64490
+ "tables_at_risk",
64491
+ "tables_at_risk_count",
64492
+ "non_table_monitors_at_risk",
64493
+ "non_table_monitors_at_risk_count",
64494
+ )
64495
+ tables_at_risk = sgqlc.types.Field(
64496
+ "WarehouseTableConnection",
64497
+ graphql_name="tablesAtRisk",
64498
+ args=sgqlc.types.ArgDict(
64499
+ (
64500
+ ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
64501
+ ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
64502
+ ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
64503
+ ("last", sgqlc.types.Arg(Int, graphql_name="last", default=None)),
64504
+ )
64505
+ ),
64506
+ )
64507
+ """Paginated list of tables that are only covered by this monitor and
64508
+ would become unmonitored if this monitor is deleted
64509
+
64510
+ Arguments:
64511
+
64512
+ * `before` (`String`)None
64513
+ * `after` (`String`)None
64514
+ * `first` (`Int`)None
64515
+ * `last` (`Int`)None
64516
+ """
64517
+
64518
+ tables_at_risk_count = sgqlc.types.Field(
64519
+ sgqlc.types.non_null(Int), graphql_name="tablesAtRiskCount"
64520
+ )
64521
+ """Number of tables that will become unmonitored if this monitor is
64522
+ deleted (tables only covered by this monitor)
64523
+ """
64524
+
64525
+ non_table_monitors_at_risk = sgqlc.types.Field(
64526
+ MonitorAtRiskConnection,
64527
+ graphql_name="nonTableMonitorsAtRisk",
64528
+ args=sgqlc.types.ArgDict(
64529
+ (
64530
+ ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
64531
+ ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
64532
+ ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
64533
+ ("last", sgqlc.types.Arg(Int, graphql_name="last", default=None)),
64534
+ )
64535
+ ),
64536
+ )
64537
+ """Paginated list of monitors that cover tables which are only
64538
+ covered by this monitor. These monitors are at risk of covering
64539
+ unmonitored tables if this monitor is deleted. Sorted by creation
64540
+ date descending.
64541
+
64542
+ Arguments:
64543
+
64544
+ * `before` (`String`)None
64545
+ * `after` (`String`)None
64546
+ * `first` (`Int`)None
64547
+ * `last` (`Int`)None
64548
+ """
64549
+
64550
+ non_table_monitors_at_risk_count = sgqlc.types.Field(
64551
+ sgqlc.types.non_null(Int), graphql_name="nonTableMonitorsAtRiskCount"
64552
+ )
64553
+ """Number of non-table monitors that cover tables which are only
64554
+ covered by this monitor (monitors at risk of covering unmonitored
64555
+ tables if this monitor is deleted)
64556
+ """
64557
+
64558
+
64345
64559
  class TableMonitorEdge(sgqlc.types.Type):
64346
64560
  """A Relay edge containing a `TableMonitor` and its cursor."""
64347
64561
 
@@ -77000,6 +77214,7 @@ class WarehouseTable(sgqlc.types.Type, Node):
77000
77214
  "total_downstream_nodes",
77001
77215
  "total_upstream_nodes",
77002
77216
  "monitored_metrics",
77217
+ "table_monitor_count",
77003
77218
  )
77004
77219
  table_id = sgqlc.types.Field(String, graphql_name="tableId")
77005
77220
 
@@ -77500,6 +77715,11 @@ class WarehouseTable(sgqlc.types.Type, Node):
77500
77715
  graphql_name="monitoredMetrics",
77501
77716
  )
77502
77717
 
77718
+ table_monitor_count = sgqlc.types.Field(Int, graphql_name="tableMonitorCount")
77719
+ """Number of table monitors covering this table (eventually
77720
+ consistent)
77721
+ """
77722
+
77503
77723
 
77504
77724
  class WarehouseTableHealth(sgqlc.types.Type, Node):
77505
77725
  __schema__ = schema
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.167
3
+ Version: 0.10.169
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=-v3Daf3OQu8_QQgMSAUWMEKgWw1u1mUtUbhfKr9Zsrs,6240658
39
- pycarlo/lib/schema.py,sha256=o9fpV1rvWl85XFRdTdJQvnLmZe12S008Y72kpQQ9B38,2711060
40
- pycarlo-0.10.167.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.167.dist-info/METADATA,sha256=dGuFUxJ2UFUamryrJwLpxGHENWweFnpX5WrJGse1Bw0,8742
42
- pycarlo-0.10.167.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.167.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.167.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=AUFKs5akQLoT7EQ3rUuoP1J-VihNuL8bF8VjZ-ssxDQ,6256212
39
+ pycarlo/lib/schema.py,sha256=sBtWcFjF9Wa4xspsCyhZvv4zVrqOoQcfFgdOyKqeBb8,2718603
40
+ pycarlo-0.10.169.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.169.dist-info/METADATA,sha256=axQaPxDX1bNsWqlJa3pu87MKoqfRu8GW50lY0OtxJr0,8742
42
+ pycarlo-0.10.169.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.169.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.169.dist-info/RECORD,,