pycarlo 0.10.63__py3-none-any.whl → 0.10.65__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pycarlo might be problematic. Click here for more details.

pycarlo/lib/schema.json CHANGED
@@ -19804,93 +19804,6 @@
19804
19804
  }
19805
19805
  }
19806
19806
  },
19807
- {
19808
- "args": [
19809
- {
19810
- "defaultValue": null,
19811
- "description": "Warehouse the table is contained in",
19812
- "name": "dwId",
19813
- "type": {
19814
- "kind": "SCALAR",
19815
- "name": "UUID",
19816
- "ofType": null
19817
- }
19818
- },
19819
- {
19820
- "defaultValue": null,
19821
- "description": "the mcon associated with the metric",
19822
- "name": "mcon",
19823
- "type": {
19824
- "kind": "SCALAR",
19825
- "name": "String",
19826
- "ofType": null
19827
- }
19828
- },
19829
- {
19830
- "defaultValue": null,
19831
- "description": "Type of metric (e.g. row_count)",
19832
- "name": "metric",
19833
- "type": {
19834
- "kind": "SCALAR",
19835
- "name": "String",
19836
- "ofType": null
19837
- }
19838
- },
19839
- {
19840
- "defaultValue": null,
19841
- "description": "Filter for data newer than this",
19842
- "name": "startTime",
19843
- "type": {
19844
- "kind": "SCALAR",
19845
- "name": "DateTime",
19846
- "ofType": null
19847
- }
19848
- },
19849
- {
19850
- "defaultValue": null,
19851
- "description": "Filter for data older than this",
19852
- "name": "endTime",
19853
- "type": {
19854
- "kind": "SCALAR",
19855
- "name": "DateTime",
19856
- "ofType": null
19857
- }
19858
- },
19859
- {
19860
- "defaultValue": null,
19861
- "description": "Number of metrics to retrieve",
19862
- "name": "first",
19863
- "type": {
19864
- "kind": "SCALAR",
19865
- "name": "Int",
19866
- "ofType": null
19867
- }
19868
- },
19869
- {
19870
- "defaultValue": null,
19871
- "description": "Filter by a list of key/value dimension pairs",
19872
- "name": "dimensionFilters",
19873
- "type": {
19874
- "kind": "LIST",
19875
- "name": null,
19876
- "ofType": {
19877
- "kind": "INPUT_OBJECT",
19878
- "name": "MetricDimensionFilter",
19879
- "ofType": null
19880
- }
19881
- }
19882
- }
19883
- ],
19884
- "deprecationReason": "Use GetMetricsV4 instead",
19885
- "description": "(experimental) DEPRECATED. Retrieves metric values in a given time range AND in a given measurement time range",
19886
- "isDeprecated": true,
19887
- "name": "getNonTableMetrics",
19888
- "type": {
19889
- "kind": "OBJECT",
19890
- "name": "NonTableMetrics",
19891
- "ofType": null
19892
- }
19893
- },
19894
19807
  {
19895
19808
  "args": [
19896
19809
  {
@@ -94451,7 +94364,7 @@
94451
94364
  "deprecationReason": null,
94452
94365
  "description": null,
94453
94366
  "isDeprecated": false,
94454
- "name": "topMconsByMonitorCount",
94367
+ "name": "topMulticoveredMconsByMonitorCount",
94455
94368
  "type": {
94456
94369
  "kind": "NON_NULL",
94457
94370
  "name": null,
@@ -130437,185 +130350,6 @@
130437
130350
  "name": "MetricUnit",
130438
130351
  "possibleTypes": null
130439
130352
  },
130440
- {
130441
- "description": null,
130442
- "enumValues": null,
130443
- "fields": [
130444
- {
130445
- "args": [],
130446
- "deprecationReason": null,
130447
- "description": null,
130448
- "isDeprecated": false,
130449
- "name": "metrics",
130450
- "type": {
130451
- "kind": "LIST",
130452
- "name": null,
130453
- "ofType": {
130454
- "kind": "OBJECT",
130455
- "name": "NonTableMetric",
130456
- "ofType": null
130457
- }
130458
- }
130459
- },
130460
- {
130461
- "args": [],
130462
- "deprecationReason": null,
130463
- "description": null,
130464
- "isDeprecated": false,
130465
- "name": "isPartialDateRange",
130466
- "type": {
130467
- "kind": "SCALAR",
130468
- "name": "Boolean",
130469
- "ofType": null
130470
- }
130471
- }
130472
- ],
130473
- "inputFields": null,
130474
- "interfaces": [],
130475
- "kind": "OBJECT",
130476
- "name": "NonTableMetrics",
130477
- "possibleTypes": null
130478
- },
130479
- {
130480
- "description": null,
130481
- "enumValues": null,
130482
- "fields": [
130483
- {
130484
- "args": [],
130485
- "deprecationReason": null,
130486
- "description": "Metric for which to fetch results. E.g; custom_metric_uuid",
130487
- "isDeprecated": false,
130488
- "name": "metric",
130489
- "type": {
130490
- "kind": "NON_NULL",
130491
- "name": null,
130492
- "ofType": {
130493
- "kind": "SCALAR",
130494
- "name": "String",
130495
- "ofType": null
130496
- }
130497
- }
130498
- },
130499
- {
130500
- "args": [],
130501
- "deprecationReason": null,
130502
- "description": "Measurement value for the metric",
130503
- "isDeprecated": false,
130504
- "name": "value",
130505
- "type": {
130506
- "kind": "NON_NULL",
130507
- "name": null,
130508
- "ofType": {
130509
- "kind": "SCALAR",
130510
- "name": "Float",
130511
- "ofType": null
130512
- }
130513
- }
130514
- },
130515
- {
130516
- "args": [],
130517
- "deprecationReason": null,
130518
- "description": "Time when measurement value was obtained",
130519
- "isDeprecated": false,
130520
- "name": "measurementTimestamp",
130521
- "type": {
130522
- "kind": "NON_NULL",
130523
- "name": null,
130524
- "ofType": {
130525
- "kind": "SCALAR",
130526
- "name": "DateTime",
130527
- "ofType": null
130528
- }
130529
- }
130530
- },
130531
- {
130532
- "args": [],
130533
- "deprecationReason": null,
130534
- "description": "List of key/value dimension pairs applied as filters",
130535
- "isDeprecated": false,
130536
- "name": "dimensions",
130537
- "type": {
130538
- "kind": "OBJECT",
130539
- "name": "MetricDimensions",
130540
- "ofType": null
130541
- }
130542
- },
130543
- {
130544
- "args": [],
130545
- "deprecationReason": null,
130546
- "description": "UUID of the job execution that produced the measurement",
130547
- "isDeprecated": false,
130548
- "name": "jobExecutionUuid",
130549
- "type": {
130550
- "kind": "SCALAR",
130551
- "name": "UUID",
130552
- "ofType": null
130553
- }
130554
- },
130555
- {
130556
- "args": [],
130557
- "deprecationReason": null,
130558
- "description": "Thresholds",
130559
- "isDeprecated": false,
130560
- "name": "thresholds",
130561
- "type": {
130562
- "kind": "LIST",
130563
- "name": null,
130564
- "ofType": {
130565
- "kind": "OBJECT",
130566
- "name": "Threshold",
130567
- "ofType": null
130568
- }
130569
- }
130570
- }
130571
- ],
130572
- "inputFields": null,
130573
- "interfaces": [],
130574
- "kind": "OBJECT",
130575
- "name": "NonTableMetric",
130576
- "possibleTypes": null
130577
- },
130578
- {
130579
- "description": "Filter in key value pairs that would be applied in dimensions",
130580
- "enumValues": null,
130581
- "fields": null,
130582
- "inputFields": [
130583
- {
130584
- "defaultValue": null,
130585
- "description": "name of the dimension.",
130586
- "name": "key",
130587
- "type": {
130588
- "kind": "SCALAR",
130589
- "name": "String",
130590
- "ofType": null
130591
- }
130592
- },
130593
- {
130594
- "defaultValue": null,
130595
- "description": "float value field.",
130596
- "name": "value",
130597
- "type": {
130598
- "kind": "SCALAR",
130599
- "name": "Float",
130600
- "ofType": null
130601
- }
130602
- },
130603
- {
130604
- "defaultValue": null,
130605
- "description": "string value field. This field and value field should be exclusive",
130606
- "name": "valueStr",
130607
- "type": {
130608
- "kind": "SCALAR",
130609
- "name": "String",
130610
- "ofType": null
130611
- }
130612
- }
130613
- ],
130614
- "interfaces": null,
130615
- "kind": "INPUT_OBJECT",
130616
- "name": "MetricDimensionFilter",
130617
- "possibleTypes": null
130618
- },
130619
130353
  {
130620
130354
  "description": null,
130621
130355
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -7509,21 +7509,6 @@ class MetricAlertConditionInput(sgqlc.types.Input):
7509
7509
  id = sgqlc.types.Field(String, graphql_name="id")
7510
7510
 
7511
7511
 
7512
- class MetricDimensionFilter(sgqlc.types.Input):
7513
- """Filter in key value pairs that would be applied in dimensions"""
7514
-
7515
- __schema__ = schema
7516
- __field_names__ = ("key", "value", "value_str")
7517
- key = sgqlc.types.Field(String, graphql_name="key")
7518
- """name of the dimension."""
7519
-
7520
- value = sgqlc.types.Field(Float, graphql_name="value")
7521
- """float value field."""
7522
-
7523
- value_str = sgqlc.types.Field(String, graphql_name="valueStr")
7524
- """string value field. This field and value field should be exclusive"""
7525
-
7526
-
7527
7512
  class MetricsFilter(sgqlc.types.Input):
7528
7513
  """Filters for the metrics to be fetched"""
7529
7514
 
@@ -14989,7 +14974,7 @@ class ConversionResult(sgqlc.types.Type):
14989
14974
  "converted_monitor_uuids",
14990
14975
  "monitored_tables_count",
14991
14976
  "selected_tables_count",
14992
- "top_mcons_by_monitor_count",
14977
+ "top_multicovered_mcons_by_monitor_count",
14993
14978
  "sample_covered_not_monitored",
14994
14979
  "sample_monitored_not_covered",
14995
14980
  "mcons_covered_by_table_monitor_audiences",
@@ -15060,9 +15045,9 @@ class ConversionResult(sgqlc.types.Type):
15060
15045
 
15061
15046
  selected_tables_count = sgqlc.types.Field(Int, graphql_name="selectedTablesCount")
15062
15047
 
15063
- top_mcons_by_monitor_count = sgqlc.types.Field(
15048
+ top_multicovered_mcons_by_monitor_count = sgqlc.types.Field(
15064
15049
  sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null("MconCountPair"))),
15065
- graphql_name="topMconsByMonitorCount",
15050
+ graphql_name="topMulticoveredMconsByMonitorCount",
15066
15051
  )
15067
15052
 
15068
15053
  sample_covered_not_monitored = sgqlc.types.Field(
@@ -40626,45 +40611,6 @@ class NodeProperties(sgqlc.types.Type):
40626
40611
  """
40627
40612
 
40628
40613
 
40629
- class NonTableMetric(sgqlc.types.Type):
40630
- __schema__ = schema
40631
- __field_names__ = (
40632
- "metric",
40633
- "value",
40634
- "measurement_timestamp",
40635
- "dimensions",
40636
- "job_execution_uuid",
40637
- "thresholds",
40638
- )
40639
- metric = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="metric")
40640
- """Metric for which to fetch results. E.g; custom_metric_uuid"""
40641
-
40642
- value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name="value")
40643
- """Measurement value for the metric"""
40644
-
40645
- measurement_timestamp = sgqlc.types.Field(
40646
- sgqlc.types.non_null(DateTime), graphql_name="measurementTimestamp"
40647
- )
40648
- """Time when measurement value was obtained"""
40649
-
40650
- dimensions = sgqlc.types.Field(MetricDimensions, graphql_name="dimensions")
40651
- """List of key/value dimension pairs applied as filters"""
40652
-
40653
- job_execution_uuid = sgqlc.types.Field(UUID, graphql_name="jobExecutionUuid")
40654
- """UUID of the job execution that produced the measurement"""
40655
-
40656
- thresholds = sgqlc.types.Field(sgqlc.types.list_of("Threshold"), graphql_name="thresholds")
40657
- """Thresholds"""
40658
-
40659
-
40660
- class NonTableMetrics(sgqlc.types.Type):
40661
- __schema__ = schema
40662
- __field_names__ = ("metrics", "is_partial_date_range")
40663
- metrics = sgqlc.types.Field(sgqlc.types.list_of(NonTableMetric), graphql_name="metrics")
40664
-
40665
- is_partial_date_range = sgqlc.types.Field(Boolean, graphql_name="isPartialDateRange")
40666
-
40667
-
40668
40614
  class NotMonitoredReason(sgqlc.types.Type):
40669
40615
  __schema__ = schema
40670
40616
  __field_names__ = ("mcon", "reason", "rule")
@@ -42328,7 +42274,6 @@ class Query(sgqlc.types.Type):
42328
42274
  "get_metrics_v4",
42329
42275
  "get_field_metric_definitions",
42330
42276
  "get_comparison_monitor_field_metric_definitions",
42331
- "get_non_table_metrics",
42332
42277
  "get_top_segmented_where_condition_labels",
42333
42278
  "get_segmented_where_condition_labels",
42334
42279
  "get_segmented_where_condition_label_count",
@@ -53180,43 +53125,6 @@ class Query(sgqlc.types.Type):
53180
53125
  metrics
53181
53126
  """
53182
53127
 
53183
- get_non_table_metrics = sgqlc.types.Field(
53184
- NonTableMetrics,
53185
- graphql_name="getNonTableMetrics",
53186
- args=sgqlc.types.ArgDict(
53187
- (
53188
- ("dw_id", sgqlc.types.Arg(UUID, graphql_name="dwId", default=None)),
53189
- ("mcon", sgqlc.types.Arg(String, graphql_name="mcon", default=None)),
53190
- ("metric", sgqlc.types.Arg(String, graphql_name="metric", default=None)),
53191
- ("start_time", sgqlc.types.Arg(DateTime, graphql_name="startTime", default=None)),
53192
- ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
53193
- ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
53194
- (
53195
- "dimension_filters",
53196
- sgqlc.types.Arg(
53197
- sgqlc.types.list_of(MetricDimensionFilter),
53198
- graphql_name="dimensionFilters",
53199
- default=None,
53200
- ),
53201
- ),
53202
- )
53203
- ),
53204
- )
53205
- """(experimental) DEPRECATED. Retrieves metric values in a given time
53206
- range AND in a given measurement time range
53207
-
53208
- Arguments:
53209
-
53210
- * `dw_id` (`UUID`): Warehouse the table is contained in
53211
- * `mcon` (`String`): the mcon associated with the metric
53212
- * `metric` (`String`): Type of metric (e.g. row_count)
53213
- * `start_time` (`DateTime`): Filter for data newer than this
53214
- * `end_time` (`DateTime`): Filter for data older than this
53215
- * `first` (`Int`): Number of metrics to retrieve
53216
- * `dimension_filters` (`[MetricDimensionFilter]`): Filter by a
53217
- list of key/value dimension pairs
53218
- """
53219
-
53220
53128
  get_top_segmented_where_condition_labels = sgqlc.types.Field(
53221
53129
  sgqlc.types.list_of(CategoryLabelRank),
53222
53130
  graphql_name="getTopSegmentedWhereConditionLabels",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.63
3
+ Version: 0.10.65
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=vc3ri-wb1K2zQOu-UrnsMTlZ59ZI1WROXY4zg525xQ0,5983983
39
- pycarlo/lib/schema.py,sha256=wfzYl7RhXbQEXnLy4E4DGcAH6I6rMg_vd2GAWU4Dbj8,2585806
40
- pycarlo-0.10.63.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.63.dist-info/METADATA,sha256=rj5wHxFtNN85R6CuTYZCe5h2qZjm6pvNepAP67_5r5s,8741
42
- pycarlo-0.10.63.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.63.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.63.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=zZt_ILGQ6rgD2b17W32UDdphleHuS4MJqfsaiupDj4A,5975541
39
+ pycarlo/lib/schema.py,sha256=5Tj_X7Rl_h1NYBX_7kFTxO87xOh-89U5Jg5nM_sjv8w,2582220
40
+ pycarlo-0.10.65.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.65.dist-info/METADATA,sha256=RhsyRg_Ll43qNfZrfXzwQiazqSSb8QSFpjMsOAjfLsM,8741
42
+ pycarlo-0.10.65.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.65.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.65.dist-info/RECORD,,