pycarlo 0.10.107__py3-none-any.whl → 0.10.109__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.py CHANGED
@@ -23805,6 +23805,21 @@ class MonitorDataSource(sgqlc.types.Type):
23805
23805
  transforms = sgqlc.types.Field(sgqlc.types.list_of("Transform"), graphql_name="transforms")
23806
23806
 
23807
23807
 
23808
+ class MonitorDataset(sgqlc.types.Type):
23809
+ """Datasets referenced by monitors, grouped by dataset name"""
23810
+
23811
+ __schema__ = schema
23812
+ __field_names__ = ("display_name", "mcons")
23813
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
23814
+ """Dataset name"""
23815
+
23816
+ mcons = sgqlc.types.Field(
23817
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
23818
+ graphql_name="mcons",
23819
+ )
23820
+ """List of MCONs for the datasets with this name"""
23821
+
23822
+
23808
23823
  class MonitorLabel(sgqlc.types.Type):
23809
23824
  __schema__ = schema
23810
23825
  __field_names__ = ("label",)
@@ -23992,6 +24007,14 @@ class MonitorLabelObject(sgqlc.types.Type):
23992
24007
  default=None,
23993
24008
  ),
23994
24009
  ),
24010
+ (
24011
+ "exclude_asset_tags",
24012
+ sgqlc.types.Arg(
24013
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
24014
+ graphql_name="excludeAssetTags",
24015
+ default=None,
24016
+ ),
24017
+ ),
23995
24018
  (
23996
24019
  "data_quality_dimensions",
23997
24020
  sgqlc.types.Arg(
@@ -24052,8 +24075,12 @@ class MonitorLabelObject(sgqlc.types.Type):
24052
24075
  * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
24053
24076
  can include null to include monitors without tags
24054
24077
  * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
24055
- Returns monitors that have at least 1 linked table with all of
24078
+ Returns monitors with at least one linked table that has any of
24056
24079
  the provided tags
24080
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
24081
+ monitors that have any linked table whose tags consist only of
24082
+ the provided tags. Tables with additional tags or no tags are
24083
+ included
24057
24084
  * `data_quality_dimensions` (`[String]`): Filter by data quality
24058
24085
  dimensions
24059
24086
  * `order_by` (`String`): Field and direction to order monitors by
@@ -24104,6 +24131,21 @@ class MonitorLimits(sgqlc.types.Type):
24104
24131
  """Monthly time series limit"""
24105
24132
 
24106
24133
 
24134
+ class MonitorProject(sgqlc.types.Type):
24135
+ """Projects referenced by monitors, grouped by project name"""
24136
+
24137
+ __schema__ = schema
24138
+ __field_names__ = ("display_name", "mcons")
24139
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
24140
+ """Project name"""
24141
+
24142
+ mcons = sgqlc.types.Field(
24143
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
24144
+ graphql_name="mcons",
24145
+ )
24146
+ """List of MCONs for the projects with this name"""
24147
+
24148
+
24107
24149
  class MonitorQueries(sgqlc.types.Type):
24108
24150
  """A monitor query"""
24109
24151
 
@@ -24210,6 +24252,36 @@ class MonitorSummary(sgqlc.types.Type):
24210
24252
  table_metric = sgqlc.types.Field(Int, graphql_name="tableMetric")
24211
24253
 
24212
24254
 
24255
+ class MonitorTable(sgqlc.types.Type):
24256
+ """Tables referenced by monitors, grouped by table identifier"""
24257
+
24258
+ __schema__ = schema
24259
+ __field_names__ = ("display_name", "mcons")
24260
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
24261
+ """Table identifier"""
24262
+
24263
+ mcons = sgqlc.types.Field(
24264
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
24265
+ graphql_name="mcons",
24266
+ )
24267
+ """List of MCONs for the tables with this identifier"""
24268
+
24269
+
24270
+ class MonitorWarehouse(sgqlc.types.Type):
24271
+ """Warehouse assets referenced by monitors, grouped by name"""
24272
+
24273
+ __schema__ = schema
24274
+ __field_names__ = ("display_name", "mcons")
24275
+ display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
24276
+ """Warehouse name"""
24277
+
24278
+ mcons = sgqlc.types.Field(
24279
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
24280
+ graphql_name="mcons",
24281
+ )
24282
+ """List of MCONs for the warehouses with this name"""
24283
+
24284
+
24213
24285
  class MonitoredTableRuleJobStatusObject(sgqlc.types.Type):
24214
24286
  """Job status for updating monitored table rules"""
24215
24287
 
@@ -43130,6 +43202,10 @@ class Query(sgqlc.types.Type):
43130
43202
  "get_monitors",
43131
43203
  "get_monitors_count",
43132
43204
  "get_monitor_namespaces",
43205
+ "get_monitor_warehouses",
43206
+ "get_monitor_projects",
43207
+ "get_monitor_datasets",
43208
+ "get_monitor_tables",
43133
43209
  "get_monitor_creators",
43134
43210
  "get_monitor_updaters",
43135
43211
  "get_monitor_queries",
@@ -49449,223 +49525,10 @@ class Query(sgqlc.types.Type):
49449
49525
  ),
49450
49526
  ),
