pycarlo 0.10.168__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 +381 -0
- pycarlo/lib/schema.py +160 -0
- {pycarlo-0.10.168.dist-info → pycarlo-0.10.169.dist-info}/METADATA +1 -1
- {pycarlo-0.10.168.dist-info → pycarlo-0.10.169.dist-info}/RECORD +7 -7
- {pycarlo-0.10.168.dist-info → pycarlo-0.10.169.dist-info}/LICENSE +0 -0
- {pycarlo-0.10.168.dist-info → pycarlo-0.10.169.dist-info}/WHEEL +0 -0
- {pycarlo-0.10.168.dist-info → pycarlo-0.10.169.dist-info}/top_level.txt +0 -0
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
|
{
|
|
@@ -49684,6 +49731,18 @@
|
|
|
49684
49731
|
}
|
|
49685
49732
|
}
|
|
49686
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
|
+
}
|
|
49687
49746
|
}
|
|
49688
49747
|
],
|
|
49689
49748
|
"inputFields": null,
|
|
@@ -115559,6 +115618,328 @@
|
|
|
115559
115618
|
"name": "JobExecutionHistoryLogEdge",
|
|
115560
115619
|
"possibleTypes": null
|
|
115561
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
|
+
},
|
|
115562
115943
|
{
|
|
115563
115944
|
"description": "Warehouse assets referenced by monitors, grouped by name",
|
|
115564
115945
|
"enumValues": null,
|
pycarlo/lib/schema.py
CHANGED
|
@@ -24155,6 +24155,55 @@ class MigrateConnectionToSnowflakeAgent(sgqlc.types.Type):
|
|
|
24155
24155
|
"""True if the connection was migrated successfully."""
|
|
24156
24156
|
|
|
24157
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
|
+
|
|
24158
24207
|
class MonitorBootstrap(sgqlc.types.Type):
|
|
24159
24208
|
__schema__ = schema
|
|
24160
24209
|
__field_names__ = (
|
|
@@ -43940,6 +43989,7 @@ class Query(sgqlc.types.Type):
|
|
|
43940
43989
|
"get_job_execution_history_logs",
|
|
43941
43990
|
"get_job_executions",
|
|
43942
43991
|
"get_table_monitor",
|
|
43992
|
+
"get_table_monitor_coverage",
|
|
43943
43993
|
"get_monitors",
|
|
43944
43994
|
"get_monitors_count",
|
|
43945
43995
|
"get_monitor_namespaces",
|
|
@@ -50395,6 +50445,36 @@ class Query(sgqlc.types.Type):
|
|
|
50395
50445
|
* `monitor_uuid` (`UUID!`)None
|
|
50396
50446
|
"""
|
|
50397
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
|
+
|
|
50398
50478
|
get_monitors = sgqlc.types.Field(
|
|
50399
50479
|
sgqlc.types.list_of("Monitor"),
|
|
50400
50480
|
graphql_name="getMonitors",
|
|
@@ -64402,6 +64482,80 @@ class TableMonitorConnection(sgqlc.types.relay.Connection):
|
|
|
64402
64482
|
"""Contains the nodes in this connection."""
|
|
64403
64483
|
|
|
64404
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
|
+
|
|
64405
64559
|
class TableMonitorEdge(sgqlc.types.Type):
|
|
64406
64560
|
"""A Relay edge containing a `TableMonitor` and its cursor."""
|
|
64407
64561
|
|
|
@@ -77060,6 +77214,7 @@ class WarehouseTable(sgqlc.types.Type, Node):
|
|
|
77060
77214
|
"total_downstream_nodes",
|
|
77061
77215
|
"total_upstream_nodes",
|
|
77062
77216
|
"monitored_metrics",
|
|
77217
|
+
"table_monitor_count",
|
|
77063
77218
|
)
|
|
77064
77219
|
table_id = sgqlc.types.Field(String, graphql_name="tableId")
|
|
77065
77220
|
|
|
@@ -77560,6 +77715,11 @@ class WarehouseTable(sgqlc.types.Type, Node):
|
|
|
77560
77715
|
graphql_name="monitoredMetrics",
|
|
77561
77716
|
)
|
|
77562
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
|
+
|
|
77563
77723
|
|
|
77564
77724
|
class WarehouseTableHealth(sgqlc.types.Type, Node):
|
|
77565
77725
|
__schema__ = schema
|
|
@@ -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=
|
|
39
|
-
pycarlo/lib/schema.py,sha256=
|
|
40
|
-
pycarlo-0.10.
|
|
41
|
-
pycarlo-0.10.
|
|
42
|
-
pycarlo-0.10.
|
|
43
|
-
pycarlo-0.10.
|
|
44
|
-
pycarlo-0.10.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|