pycarlo 0.10.135__py3-none-any.whl → 0.10.137__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
@@ -4854,6 +4854,24 @@ class TableFlagType(sgqlc.types.Enum):
4854
4854
  __choices__ = ("DEPRECATION", "WARNING")
4855
4855
 
4856
4856
 
4857
+ class TableMonitorMetricType(sgqlc.types.Enum):
4858
+ """Enumeration Choices:
4859
+
4860
+ * `TABLES_WITHOUT_MONITORS_COUNT`None
4861
+ * `TABLES_WITH_MONITORS_COUNT`None
4862
+ * `TOTAL_MONITORS_COUNT`None
4863
+ * `TOTAL_TABLES_COUNT`None
4864
+ """
4865
+
4866
+ __schema__ = schema
4867
+ __choices__ = (
4868
+ "TABLES_WITHOUT_MONITORS_COUNT",
4869
+ "TABLES_WITH_MONITORS_COUNT",
4870
+ "TOTAL_MONITORS_COUNT",
4871
+ "TOTAL_TABLES_COUNT",
4872
+ )
4873
+
4874
+
4857
4875
  class TableMonitorModelPriority(sgqlc.types.Enum):
4858
4876
  """Enumeration Choices:
4859
4877
 
@@ -9809,6 +9827,7 @@ class TransformInput(sgqlc.types.Input):
9809
9827
  "prompt",
9810
9828
  "categories",
9811
9829
  "model_connection_id",
9830
+ "output_type",
9812
9831
  "function",
9813
9832
  "field",
9814
9833
  "id",
@@ -9824,6 +9843,8 @@ class TransformInput(sgqlc.types.Input):
9824
9843
 
9825
9844
  model_connection_id = sgqlc.types.Field(String, graphql_name="modelConnectionId")
9826
9845
 
9846
+ output_type = sgqlc.types.Field(String, graphql_name="outputType")
9847
+
9827
9848
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
9828
9849
 
9829
9850
  field = sgqlc.types.Field(String, graphql_name="field")
@@ -24119,6 +24140,12 @@ class MonitorLabelObject(sgqlc.types.Type):
24119
24140
  default=None,
24120
24141
  ),
24121
24142
  ),
24143
+ (
24144
+ "data_product_ids",
24145
+ sgqlc.types.Arg(
24146
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
24147
+ ),
24148
+ ),
24122
24149
  (
24123
24150
  "data_quality_dimensions",
24124
24151
  sgqlc.types.Arg(
@@ -24185,6 +24212,7 @@ class MonitorLabelObject(sgqlc.types.Type):
24185
24212
  monitors that have any linked table whose tags consist only of
24186
24213
  the provided tags. Tables with additional tags or no tags are
24187
24214
  included
24215
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
24188
24216
  * `data_quality_dimensions` (`[String]`): Filter by data quality
24189
24217
  dimensions
24190
24218
  * `order_by` (`String`): Field and direction to order monitors by
@@ -43148,6 +43176,8 @@ class QueriedTable(sgqlc.types.Type):
43148
43176
  class Query(sgqlc.types.Type):
43149
43177
  __schema__ = schema
43150
43178
  __field_names__ = (
43179
+ "get_table_monitor_metric",
43180
+ "get_tables_for_coverage_dashboard",
43151
43181
  "get_logs_integrations",
43152
43182
  "generate_webhook_url",
43153
43183
  "get_user_id",
@@ -43611,6 +43641,98 @@ class Query(sgqlc.types.Type):
43611
43641
  "get_account_secret",
43612
43642
  "get_account_secrets",
43613
43643
  )
43644
+ get_table_monitor_metric = sgqlc.types.Field(
43645
+ "TableMonitorMetric",
43646
+ graphql_name="getTableMonitorMetric",
43647
+ args=sgqlc.types.ArgDict(
43648
+ (
43649
+ (
43650
+ "metric",
43651
+ sgqlc.types.Arg(
43652
+ sgqlc.types.non_null(TableMonitorMetricType),
43653
+ graphql_name="metric",
43654
+ default=None,
43655
+ ),
43656
+ ),
43657
+ (
43658
+ "domain_ids",
43659
+ sgqlc.types.Arg(
43660
+ sgqlc.types.list_of(UUID), graphql_name="domainIds", default=None
43661
+ ),
43662
+ ),
43663
+ (
43664
+ "tags",
43665
+ sgqlc.types.Arg(
43666
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
43667
+ ),
43668
+ ),
43669
+ (
43670
+ "data_product_ids",
43671
+ sgqlc.types.Arg(
43672
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
43673
+ ),
43674
+ ),
43675
+ )
43676
+ ),
43677
+ )
43678
+ """(experimental) Get a table monitor metric
43679
+
43680
+ Arguments:
43681
+
43682
+ * `metric` (`TableMonitorMetricType!`)None
43683
+ * `domain_ids` (`[UUID]`)None
43684
+ * `tags` (`[TagKeyValuePairInput]`)None
43685
+ * `data_product_ids` (`[UUID]`)None
43686
+ """
43687
+
43688
+ get_tables_for_coverage_dashboard = sgqlc.types.Field(
43689
+ "SearchResponse",
43690
+ graphql_name="getTablesForCoverageDashboard",
43691
+ args=sgqlc.types.ArgDict(
43692
+ (
43693
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=100)),
43694
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
43695
+ (
43696
+ "metric",
43697
+ sgqlc.types.Arg(
43698
+ sgqlc.types.non_null(TableMonitorMetricType),
43699
+ graphql_name="metric",
43700
+ default=None,
43701
+ ),
43702
+ ),
43703
+ (
43704
+ "domain_ids",
43705
+ sgqlc.types.Arg(
43706
+ sgqlc.types.list_of(UUID), graphql_name="domainIds", default=None
43707
+ ),
43708
+ ),
43709
+ (
43710
+ "tags",
43711
+ sgqlc.types.Arg(
43712
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
43713
+ ),
43714
+ ),
43715
+ (
43716
+ "data_product_ids",
43717
+ sgqlc.types.Arg(
43718
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
43719
+ ),
43720
+ ),
43721
+ )
43722
+ ),
43723
+ )
43724
+ """(experimental) Get a list of tables
43725
+
43726
+ Arguments:
43727
+
43728
+ * `limit` (`Int`)None (default: `100`)
43729
+ * `offset` (`Int`)None
43730
+ * `metric` (`TableMonitorMetricType!`)None
43731
+ * `domain_ids` (`[UUID]`)None
43732
+ * `tags` (`[TagKeyValuePairInput]`)None
43733
+ * `data_product_ids` (`[UUID]`)None
43734
+ """
43735
+
43614
43736
  get_logs_integrations = sgqlc.types.Field(
43615
43737
  sgqlc.types.list_of(LogsIntegrationOutput),
43616
43738
  graphql_name="getLogsIntegrations",
@@ -49828,6 +49950,12 @@ class Query(sgqlc.types.Type):
49828
49950
  default=None,
49829
49951
  ),
49830
49952
  ),
49953
+ (
49954
+ "data_product_ids",
49955
+ sgqlc.types.Arg(
49956
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
49957
+ ),
49958
+ ),
49831
49959
  (
49832
49960
  "data_quality_dimensions",
49833
49961
  sgqlc.types.Arg(
@@ -49894,6 +50022,7 @@ class Query(sgqlc.types.Type):
49894
50022
  monitors that have any linked table whose tags consist only of
49895
50023
  the provided tags. Tables with additional tags or no tags are
49896
50024
  included
50025
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
49897
50026
  * `data_quality_dimensions` (`[String]`): Filter by data quality
49898
50027
  dimensions
49899
50028
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50061,6 +50190,12 @@ class Query(sgqlc.types.Type):
50061
50190
  default=None,
50062
50191
  ),
50063
50192
  ),
50193
+ (
50194
+ "data_product_ids",
50195
+ sgqlc.types.Arg(
50196
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
50197
+ ),
50198
+ ),
50064
50199
  (
50065
50200
  "data_quality_dimensions",
50066
50201
  sgqlc.types.Arg(
@@ -50127,6 +50262,7 @@ class Query(sgqlc.types.Type):
50127
50262
  monitors that have any linked table whose tags consist only of
50128
50263
  the provided tags. Tables with additional tags or no tags are
50129
50264
  included
50265
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
50130
50266
  * `data_quality_dimensions` (`[String]`): Filter by data quality
50131
50267
  dimensions
50132
50268
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50294,6 +50430,12 @@ class Query(sgqlc.types.Type):
50294
50430
  default=None,
50295
50431
  ),
50296
50432
  ),
50433
+ (
50434
+ "data_product_ids",
50435
+ sgqlc.types.Arg(
50436
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
50437
+ ),
50438
+ ),
50297
50439
  (
50298
50440
  "data_quality_dimensions",
50299
50441
  sgqlc.types.Arg(
@@ -50360,6 +50502,7 @@ class Query(sgqlc.types.Type):
50360
50502
  monitors that have any linked table whose tags consist only of
50361
50503
  the provided tags. Tables with additional tags or no tags are
50362
50504
  included
50505
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
50363
50506
  * `data_quality_dimensions` (`[String]`): Filter by data quality
50364
50507
  dimensions
50365
50508
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50527,6 +50670,12 @@ class Query(sgqlc.types.Type):
50527
50670
  default=None,
50528
50671
  ),
50529
50672
  ),
50673
+ (
50674
+ "data_product_ids",
50675
+ sgqlc.types.Arg(
50676
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
50677
+ ),
50678
+ ),
50530
50679
  (
50531
50680
  "data_quality_dimensions",
50532
50681
  sgqlc.types.Arg(
@@ -50593,6 +50742,7 @@ class Query(sgqlc.types.Type):
50593
50742
  monitors that have any linked table whose tags consist only of
50594
50743
  the provided tags. Tables with additional tags or no tags are
50595
50744
  included
50745
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
50596
50746
  * `data_quality_dimensions` (`[String]`): Filter by data quality
50597
50747
  dimensions
50598
50748
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50760,6 +50910,12 @@ class Query(sgqlc.types.Type):
50760
50910
  default=None,
50761
50911
  ),
50762
50912
  ),
50913
+ (
50914
+ "data_product_ids",
50915
+ sgqlc.types.Arg(
50916
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
50917
+ ),
50918
+ ),
50763
50919
  (
50764
50920
  "data_quality_dimensions",
50765
50921
  sgqlc.types.Arg(
@@ -50826,6 +50982,7 @@ class Query(sgqlc.types.Type):
50826
50982
  monitors that have any linked table whose tags consist only of
50827
50983
  the provided tags. Tables with additional tags or no tags are
50828
50984
  included
50985
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
50829
50986
  * `data_quality_dimensions` (`[String]`): Filter by data quality
50830
50987
  dimensions
50831
50988
  * `order_by` (`String`): Field and direction to order monitors by
@@ -50993,6 +51150,12 @@ class Query(sgqlc.types.Type):
50993
51150
  default=None,
50994
51151
  ),
50995
51152
  ),
51153
+ (
51154
+ "data_product_ids",
51155
+ sgqlc.types.Arg(
51156
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
51157
+ ),
51158
+ ),
50996
51159
  (
50997
51160
  "data_quality_dimensions",
50998
51161
  sgqlc.types.Arg(
@@ -51059,6 +51222,7 @@ class Query(sgqlc.types.Type):
51059
51222
  monitors that have any linked table whose tags consist only of
51060
51223
  the provided tags. Tables with additional tags or no tags are
51061
51224
  included
51225
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
51062
51226
  * `data_quality_dimensions` (`[String]`): Filter by data quality
51063
51227
  dimensions
51064
51228
  * `order_by` (`String`): Field and direction to order monitors by
@@ -51226,6 +51390,12 @@ class Query(sgqlc.types.Type):
51226
51390
  default=None,
51227
51391
  ),
51228
51392
  ),
51393
+ (
51394
+ "data_product_ids",
51395
+ sgqlc.types.Arg(
51396
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
51397
+ ),
51398
+ ),
51229
51399
  (
51230
51400
  "data_quality_dimensions",
51231
51401
  sgqlc.types.Arg(
@@ -51292,6 +51462,7 @@ class Query(sgqlc.types.Type):
51292
51462
  monitors that have any linked table whose tags consist only of
51293
51463
  the provided tags. Tables with additional tags or no tags are
51294
51464
  included
51465
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
51295
51466
  * `data_quality_dimensions` (`[String]`): Filter by data quality
51296
51467
  dimensions
51297
51468
  * `order_by` (`String`): Field and direction to order monitors by
@@ -51459,6 +51630,12 @@ class Query(sgqlc.types.Type):
51459
51630
  default=None,
51460
51631
  ),
51461
51632
  ),
51633
+ (
51634
+ "data_product_ids",
51635
+ sgqlc.types.Arg(
51636
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
51637
+ ),
51638
+ ),
51462
51639
  (
51463
51640
  "data_quality_dimensions",
51464
51641
  sgqlc.types.Arg(
@@ -51525,6 +51702,7 @@ class Query(sgqlc.types.Type):
51525
51702
  monitors that have any linked table whose tags consist only of
51526
51703
  the provided tags. Tables with additional tags or no tags are
51527
51704
  included
51705
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
51528
51706
  * `data_quality_dimensions` (`[String]`): Filter by data quality
51529
51707
  dimensions
51530
51708
  * `order_by` (`String`): Field and direction to order monitors by
@@ -51692,6 +51870,12 @@ class Query(sgqlc.types.Type):
51692
51870
  default=None,
51693
51871
  ),
51694
51872
  ),
51873
+ (
51874
+ "data_product_ids",
51875
+ sgqlc.types.Arg(
51876
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
51877
+ ),
51878
+ ),
51695
51879
  (
51696
51880
  "data_quality_dimensions",
51697
51881
  sgqlc.types.Arg(
@@ -51758,6 +51942,7 @@ class Query(sgqlc.types.Type):
51758
51942
  monitors that have any linked table whose tags consist only of
51759
51943
  the provided tags. Tables with additional tags or no tags are
51760
51944
  included
51945
+ * `data_product_ids` (`[UUID]`): Filter by data product IDs
51761
51946
  * `data_quality_dimensions` (`[String]`): Filter by data quality
51762
51947
  dimensions
51763
51948
  * `order_by` (`String`): Field and direction to order monitors by
@@ -63471,6 +63656,14 @@ class TableMonitorEdge(sgqlc.types.Type):
63471
63656
  """A cursor for use in pagination"""
63472
63657
 
63473
63658
 
63659
+ class TableMonitorMetric(sgqlc.types.Type):
63660
+ __schema__ = schema
63661
+ __field_names__ = ("metric", "value")
63662
+ metric = sgqlc.types.Field(sgqlc.types.non_null(TableMonitorMetricType), graphql_name="metric")
63663
+
63664
+ value = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="value")
63665
+
63666
+
63474
63667
  class TableMonitorSpec(sgqlc.types.Type):
63475
63668
  __schema__ = schema
63476
63669
  __field_names__ = (
@@ -65156,6 +65349,7 @@ class Transform(sgqlc.types.Type):
65156
65349
  "prompt",
65157
65350
  "categories",
65158
65351
  "model_connection_id",
65352
+ "output_type",
65159
65353
  "function",
65160
65354
  "field",
65161
65355
  "id",
@@ -65171,6 +65365,8 @@ class Transform(sgqlc.types.Type):
65171
65365
 
65172
65366
  model_connection_id = sgqlc.types.Field(String, graphql_name="modelConnectionId")
65173
65367
 
65368
+ output_type = sgqlc.types.Field(String, graphql_name="outputType")
65369
+
65174
65370
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
65175
65371
 
65176
65372
  field = sgqlc.types.Field(String, graphql_name="field")
@@ -65191,6 +65387,7 @@ class TransformFunction(sgqlc.types.Type):
65191
65387
  "category",
65192
65388
  "prompt",
65193
65389
  "score_field",
65390
+ "output_type",
65194
65391
  )
65195
65392
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
65196
65393
 
@@ -65220,6 +65417,8 @@ class TransformFunction(sgqlc.types.Type):
65220
65417
 
65221
65418
  score_field = sgqlc.types.Field(String, graphql_name="scoreField")
65222
65419
 
65420
+ output_type = sgqlc.types.Field(String, graphql_name="outputType")
65421
+
65223
65422
 
65224
65423
  class TriggerCircuitBreakerRule(sgqlc.types.Type):
65225
65424
  """Run a custom rule as a circuit breaker immediately. Supports rules
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.135
3
+ Version: 0.10.137
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=PAx976D9_nEvTu4iol2FH1qGx68POH8KW6KT-euDV0A,6162647
39
- pycarlo/lib/schema.py,sha256=kP8CK_UyCDLrzTmTZKJw5vRbMzkWOcqR_UViEfLy38U,2675792
40
- pycarlo-0.10.135.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.135.dist-info/METADATA,sha256=5hNUicwi_-0WkR7-BuKibbbWGLFMaXNu8m01OnRSuxE,8742
42
- pycarlo-0.10.135.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.135.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.135.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=C1HXevqw51KbjRzHT8IoRB_gMYMQpBAdGQZc3AKViN0,6175623
39
+ pycarlo/lib/schema.py,sha256=qy4pwOyKJHDL4CSHbjeb-U4rDaBlOS_ZAcKHTNMVCeI,2682894
40
+ pycarlo-0.10.137.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.137.dist-info/METADATA,sha256=zTdFmPtZBIWELAgfATnePzFSXm4bsrXFU71fgrXIiaY,8742
42
+ pycarlo-0.10.137.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.137.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.137.dist-info/RECORD,,