49451
49527
  (
49452
- "data_quality_dimensions",
49453
- sgqlc.types.Arg(
49454
- sgqlc.types.list_of(String),
49455
- graphql_name="dataQualityDimensions",
49456
- default=None,
49457
- ),
49458
- ),
49459
- ("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
49460
- ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
49461
- ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
49462
- )
49463
- ),
49464
- )
49465
- """List of monitors
49466
-
49467
- Arguments:
49468
-
49469
- * `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
49470
- filter by, default all
49471
- * `status_types` (`[MonitorStatusType]`): Type of monitor status
49472
- to filter by, default all
49473
- * `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
49474
- Type of consolidated monitor status to filter by, default all
49475
- * `description_field_or_table` (`[String]`): DEPRECATED
49476
- * `created_by` (`[String!]`): Filter by creator using a list of
49477
- user emails
49478
- * `updated_by` (`[String!]`): Filter by updater using a list of
49479
- user emails
49480
- * `priorities` (`[String]`): Filter by priorities. It can include
49481
- null to include monitors without a priority set
49482
- * `domain_id` (`UUID`): Domain uuid to filter by
49483
- * `domain_ids` (`[UUID!]`): List of domain uuids to filter by
49484
- * `uuids` (`[String]`): list of uuids of the monitors to filter by
49485
- * `created_by_filters` (`CreatedByFilters`): Deprecated
49486
- * `labels` (`[String]`): List of labels to filter by
49487
- * `search` (`[String]`): Search criteria for filtering the
49488
- monitors list
49489
- * `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
49490
- fields to include during search
49491
- * `namespaces` (`[String]`): filter by namespaces
49492
- * `is_template_managed` (`Boolean`): Filter monitors created by
49493
- code
49494
- * `is_ootb_replacement` (`Boolean`): Filter monitors which replace
49495
- a default ootb detector (default: `false`)
49496
- * `include_ootb_monitors` (`Boolean`): If set to true, OOTB
49497
- monitors will be returned. They will be the first few monitors
49498
- in the first page of the results (default: `false`)
49499
- * `include_ootb_replacement` (`Boolean`): If set to true and
49500
- is_ootb_replacement is not specified or false, ootb_replacement
49501
- monitors will be included in result (default: `false`)
49502
- * `mcons` (`[String]`): Filter by warehouses, projects, datasets,
49503
- or tables (MCON)
49504
- * `exclude_mcons` (`[String]`): Exclude monitors associated with
49505
- these warehouses, projects, datasets, or tables (MCON)
49506
- * `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
49507
- only the ones that are breached.
49508
- * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
49509
- can include null to include monitors without tags
49510
- * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
49511
- Returns monitors that have at least 1 linked table with all of
49512
- the provided tags
49513
- * `data_quality_dimensions` (`[String]`): Filter by data quality
49514
- dimensions
49515
- * `order_by` (`String`): Field and direction to order monitors by
49516
- * `limit` (`Int`): Number of monitors to return
49517
- * `offset` (`Int`): From which monitor to return the next results
49518
- """
49519
-
49520
- get_monitors_count = sgqlc.types.Field(
49521
- Int,
49522
- graphql_name="getMonitorsCount",
49523
- args=sgqlc.types.ArgDict(
49524
- (
49525
- (
49526
- "monitor_types",
49527
- sgqlc.types.Arg(
49528
- sgqlc.types.list_of(UserDefinedMonitors),
49529
- graphql_name="monitorTypes",
49530
- default=None,
49531
- ),
49532
- ),
49533
- (
49534
- "status_types",
49535
- sgqlc.types.Arg(
49536
- sgqlc.types.list_of(MonitorStatusType),
49537
- graphql_name="statusTypes",
49538
- default=None,
49539
- ),
49540
- ),
49541
- (
49542
- "consolidated_status_types",
49543
- sgqlc.types.Arg(
49544
- sgqlc.types.list_of(ConsolidatedMonitorStatusType),
49545
- graphql_name="consolidatedStatusTypes",
49546
- default=None,
49547
- ),
49548
- ),
49549
- (
49550
- "description_field_or_table",
49551
- sgqlc.types.Arg(
49552
- sgqlc.types.list_of(String),
49553
- graphql_name="descriptionFieldOrTable",
49554
- default=None,
49555
- ),
49556
- ),
49557
- (
49558
- "created_by",
49559
- sgqlc.types.Arg(
49560
- sgqlc.types.list_of(sgqlc.types.non_null(String)),
49561
- graphql_name="createdBy",
49562
- default=None,
49563
- ),
49564
- ),
49565
- (
49566
- "updated_by",
49567
- sgqlc.types.Arg(
49568
- sgqlc.types.list_of(sgqlc.types.non_null(String)),
49569
- graphql_name="updatedBy",
49570
- default=None,
49571
- ),
49572
- ),
49573
- (
49574
- "priorities",
49575
- sgqlc.types.Arg(
49576
- sgqlc.types.list_of(String), graphql_name="priorities", default=None
49577
- ),
49578
- ),
49579
- ("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
49580
- (
49581
- "domain_ids",
49582
- sgqlc.types.Arg(
49583
- sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
49584
- graphql_name="domainIds",
49585
- default=None,
49586
- ),
49587
- ),
49588
- (
49589
- "uuids",
49590
- sgqlc.types.Arg(
49591
- sgqlc.types.list_of(String), graphql_name="uuids", default=None
49592
- ),
49593
- ),
49594
- (
49595
- "created_by_filters",
49596
- sgqlc.types.Arg(
49597
- CreatedByFilters, graphql_name="createdByFilters", default=None
49598
- ),
49599
- ),
49600
- (
49601
- "labels",
49602
- sgqlc.types.Arg(
49603
- sgqlc.types.list_of(String), graphql_name="labels", default=None
49604
- ),
49605
- ),
49606
- (
49607
- "search",
49608
- sgqlc.types.Arg(
49609
- sgqlc.types.list_of(String), graphql_name="search", default=None
49610
- ),
49611
- ),
49612
- (
49613
- "search_fields",
49614
- sgqlc.types.Arg(
49615
- sgqlc.types.list_of(UserDefinedMonitorSearchFields),
49616
- graphql_name="searchFields",
49617
- default=None,
49618
- ),
49619
- ),
49620
- (
49621
- "namespaces",
49622
- sgqlc.types.Arg(
49623
- sgqlc.types.list_of(String), graphql_name="namespaces", default=None
49624
- ),
49625
- ),
49626
- (
49627
- "is_template_managed",
49628
- sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
49629
- ),
49630
- (
49631
- "is_ootb_replacement",
49632
- sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
49633
- ),
49634
- (
49635
- "include_ootb_monitors",
49636
- sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
49637
- ),
49638
- (
49639
- "include_ootb_replacement",
49640
- sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
49641
- ),
49642
- (
49643
- "mcons",
49644
- sgqlc.types.Arg(
49645
- sgqlc.types.list_of(String), graphql_name="mcons", default=None
49646
- ),
49647
- ),
49648
- (
49649
- "exclude_mcons",
49650
- sgqlc.types.Arg(
49651
- sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
49652
- ),
49653
- ),
49654
- (
49655
- "alerted_only",
49656
- sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
49657
- ),
49658
- (
49659
- "tags",
49660
- sgqlc.types.Arg(
49661
- sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
49662
- ),
49663
- ),
49664
- (
49665
- "asset_tags",
49528
+ "exclude_asset_tags",
49666
49529
  sgqlc.types.Arg(
49667
49530
  sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
49668
- graphql_name="assetTags",
49531
+ graphql_name="excludeAssetTags",
49669
49532
  default=None,
49670
49533
  ),
49671
49534
  ),
@@ -49683,7 +49546,7 @@ class Query(sgqlc.types.Type):
49683
49546
  )
49684
49547
  ),
49685
49548
  )
49686
- """The number of monitors matching the filters
49549
+ """List of monitors
49687
49550
 
49688
49551
  Arguments:
49689
49552
 
@@ -49729,8 +49592,245 @@ class Query(sgqlc.types.Type):
49729
49592
  * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
49730
49593
  can include null to include monitors without tags
49731
49594
  * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
49732
- Returns monitors that have at least 1 linked table with all of
49595
+ Returns monitors with at least one linked table that has any of
49733
49596
  the provided tags
49597
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
49598
+ monitors that have any linked table whose tags consist only of
49599
+ the provided tags. Tables with additional tags or no tags are
49600
+ included
49601
+ * `data_quality_dimensions` (`[String]`): Filter by data quality
49602
+ dimensions
49603
+ * `order_by` (`String`): Field and direction to order monitors by
49604
+ * `limit` (`Int`): Number of monitors to return
49605
+ * `offset` (`Int`): From which monitor to return the next results
49606
+ """
49607
+
49608
+ get_monitors_count = sgqlc.types.Field(
49609
+ Int,
49610
+ graphql_name="getMonitorsCount",
49611
+ args=sgqlc.types.ArgDict(
49612
+ (
49613
+ (
49614
+ "monitor_types",
49615
+ sgqlc.types.Arg(
49616
+ sgqlc.types.list_of(UserDefinedMonitors),
49617
+ graphql_name="monitorTypes",
49618
+ default=None,
49619
+ ),
49620
+ ),
49621
+ (
49622
+ "status_types",
49623
+ sgqlc.types.Arg(
49624
+ sgqlc.types.list_of(MonitorStatusType),
49625
+ graphql_name="statusTypes",
49626
+ default=None,
49627
+ ),
49628
+ ),
49629
+ (
49630
+ "consolidated_status_types",
49631
+ sgqlc.types.Arg(
49632
+ sgqlc.types.list_of(ConsolidatedMonitorStatusType),
49633
+ graphql_name="consolidatedStatusTypes",
49634
+ default=None,
49635
+ ),
49636
+ ),
49637
+ (
49638
+ "description_field_or_table",
49639
+ sgqlc.types.Arg(
49640
+ sgqlc.types.list_of(String),
49641
+ graphql_name="descriptionFieldOrTable",
49642
+ default=None,
49643
+ ),
49644
+ ),
49645
+ (
49646
+ "created_by",
49647
+ sgqlc.types.Arg(
49648
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
49649
+ graphql_name="createdBy",
49650
+ default=None,
49651
+ ),
49652
+ ),
49653
+ (
49654
+ "updated_by",
49655
+ sgqlc.types.Arg(
49656
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
49657
+ graphql_name="updatedBy",
49658
+ default=None,
49659
+ ),
49660
+ ),
49661
+ (
49662
+ "priorities",
49663
+ sgqlc.types.Arg(
49664
+ sgqlc.types.list_of(String), graphql_name="priorities", default=None
49665
+ ),
49666
+ ),
49667
+ ("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
49668
+ (
49669
+ "domain_ids",
49670
+ sgqlc.types.Arg(
49671
+ sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
49672
+ graphql_name="domainIds",
49673
+ default=None,
49674
+ ),
49675
+ ),
49676
+ (
49677
+ "uuids",
49678
+ sgqlc.types.Arg(
49679
+ sgqlc.types.list_of(String), graphql_name="uuids", default=None
49680
+ ),
49681
+ ),
49682
+ (
49683
+ "created_by_filters",
49684
+ sgqlc.types.Arg(
49685
+ CreatedByFilters, graphql_name="createdByFilters", default=None
49686
+ ),
49687
+ ),
49688
+ (
49689
+ "labels",
49690
+ sgqlc.types.Arg(
49691
+ sgqlc.types.list_of(String), graphql_name="labels", default=None
49692
+ ),
49693
+ ),
49694
+ (
49695
+ "search",
49696
+ sgqlc.types.Arg(
49697
+ sgqlc.types.list_of(String), graphql_name="search", default=None
49698
+ ),
49699
+ ),
49700
+ (
49701
+ "search_fields",
49702
+ sgqlc.types.Arg(
49703
+ sgqlc.types.list_of(UserDefinedMonitorSearchFields),
49704
+ graphql_name="searchFields",
49705
+ default=None,
49706
+ ),
49707
+ ),
49708
+ (
49709
+ "namespaces",
49710
+ sgqlc.types.Arg(
49711
+ sgqlc.types.list_of(String), graphql_name="namespaces", default=None
49712
+ ),
49713
+ ),
49714
+ (
49715
+ "is_template_managed",
49716
+ sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
49717
+ ),
49718
+ (
49719
+ "is_ootb_replacement",
49720
+ sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
49721
+ ),
49722
+ (
49723
+ "include_ootb_monitors",
49724
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
49725
+ ),
49726
+ (
49727
+ "include_ootb_replacement",
49728
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
49729
+ ),
49730
+ (
49731
+ "mcons",
49732
+ sgqlc.types.Arg(
49733
+ sgqlc.types.list_of(String), graphql_name="mcons", default=None
49734
+ ),
49735
+ ),
49736
+ (
49737
+ "exclude_mcons",
49738
+ sgqlc.types.Arg(
49739
+ sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
49740
+ ),
49741
+ ),
49742
+ (
49743
+ "alerted_only",
49744
+ sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
49745
+ ),
49746
+ (
49747
+ "tags",
49748
+ sgqlc.types.Arg(
49749
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
49750
+ ),
49751
+ ),
49752
+ (
49753
+ "asset_tags",
49754
+ sgqlc.types.Arg(
49755
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
49756
+ graphql_name="assetTags",
49757
+ default=None,
49758
+ ),
49759
+ ),
49760
+ (
49761
+ "exclude_asset_tags",
49762
+ sgqlc.types.Arg(
49763
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
49764
+ graphql_name="excludeAssetTags",
49765
+ default=None,
49766
+ ),
49767
+ ),
49768
+ (
49769
+ "data_quality_dimensions",
49770
+ sgqlc.types.Arg(
49771
+ sgqlc.types.list_of(String),
49772
+ graphql_name="dataQualityDimensions",
49773
+ default=None,
49774
+ ),
49775
+ ),
49776
+ ("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
49777
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
49778
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
49779
+ )
49780
+ ),
49781
+ )
49782
+ """The number of monitors matching the filters
49783
+
49784
+ Arguments:
49785
+
49786
+ * `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
49787
+ filter by, default all
49788
+ * `status_types` (`[MonitorStatusType]`): Type of monitor status
49789
+ to filter by, default all
49790
+ * `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
49791
+ Type of consolidated monitor status to filter by, default all
49792
+ * `description_field_or_table` (`[String]`): DEPRECATED
49793
+ * `created_by` (`[String!]`): Filter by creator using a list of
49794
+ user emails
49795
+ * `updated_by` (`[String!]`): Filter by updater using a list of
49796
+ user emails
49797
+ * `priorities` (`[String]`): Filter by priorities. It can include
49798
+ null to include monitors without a priority set
49799
+ * `domain_id` (`UUID`): Domain uuid to filter by
49800
+ * `domain_ids` (`[UUID!]`): List of domain uuids to filter by
49801
+ * `uuids` (`[String]`): list of uuids of the monitors to filter by
49802
+ * `created_by_filters` (`CreatedByFilters`): Deprecated
49803
+ * `labels` (`[String]`): List of labels to filter by
49804
+ * `search` (`[String]`): Search criteria for filtering the
49805
+ monitors list
49806
+ * `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
49807
+ fields to include during search
49808
+ * `namespaces` (`[String]`): filter by namespaces
49809
+ * `is_template_managed` (`Boolean`): Filter monitors created by
49810
+ code
49811
+ * `is_ootb_replacement` (`Boolean`): Filter monitors which replace
49812
+ a default ootb detector (default: `false`)
49813
+ * `include_ootb_monitors` (`Boolean`): If set to true, OOTB
49814
+ monitors will be returned. They will be the first few monitors
49815
+ in the first page of the results (default: `false`)
49816
+ * `include_ootb_replacement` (`Boolean`): If set to true and
49817
+ is_ootb_replacement is not specified or false, ootb_replacement
49818
+ monitors will be included in result (default: `false`)
49819
+ * `mcons` (`[String]`): Filter by warehouses, projects, datasets,
49820
+ or tables (MCON)
49821
+ * `exclude_mcons` (`[String]`): Exclude monitors associated with
49822
+ these warehouses, projects, datasets, or tables (MCON)
49823
+ * `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
49824
+ only the ones that are breached.
49825
+ * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
49826
+ can include null to include monitors without tags
49827
+ * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
49828
+ Returns monitors with at least one linked table that has any of
49829
+ the provided tags
49830
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
49831
+ monitors that have any linked table whose tags consist only of
49832
+ the provided tags. Tables with additional tags or no tags are
49833
+ included
49734
49834
  * `data_quality_dimensions` (`[String]`): Filter by data quality
49735
49835
  dimensions
49736
49836
  * `order_by` (`String`): Field and direction to order monitors by
@@ -49890,6 +49990,480 @@ class Query(sgqlc.types.Type):
49890
49990
  default=None,
49891
49991
  ),
49892
49992
  ),
49993
+ (
49994
+ "exclude_asset_tags",
49995
+ sgqlc.types.Arg(
49996
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
49997
+ graphql_name="excludeAssetTags",
49998
+ default=None,
49999
+ ),
50000
+ ),
50001
+ (
50002
+ "data_quality_dimensions",
50003
+ sgqlc.types.Arg(
50004
+ sgqlc.types.list_of(String),
50005
+ graphql_name="dataQualityDimensions",
50006
+ default=None,
50007
+ ),
50008
+ ),
50009
+ ("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
50010
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
50011
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
50012
+ )
50013
+ ),
50014
+ )
50015
+ """(experimental) List of monitor namespaces
50016
+
50017
+ Arguments:
50018
+
50019
+ * `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
50020
+ filter by, default all
50021
+ * `status_types` (`[MonitorStatusType]`): Type of monitor status
50022
+ to filter by, default all
50023
+ * `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
50024
+ Type of consolidated monitor status to filter by, default all
50025
+ * `description_field_or_table` (`[String]`): DEPRECATED
50026
+ * `created_by` (`[String!]`): Filter by creator using a list of
50027
+ user emails
50028
+ * `updated_by` (`[String!]`): Filter by updater using a list of
50029
+ user emails
50030
+ * `priorities` (`[String]`): Filter by priorities. It can include
50031
+ null to include monitors without a priority set
50032
+ * `domain_id` (`UUID`): Domain uuid to filter by
50033
+ * `domain_ids` (`[UUID!]`): List of domain uuids to filter by
50034
+ * `uuids` (`[String]`): list of uuids of the monitors to filter by
50035
+ * `created_by_filters` (`CreatedByFilters`): Deprecated
50036
+ * `labels` (`[String]`): List of labels to filter by
50037
+ * `search` (`[String]`): Search criteria for filtering the
50038
+ monitors list
50039
+ * `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
50040
+ fields to include during search
50041
+ * `namespaces` (`[String]`): filter by namespaces
50042
+ * `is_template_managed` (`Boolean`): Filter monitors created by
50043
+ code
50044
+ * `is_ootb_replacement` (`Boolean`): Filter monitors which replace
50045
+ a default ootb detector (default: `false`)
50046
+ * `include_ootb_monitors` (`Boolean`): If set to true, OOTB
50047
+ monitors will be returned. They will be the first few monitors
50048
+ in the first page of the results (default: `false`)
50049
+ * `include_ootb_replacement` (`Boolean`): If set to true and
50050
+ is_ootb_replacement is not specified or false, ootb_replacement
50051
+ monitors will be included in result (default: `false`)
50052
+ * `mcons` (`[String]`): Filter by warehouses, projects, datasets,
50053
+ or tables (MCON)
50054
+ * `exclude_mcons` (`[String]`): Exclude monitors associated with
50055
+ these warehouses, projects, datasets, or tables (MCON)
50056
+ * `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
50057
+ only the ones that are breached.
50058
+ * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
50059
+ can include null to include monitors without tags
50060
+ * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
50061
+ Returns monitors with at least one linked table that has any of
50062
+ the provided tags
50063
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
50064
+ monitors that have any linked table whose tags consist only of
50065
+ the provided tags. Tables with additional tags or no tags are
50066
+ included
50067
+ * `data_quality_dimensions` (`[String]`): Filter by data quality
50068
+ dimensions
50069
+ * `order_by` (`String`): Field and direction to order monitors by
50070
+ * `limit` (`Int`): Number of monitors to return
50071
+ * `offset` (`Int`): From which monitor to return the next results
50072
+ """
50073
+
50074
+ get_monitor_warehouses = sgqlc.types.Field(
50075
+ sgqlc.types.list_of(sgqlc.types.non_null(MonitorWarehouse)),
50076
+ graphql_name="getMonitorWarehouses",
50077
+ args=sgqlc.types.ArgDict(
50078
+ (
50079
+ (
50080
+ "monitor_types",
50081
+ sgqlc.types.Arg(
50082
+ sgqlc.types.list_of(UserDefinedMonitors),
50083
+ graphql_name="monitorTypes",
50084
+ default=None,
50085
+ ),
50086
+ ),
50087
+ (
50088
+ "status_types",
50089
+ sgqlc.types.Arg(
50090
+ sgqlc.types.list_of(MonitorStatusType),
50091
+ graphql_name="statusTypes",
50092
+ default=None,
50093
+ ),
50094
+ ),
50095
+ (
50096
+ "consolidated_status_types",
50097
+ sgqlc.types.Arg(
50098
+ sgqlc.types.list_of(ConsolidatedMonitorStatusType),
50099
+ graphql_name="consolidatedStatusTypes",
50100
+ default=None,
50101
+ ),
50102
+ ),
50103
+ (
50104
+ "description_field_or_table",
50105
+ sgqlc.types.Arg(
50106
+ sgqlc.types.list_of(String),
50107
+ graphql_name="descriptionFieldOrTable",
50108
+ default=None,
50109
+ ),
50110
+ ),
50111
+ (
50112
+ "created_by",
50113
+ sgqlc.types.Arg(
50114
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50115
+ graphql_name="createdBy",
50116
+ default=None,
50117
+ ),
50118
+ ),
50119
+ (
50120
+ "updated_by",
50121
+ sgqlc.types.Arg(
50122
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50123
+ graphql_name="updatedBy",
50124
+ default=None,
50125
+ ),
50126
+ ),
50127
+ (
50128
+ "priorities",
50129
+ sgqlc.types.Arg(
50130
+ sgqlc.types.list_of(String), graphql_name="priorities", default=None
50131
+ ),
50132
+ ),
50133
+ ("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
50134
+ (
50135
+ "domain_ids",
50136
+ sgqlc.types.Arg(
50137
+ sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
50138
+ graphql_name="domainIds",
50139
+ default=None,
50140
+ ),
50141
+ ),
50142
+ (
50143
+ "uuids",
50144
+ sgqlc.types.Arg(
50145
+ sgqlc.types.list_of(String), graphql_name="uuids", default=None
50146
+ ),
50147
+ ),
50148
+ (
50149
+ "created_by_filters",
50150
+ sgqlc.types.Arg(
50151
+ CreatedByFilters, graphql_name="createdByFilters", default=None
50152
+ ),
50153
+ ),
50154
+ (
50155
+ "labels",
50156
+ sgqlc.types.Arg(
50157
+ sgqlc.types.list_of(String), graphql_name="labels", default=None
50158
+ ),
50159
+ ),
50160
+ (
50161
+ "search",
50162
+ sgqlc.types.Arg(
50163
+ sgqlc.types.list_of(String), graphql_name="search", default=None
50164
+ ),
50165
+ ),
50166
+ (
50167
+ "search_fields",
50168
+ sgqlc.types.Arg(
50169
+ sgqlc.types.list_of(UserDefinedMonitorSearchFields),
50170
+ graphql_name="searchFields",
50171
+ default=None,
50172
+ ),
50173
+ ),
50174
+ (
50175
+ "namespaces",
50176
+ sgqlc.types.Arg(
50177
+ sgqlc.types.list_of(String), graphql_name="namespaces", default=None
50178
+ ),
50179
+ ),
50180
+ (
50181
+ "is_template_managed",
50182
+ sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
50183
+ ),
50184
+ (
50185
+ "is_ootb_replacement",
50186
+ sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
50187
+ ),
50188
+ (
50189
+ "include_ootb_monitors",
50190
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
50191
+ ),
50192
+ (
50193
+ "include_ootb_replacement",
50194
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
50195
+ ),
50196
+ (
50197
+ "mcons",
50198
+ sgqlc.types.Arg(
50199
+ sgqlc.types.list_of(String), graphql_name="mcons", default=None
50200
+ ),
50201
+ ),
50202
+ (
50203
+ "exclude_mcons",
50204
+ sgqlc.types.Arg(
50205
+ sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
50206
+ ),
50207
+ ),
50208
+ (
50209
+ "alerted_only",
50210
+ sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
50211
+ ),
50212
+ (
50213
+ "tags",
50214
+ sgqlc.types.Arg(
50215
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
50216
+ ),
50217
+ ),
50218
+ (
50219
+ "asset_tags",
50220
+ sgqlc.types.Arg(
50221
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50222
+ graphql_name="assetTags",
50223
+ default=None,
50224
+ ),
50225
+ ),
50226
+ (
50227
+ "exclude_asset_tags",
50228
+ sgqlc.types.Arg(
50229
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50230
+ graphql_name="excludeAssetTags",
50231
+ default=None,
50232
+ ),
50233
+ ),
50234
+ (
50235
+ "data_quality_dimensions",
50236
+ sgqlc.types.Arg(
50237
+ sgqlc.types.list_of(String),
50238
+ graphql_name="dataQualityDimensions",
50239
+ default=None,
50240
+ ),
50241
+ ),
50242
+ ("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
50243
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
50244
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
50245
+ )
50246
+ ),
50247
+ )
50248
+ """(experimental) List of monitor warehouses
50249
+
50250
+ Arguments:
50251
+
50252
+ * `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
50253
+ filter by, default all
50254
+ * `status_types` (`[MonitorStatusType]`): Type of monitor status
50255
+ to filter by, default all
50256
+ * `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
50257
+ Type of consolidated monitor status to filter by, default all
50258
+ * `description_field_or_table` (`[String]`): DEPRECATED
50259
+ * `created_by` (`[String!]`): Filter by creator using a list of
50260
+ user emails
50261
+ * `updated_by` (`[String!]`): Filter by updater using a list of
50262
+ user emails
50263
+ * `priorities` (`[String]`): Filter by priorities. It can include
50264
+ null to include monitors without a priority set
50265
+ * `domain_id` (`UUID`): Domain uuid to filter by
50266
+ * `domain_ids` (`[UUID!]`): List of domain uuids to filter by
50267
+ * `uuids` (`[String]`): list of uuids of the monitors to filter by
50268
+ * `created_by_filters` (`CreatedByFilters`): Deprecated
50269
+ * `labels` (`[String]`): List of labels to filter by
50270
+ * `search` (`[String]`): Search criteria for filtering the
50271
+ monitors list
50272
+ * `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
50273
+ fields to include during search
50274
+ * `namespaces` (`[String]`): filter by namespaces
50275
+ * `is_template_managed` (`Boolean`): Filter monitors created by
50276
+ code
50277
+ * `is_ootb_replacement` (`Boolean`): Filter monitors which replace
50278
+ a default ootb detector (default: `false`)
50279
+ * `include_ootb_monitors` (`Boolean`): If set to true, OOTB
50280
+ monitors will be returned. They will be the first few monitors
50281
+ in the first page of the results (default: `false`)
50282
+ * `include_ootb_replacement` (`Boolean`): If set to true and
50283
+ is_ootb_replacement is not specified or false, ootb_replacement
50284
+ monitors will be included in result (default: `false`)
50285
+ * `mcons` (`[String]`): Filter by warehouses, projects, datasets,
50286
+ or tables (MCON)
50287
+ * `exclude_mcons` (`[String]`): Exclude monitors associated with
50288
+ these warehouses, projects, datasets, or tables (MCON)
50289
+ * `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
50290
+ only the ones that are breached.
50291
+ * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
50292
+ can include null to include monitors without tags
50293
+ * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
50294
+ Returns monitors with at least one linked table that has any of
50295
+ the provided tags
50296
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
50297
+ monitors that have any linked table whose tags consist only of
50298
+ the provided tags. Tables with additional tags or no tags are
50299
+ included
50300
+ * `data_quality_dimensions` (`[String]`): Filter by data quality
50301
+ dimensions
50302
+ * `order_by` (`String`): Field and direction to order monitors by
50303
+ * `limit` (`Int`): Number of monitors to return
50304
+ * `offset` (`Int`): From which monitor to return the next results
50305
+ """
50306
+
50307
+ get_monitor_projects = sgqlc.types.Field(
50308
+ sgqlc.types.list_of(sgqlc.types.non_null(MonitorProject)),
50309
+ graphql_name="getMonitorProjects",
50310
+ args=sgqlc.types.ArgDict(
50311
+ (
50312
+ (
50313
+ "monitor_types",
50314
+ sgqlc.types.Arg(
50315
+ sgqlc.types.list_of(UserDefinedMonitors),
50316
+ graphql_name="monitorTypes",
50317
+ default=None,
50318
+ ),
50319
+ ),
50320
+ (
50321
+ "status_types",
50322
+ sgqlc.types.Arg(
50323
+ sgqlc.types.list_of(MonitorStatusType),
50324
+ graphql_name="statusTypes",
50325
+ default=None,
50326
+ ),
50327
+ ),
50328
+ (
50329
+ "consolidated_status_types",
50330
+ sgqlc.types.Arg(
50331
+ sgqlc.types.list_of(ConsolidatedMonitorStatusType),
50332
+ graphql_name="consolidatedStatusTypes",
50333
+ default=None,
50334
+ ),
50335
+ ),
50336
+ (
50337
+ "description_field_or_table",
50338
+ sgqlc.types.Arg(
50339
+ sgqlc.types.list_of(String),
50340
+ graphql_name="descriptionFieldOrTable",
50341
+ default=None,
50342
+ ),
50343
+ ),
50344
+ (
50345
+ "created_by",
50346
+ sgqlc.types.Arg(
50347
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50348
+ graphql_name="createdBy",
50349
+ default=None,
50350
+ ),
50351
+ ),
50352
+ (
50353
+ "updated_by",
50354
+ sgqlc.types.Arg(
50355
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50356
+ graphql_name="updatedBy",
50357
+ default=None,
50358
+ ),
50359
+ ),
50360
+ (
50361
+ "priorities",
50362
+ sgqlc.types.Arg(
50363
+ sgqlc.types.list_of(String), graphql_name="priorities", default=None
50364
+ ),
50365
+ ),
50366
+ ("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
50367
+ (
50368
+ "domain_ids",
50369
+ sgqlc.types.Arg(
50370
+ sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
50371
+ graphql_name="domainIds",
50372
+ default=None,
50373
+ ),
50374
+ ),
50375
+ (
50376
+ "uuids",
50377
+ sgqlc.types.Arg(
50378
+ sgqlc.types.list_of(String), graphql_name="uuids", default=None
50379
+ ),
50380
+ ),
50381
+ (
50382
+ "created_by_filters",
50383
+ sgqlc.types.Arg(
50384
+ CreatedByFilters, graphql_name="createdByFilters", default=None
50385
+ ),
50386
+ ),
50387
+ (
50388
+ "labels",
50389
+ sgqlc.types.Arg(
50390
+ sgqlc.types.list_of(String), graphql_name="labels", default=None
50391
+ ),
50392
+ ),
50393
+ (
50394
+ "search",
50395
+ sgqlc.types.Arg(
50396
+ sgqlc.types.list_of(String), graphql_name="search", default=None
50397
+ ),
50398
+ ),
50399
+ (
50400
+ "search_fields",
50401
+ sgqlc.types.Arg(
50402
+ sgqlc.types.list_of(UserDefinedMonitorSearchFields),
50403
+ graphql_name="searchFields",
50404
+ default=None,
50405
+ ),
50406
+ ),
50407
+ (
50408
+ "namespaces",
50409
+ sgqlc.types.Arg(
50410
+ sgqlc.types.list_of(String), graphql_name="namespaces", default=None
50411
+ ),
50412
+ ),
50413
+ (
50414
+ "is_template_managed",
50415
+ sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
50416
+ ),
50417
+ (
50418
+ "is_ootb_replacement",
50419
+ sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
50420
+ ),
50421
+ (
50422
+ "include_ootb_monitors",
50423
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
50424
+ ),
50425
+ (
50426
+ "include_ootb_replacement",
50427
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
50428
+ ),
50429
+ (
50430
+ "mcons",
50431
+ sgqlc.types.Arg(
50432
+ sgqlc.types.list_of(String), graphql_name="mcons", default=None
50433
+ ),
50434
+ ),
50435
+ (
50436
+ "exclude_mcons",
50437
+ sgqlc.types.Arg(
50438
+ sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
50439
+ ),
50440
+ ),
50441
+ (
50442
+ "alerted_only",
50443
+ sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
50444
+ ),
50445
+ (
50446
+ "tags",
50447
+ sgqlc.types.Arg(
50448
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
50449
+ ),
50450
+ ),
50451
+ (
50452
+ "asset_tags",
50453
+ sgqlc.types.Arg(
50454
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50455
+ graphql_name="assetTags",
50456
+ default=None,
50457
+ ),
50458
+ ),
50459
+ (
50460
+ "exclude_asset_tags",
50461
+ sgqlc.types.Arg(
50462
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50463
+ graphql_name="excludeAssetTags",
50464
+ default=None,
50465
+ ),
50466
+ ),
49893
50467
  (
49894
50468
  "data_quality_dimensions",
49895
50469
  sgqlc.types.Arg(
@@ -49904,7 +50478,473 @@ class Query(sgqlc.types.Type):
49904
50478
  )
49905
50479
  ),
49906
50480
  )
49907
- """(experimental) List of monitor namespaces
50481
+ """(experimental) List of monitor projects
50482
+
50483
+ Arguments:
50484
+
50485
+ * `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
50486
+ filter by, default all
50487
+ * `status_types` (`[MonitorStatusType]`): Type of monitor status
50488
+ to filter by, default all
50489
+ * `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
50490
+ Type of consolidated monitor status to filter by, default all
50491
+ * `description_field_or_table` (`[String]`): DEPRECATED
50492
+ * `created_by` (`[String!]`): Filter by creator using a list of
50493
+ user emails
50494
+ * `updated_by` (`[String!]`): Filter by updater using a list of
50495
+ user emails
50496
+ * `priorities` (`[String]`): Filter by priorities. It can include
50497
+ null to include monitors without a priority set
50498
+ * `domain_id` (`UUID`): Domain uuid to filter by
50499
+ * `domain_ids` (`[UUID!]`): List of domain uuids to filter by
50500
+ * `uuids` (`[String]`): list of uuids of the monitors to filter by
50501
+ * `created_by_filters` (`CreatedByFilters`): Deprecated
50502
+ * `labels` (`[String]`): List of labels to filter by
50503
+ * `search` (`[String]`): Search criteria for filtering the
50504
+ monitors list
50505
+ * `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
50506
+ fields to include during search
50507
+ * `namespaces` (`[String]`): filter by namespaces
50508
+ * `is_template_managed` (`Boolean`): Filter monitors created by
50509
+ code
50510
+ * `is_ootb_replacement` (`Boolean`): Filter monitors which replace
50511
+ a default ootb detector (default: `false`)
50512
+ * `include_ootb_monitors` (`Boolean`): If set to true, OOTB
50513
+ monitors will be returned. They will be the first few monitors
50514
+ in the first page of the results (default: `false`)
50515
+ * `include_ootb_replacement` (`Boolean`): If set to true and
50516
+ is_ootb_replacement is not specified or false, ootb_replacement
50517
+ monitors will be included in result (default: `false`)
50518
+ * `mcons` (`[String]`): Filter by warehouses, projects, datasets,
50519
+ or tables (MCON)
50520
+ * `exclude_mcons` (`[String]`): Exclude monitors associated with
50521
+ these warehouses, projects, datasets, or tables (MCON)
50522
+ * `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
50523
+ only the ones that are breached.
50524
+ * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
50525
+ can include null to include monitors without tags
50526
+ * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
50527
+ Returns monitors with at least one linked table that has any of
50528
+ the provided tags
50529
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
50530
+ monitors that have any linked table whose tags consist only of
50531
+ the provided tags. Tables with additional tags or no tags are
50532
+ included
50533
+ * `data_quality_dimensions` (`[String]`): Filter by data quality
50534
+ dimensions
50535
+ * `order_by` (`String`): Field and direction to order monitors by
50536
+ * `limit` (`Int`): Number of monitors to return
50537
+ * `offset` (`Int`): From which monitor to return the next results
50538
+ """
50539
+
50540
+ get_monitor_datasets = sgqlc.types.Field(
50541
+ sgqlc.types.list_of(sgqlc.types.non_null(MonitorDataset)),
50542
+ graphql_name="getMonitorDatasets",
50543
+ args=sgqlc.types.ArgDict(
50544
+ (
50545
+ (
50546
+ "monitor_types",
50547
+ sgqlc.types.Arg(
50548
+ sgqlc.types.list_of(UserDefinedMonitors),
50549
+ graphql_name="monitorTypes",
50550
+ default=None,
50551
+ ),
50552
+ ),
50553
+ (
50554
+ "status_types",
50555
+ sgqlc.types.Arg(
50556
+ sgqlc.types.list_of(MonitorStatusType),
50557
+ graphql_name="statusTypes",
50558
+ default=None,
50559
+ ),
50560
+ ),
50561
+ (
50562
+ "consolidated_status_types",
50563
+ sgqlc.types.Arg(
50564
+ sgqlc.types.list_of(ConsolidatedMonitorStatusType),
50565
+ graphql_name="consolidatedStatusTypes",
50566
+ default=None,
50567
+ ),
50568
+ ),
50569
+ (
50570
+ "description_field_or_table",
50571
+ sgqlc.types.Arg(
50572
+ sgqlc.types.list_of(String),
50573
+ graphql_name="descriptionFieldOrTable",
50574
+ default=None,
50575
+ ),
50576
+ ),
50577
+ (
50578
+ "created_by",
50579
+ sgqlc.types.Arg(
50580
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50581
+ graphql_name="createdBy",
50582
+ default=None,
50583
+ ),
50584
+ ),
50585
+ (
50586
+ "updated_by",
50587
+ sgqlc.types.Arg(
50588
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50589
+ graphql_name="updatedBy",
50590
+ default=None,
50591
+ ),
50592
+ ),
50593
+ (
50594
+ "priorities",
50595
+ sgqlc.types.Arg(
50596
+ sgqlc.types.list_of(String), graphql_name="priorities", default=None
50597
+ ),
50598
+ ),
50599
+ ("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
50600
+ (
50601
+ "domain_ids",
50602
+ sgqlc.types.Arg(
50603
+ sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
50604
+ graphql_name="domainIds",
50605
+ default=None,
50606
+ ),
50607
+ ),
50608
+ (
50609
+ "uuids",
50610
+ sgqlc.types.Arg(
50611
+ sgqlc.types.list_of(String), graphql_name="uuids", default=None
50612
+ ),
50613
+ ),
50614
+ (
50615
+ "created_by_filters",
50616
+ sgqlc.types.Arg(
50617
+ CreatedByFilters, graphql_name="createdByFilters", default=None
50618
+ ),
50619
+ ),
50620
+ (
50621
+ "labels",
50622
+ sgqlc.types.Arg(
50623
+ sgqlc.types.list_of(String), graphql_name="labels", default=None
50624
+ ),
50625
+ ),
50626
+ (
50627
+ "search",
50628
+ sgqlc.types.Arg(
50629
+ sgqlc.types.list_of(String), graphql_name="search", default=None
50630
+ ),
50631
+ ),
50632
+ (
50633
+ "search_fields",
50634
+ sgqlc.types.Arg(
50635
+ sgqlc.types.list_of(UserDefinedMonitorSearchFields),
50636
+ graphql_name="searchFields",
50637
+ default=None,
50638
+ ),
50639
+ ),
50640
+ (
50641
+ "namespaces",
50642
+ sgqlc.types.Arg(
50643
+ sgqlc.types.list_of(String), graphql_name="namespaces", default=None
50644
+ ),
50645
+ ),
50646
+ (
50647
+ "is_template_managed",
50648
+ sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
50649
+ ),
50650
+ (
50651
+ "is_ootb_replacement",
50652
+ sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
50653
+ ),
50654
+ (
50655
+ "include_ootb_monitors",
50656
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
50657
+ ),
50658
+ (
50659
+ "include_ootb_replacement",
50660
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
50661
+ ),
50662
+ (
50663
+ "mcons",
50664
+ sgqlc.types.Arg(
50665
+ sgqlc.types.list_of(String), graphql_name="mcons", default=None
50666
+ ),
50667
+ ),
50668
+ (
50669
+ "exclude_mcons",
50670
+ sgqlc.types.Arg(
50671
+ sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
50672
+ ),
50673
+ ),
50674
+ (
50675
+ "alerted_only",
50676
+ sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
50677
+ ),
50678
+ (
50679
+ "tags",
50680
+ sgqlc.types.Arg(
50681
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
50682
+ ),
50683
+ ),
50684
+ (
50685
+ "asset_tags",
50686
+ sgqlc.types.Arg(
50687
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50688
+ graphql_name="assetTags",
50689
+ default=None,
50690
+ ),
50691
+ ),
50692
+ (
50693
+ "exclude_asset_tags",
50694
+ sgqlc.types.Arg(
50695
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50696
+ graphql_name="excludeAssetTags",
50697
+ default=None,
50698
+ ),
50699
+ ),
50700
+ (
50701
+ "data_quality_dimensions",
50702
+ sgqlc.types.Arg(
50703
+ sgqlc.types.list_of(String),
50704
+ graphql_name="dataQualityDimensions",
50705
+ default=None,
50706
+ ),
50707
+ ),
50708
+ ("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
50709
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
50710
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
50711
+ )
50712
+ ),
50713
+ )
50714
+ """(experimental) List of monitor datasets
50715
+
50716
+ Arguments:
50717
+
50718
+ * `monitor_types` (`[UserDefinedMonitors]`): Type of monitors to
50719
+ filter by, default all
50720
+ * `status_types` (`[MonitorStatusType]`): Type of monitor status
50721
+ to filter by, default all
50722
+ * `consolidated_status_types` (`[ConsolidatedMonitorStatusType]`):
50723
+ Type of consolidated monitor status to filter by, default all
50724
+ * `description_field_or_table` (`[String]`): DEPRECATED
50725
+ * `created_by` (`[String!]`): Filter by creator using a list of
50726
+ user emails
50727
+ * `updated_by` (`[String!]`): Filter by updater using a list of
50728
+ user emails
50729
+ * `priorities` (`[String]`): Filter by priorities. It can include
50730
+ null to include monitors without a priority set
50731
+ * `domain_id` (`UUID`): Domain uuid to filter by
50732
+ * `domain_ids` (`[UUID!]`): List of domain uuids to filter by
50733
+ * `uuids` (`[String]`): list of uuids of the monitors to filter by
50734
+ * `created_by_filters` (`CreatedByFilters`): Deprecated
50735
+ * `labels` (`[String]`): List of labels to filter by
50736
+ * `search` (`[String]`): Search criteria for filtering the
50737
+ monitors list
50738
+ * `search_fields` (`[UserDefinedMonitorSearchFields]`): Which
50739
+ fields to include during search
50740
+ * `namespaces` (`[String]`): filter by namespaces
50741
+ * `is_template_managed` (`Boolean`): Filter monitors created by
50742
+ code
50743
+ * `is_ootb_replacement` (`Boolean`): Filter monitors which replace
50744
+ a default ootb detector (default: `false`)
50745
+ * `include_ootb_monitors` (`Boolean`): If set to true, OOTB
50746
+ monitors will be returned. They will be the first few monitors
50747
+ in the first page of the results (default: `false`)
50748
+ * `include_ootb_replacement` (`Boolean`): If set to true and
50749
+ is_ootb_replacement is not specified or false, ootb_replacement
50750
+ monitors will be included in result (default: `false`)
50751
+ * `mcons` (`[String]`): Filter by warehouses, projects, datasets,
50752
+ or tables (MCON)
50753
+ * `exclude_mcons` (`[String]`): Exclude monitors associated with
50754
+ these warehouses, projects, datasets, or tables (MCON)
50755
+ * `alerted_only` (`Boolean`): EXPERIMENTAL. Filter monitors to
50756
+ only the ones that are breached.
50757
+ * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
50758
+ can include null to include monitors without tags
50759
+ * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
50760
+ Returns monitors with at least one linked table that has any of
50761
+ the provided tags
50762
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
50763
+ monitors that have any linked table whose tags consist only of
50764
+ the provided tags. Tables with additional tags or no tags are
50765
+ included
50766
+ * `data_quality_dimensions` (`[String]`): Filter by data quality
50767
+ dimensions
50768
+ * `order_by` (`String`): Field and direction to order monitors by
50769
+ * `limit` (`Int`): Number of monitors to return
50770
+ * `offset` (`Int`): From which monitor to return the next results
50771
+ """
50772
+
50773
+ get_monitor_tables = sgqlc.types.Field(
50774
+ sgqlc.types.list_of(sgqlc.types.non_null(MonitorTable)),
50775
+ graphql_name="getMonitorTables",
50776
+ args=sgqlc.types.ArgDict(
50777
+ (
50778
+ (
50779
+ "monitor_types",
50780
+ sgqlc.types.Arg(
50781
+ sgqlc.types.list_of(UserDefinedMonitors),
50782
+ graphql_name="monitorTypes",
50783
+ default=None,
50784
+ ),
50785
+ ),
50786
+ (
50787
+ "status_types",
50788
+ sgqlc.types.Arg(
50789
+ sgqlc.types.list_of(MonitorStatusType),
50790
+ graphql_name="statusTypes",
50791
+ default=None,
50792
+ ),
50793
+ ),
50794
+ (
50795
+ "consolidated_status_types",
50796
+ sgqlc.types.Arg(
50797
+ sgqlc.types.list_of(ConsolidatedMonitorStatusType),
50798
+ graphql_name="consolidatedStatusTypes",
50799
+ default=None,
50800
+ ),
50801
+ ),
50802
+ (
50803
+ "description_field_or_table",
50804
+ sgqlc.types.Arg(
50805
+ sgqlc.types.list_of(String),
50806
+ graphql_name="descriptionFieldOrTable",
50807
+ default=None,
50808
+ ),
50809
+ ),
50810
+ (
50811
+ "created_by",
50812
+ sgqlc.types.Arg(
50813
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50814
+ graphql_name="createdBy",
50815
+ default=None,
50816
+ ),
50817
+ ),
50818
+ (
50819
+ "updated_by",
50820
+ sgqlc.types.Arg(
50821
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50822
+ graphql_name="updatedBy",
50823
+ default=None,
50824
+ ),
50825
+ ),
50826
+ (
50827
+ "priorities",
50828
+ sgqlc.types.Arg(
50829
+ sgqlc.types.list_of(String), graphql_name="priorities", default=None
50830
+ ),
50831
+ ),
50832
+ ("domain_id", sgqlc.types.Arg(UUID, graphql_name="domainId", default=None)),
50833
+ (
50834
+ "domain_ids",
50835
+ sgqlc.types.Arg(
50836
+ sgqlc.types.list_of(sgqlc.types.non_null(UUID)),
50837
+ graphql_name="domainIds",
50838
+ default=None,
50839
+ ),
50840
+ ),
50841
+ (
50842
+ "uuids",
50843
+ sgqlc.types.Arg(
50844
+ sgqlc.types.list_of(String), graphql_name="uuids", default=None
50845
+ ),
50846
+ ),
50847
+ (
50848
+ "created_by_filters",
50849
+ sgqlc.types.Arg(
50850
+ CreatedByFilters, graphql_name="createdByFilters", default=None
50851
+ ),
50852
+ ),
50853
+ (
50854
+ "labels",
50855
+ sgqlc.types.Arg(
50856
+ sgqlc.types.list_of(String), graphql_name="labels", default=None
50857
+ ),
50858
+ ),
50859
+ (
50860
+ "search",
50861
+ sgqlc.types.Arg(
50862
+ sgqlc.types.list_of(String), graphql_name="search", default=None
50863
+ ),
50864
+ ),
50865
+ (
50866
+ "search_fields",
50867
+ sgqlc.types.Arg(
50868
+ sgqlc.types.list_of(UserDefinedMonitorSearchFields),
50869
+ graphql_name="searchFields",
50870
+ default=None,
50871
+ ),
50872
+ ),
50873
+ (
50874
+ "namespaces",
50875
+ sgqlc.types.Arg(
50876
+ sgqlc.types.list_of(String), graphql_name="namespaces", default=None
50877
+ ),
50878
+ ),
50879
+ (
50880
+ "is_template_managed",
50881
+ sgqlc.types.Arg(Boolean, graphql_name="isTemplateManaged", default=None),
50882
+ ),
50883
+ (
50884
+ "is_ootb_replacement",
50885
+ sgqlc.types.Arg(Boolean, graphql_name="isOotbReplacement", default=False),
50886
+ ),
50887
+ (
50888
+ "include_ootb_monitors",
50889
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbMonitors", default=False),
50890
+ ),
50891
+ (
50892
+ "include_ootb_replacement",
50893
+ sgqlc.types.Arg(Boolean, graphql_name="includeOotbReplacement", default=False),
50894
+ ),
50895
+ (
50896
+ "mcons",
50897
+ sgqlc.types.Arg(
50898
+ sgqlc.types.list_of(String), graphql_name="mcons", default=None
50899
+ ),
50900
+ ),
50901
+ (
50902
+ "exclude_mcons",
50903
+ sgqlc.types.Arg(
50904
+ sgqlc.types.list_of(String), graphql_name="excludeMcons", default=None
50905
+ ),
50906
+ ),
50907
+ (
50908
+ "alerted_only",
50909
+ sgqlc.types.Arg(Boolean, graphql_name="alertedOnly", default=None),
50910
+ ),
50911
+ (
50912
+ "tags",
50913
+ sgqlc.types.Arg(
50914
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
50915
+ ),
50916
+ ),
50917
+ (
50918
+ "asset_tags",
50919
+ sgqlc.types.Arg(
50920
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50921
+ graphql_name="assetTags",
50922
+ default=None,
50923
+ ),
50924
+ ),
50925
+ (
50926
+ "exclude_asset_tags",
50927
+ sgqlc.types.Arg(
50928
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
50929
+ graphql_name="excludeAssetTags",
50930
+ default=None,
50931
+ ),
50932
+ ),
50933
+ (
50934
+ "data_quality_dimensions",
50935
+ sgqlc.types.Arg(
50936
+ sgqlc.types.list_of(String),
50937
+ graphql_name="dataQualityDimensions",
50938
+ default=None,
50939
+ ),
50940
+ ),
50941
+ ("order_by", sgqlc.types.Arg(String, graphql_name="orderBy", default=None)),
50942
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
50943
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
50944
+ )
50945
+ ),
50946
+ )
50947
+ """(experimental) List of monitor tables
49908
50948
 
49909
50949
  Arguments:
49910
50950
 
@@ -49950,8 +50990,12 @@ class Query(sgqlc.types.Type):
49950
50990
  * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
49951
50991
  can include null to include monitors without tags
49952
50992
  * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
49953
- Returns monitors that have at least 1 linked table with all of
50993
+ Returns monitors with at least one linked table that has any of
49954
50994
  the provided tags
50995
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
50996
+ monitors that have any linked table whose tags consist only of
50997
+ the provided tags. Tables with additional tags or no tags are
50998
+ included
49955
50999
  * `data_quality_dimensions` (`[String]`): Filter by data quality
49956
51000
  dimensions
49957
51001
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50111,6 +51155,14 @@ class Query(sgqlc.types.Type):
50111
51155
  default=None,
50112
51156
  ),
50113
51157
  ),
51158
+ (
51159
+ "exclude_asset_tags",
51160
+ sgqlc.types.Arg(
51161
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
51162
+ graphql_name="excludeAssetTags",
51163
+ default=None,
51164
+ ),
51165
+ ),
50114
51166
  (
50115
51167
  "data_quality_dimensions",
50116
51168
  sgqlc.types.Arg(
@@ -50171,8 +51223,12 @@ class Query(sgqlc.types.Type):
50171
51223
  * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
50172
51224
  can include null to include monitors without tags
50173
51225
  * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
50174
- Returns monitors that have at least 1 linked table with all of
51226
+ Returns monitors with at least one linked table that has any of
50175
51227
  the provided tags
51228
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
51229
+ monitors that have any linked table whose tags consist only of
51230
+ the provided tags. Tables with additional tags or no tags are
51231
+ included
50176
51232
  * `data_quality_dimensions` (`[String]`): Filter by data quality
50177
51233
  dimensions
50178
51234
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50332,6 +51388,14 @@ class Query(sgqlc.types.Type):
50332
51388
  default=None,
50333
51389
  ),
50334
51390
  ),
51391
+ (
51392
+ "exclude_asset_tags",
51393
+ sgqlc.types.Arg(
51394
+ sgqlc.types.list_of(sgqlc.types.non_null(TagKeyValuePairInput)),
51395
+ graphql_name="excludeAssetTags",
51396
+ default=None,
51397
+ ),
51398
+ ),
50335
51399
  (
50336
51400
  "data_quality_dimensions",
50337
51401
  sgqlc.types.Arg(
@@ -50392,8 +51456,12 @@ class Query(sgqlc.types.Type):
50392
51456
  * `tags` (`[TagKeyValuePairInput]`): Filter by monitor tags. It
50393
51457
  can include null to include monitors without tags
50394
51458
  * `asset_tags` (`[TagKeyValuePairInput!]`): Filter by asset tags.
50395
- Returns monitors that have at least 1 linked table with all of
51459
+ Returns monitors with at least one linked table that has any of
50396
51460
  the provided tags
51461
+ * `exclude_asset_tags` (`[TagKeyValuePairInput!]`): Exclude
51462
+ monitors that have any linked table whose tags consist only of
51463
+ the provided tags. Tables with additional tags or no tags are
51464
+ included
50397
51465
  * `data_quality_dimensions` (`[String]`): Filter by data quality
50398
51466
  dimensions
50399
51467
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50946,7 +52014,7 @@ class Query(sgqlc.types.Type):
50946
52014
  )
50947
52015
  ),
50948
52016
  )
50949
- """Build field quality rule query from parameters
52017
+ """DEPRECATED: Build field quality rule query from parameters
50950
52018
 
50951
52019
  Arguments:
50952
52020
 
@@ -61553,9 +62621,7 @@ class TableCapabilitiesResponse(sgqlc.types.Type):
61553
62621
  supports_field_quality_rule = sgqlc.types.Field(
61554
62622
  Boolean, graphql_name="supportsFieldQualityRule"
61555
62623
  )
61556
- """indicates whether the table could possibly be used for defining
61557
- field quality rules
61558
- """
62624
+ """DEPRECATED: always returns false"""
61559
62625
 
61560
62626
  supports_volume = sgqlc.types.Field(Boolean, graphql_name="supportsVolume")
61561
62627
  """Indicates whether the table could possibly have any volume metrics"""
@@ -61742,9 +62808,7 @@ class TableCapabilitiesResponse(sgqlc.types.Type):
61742
62808
  supports_field_quality_rule_with_reason = sgqlc.types.Field(
61743
62809
  TableCapabilitesWithReasonField, graphql_name="supportsFieldQualityRuleWithReason"
61744
62810
  )
61745
- """indicates whether the table could possibly be used for defining
61746
- field quality rules, and why
61747
- """
62811
+ """DEPRECATED"""
61748
62812
 
61749
62813
  supports_volume_with_reason = sgqlc.types.Field(
61750
62814
  TableCapabilitesWithReasonField, graphql_name="supportsVolumeWithReason"