pycarlo 0.12.64__py3-none-any.whl → 0.12.67__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
@@ -24624,6 +24624,34 @@
24624
24624
  "ofType": null
24625
24625
  }
24626
24626
  }
24627
+ },
24628
+ {
24629
+ "defaultValue": null,
24630
+ "description": null,
24631
+ "name": "tags",
24632
+ "type": {
24633
+ "kind": "LIST",
24634
+ "name": null,
24635
+ "ofType": {
24636
+ "kind": "INPUT_OBJECT",
24637
+ "name": "TagKeyValuePairInput",
24638
+ "ofType": null
24639
+ }
24640
+ }
24641
+ },
24642
+ {
24643
+ "defaultValue": null,
24644
+ "description": null,
24645
+ "name": "dataProductIds",
24646
+ "type": {
24647
+ "kind": "LIST",
24648
+ "name": null,
24649
+ "ofType": {
24650
+ "kind": "SCALAR",
24651
+ "name": "UUID",
24652
+ "ofType": null
24653
+ }
24654
+ }
24627
24655
  }
24628
24656
  ],
24629
24657
  "deprecationReason": null,
@@ -46481,6 +46509,18 @@
46481
46509
  }
46482
46510
  }
46483
46511
  },
46512
+ {
46513
+ "args": [],
46514
+ "deprecationReason": null,
46515
+ "description": "User-defined monitor type category (RULE, MONITOR, TABLE_MONITOR, BULK_MONITOR)",
46516
+ "isDeprecated": false,
46517
+ "name": "udmType",
46518
+ "type": {
46519
+ "kind": "ENUM",
46520
+ "name": "UserDefinedMonitorType",
46521
+ "ofType": null
46522
+ }
46523
+ },
46484
46524
  {
46485
46525
  "args": [],
46486
46526
  "deprecationReason": null,
@@ -47878,6 +47918,18 @@
47878
47918
  }
47879
47919
  }
47880
47920
  },
47921
+ {
47922
+ "args": [],
47923
+ "deprecationReason": null,
47924
+ "description": "User-defined monitor type category (RULE, MONITOR, TABLE_MONITOR, BULK_MONITOR)",
47925
+ "isDeprecated": false,
47926
+ "name": "udmType",
47927
+ "type": {
47928
+ "kind": "ENUM",
47929
+ "name": "UserDefinedMonitorType",
47930
+ "ofType": null
47931
+ }
47932
+ },
47881
47933
  {
47882
47934
  "args": [],
47883
47935
  "deprecationReason": null,
@@ -48595,6 +48647,41 @@
48595
48647
  }
48596
48648
  ]
48597
48649
  },
48650
+ {
48651
+ "description": null,
48652
+ "enumValues": [
48653
+ {
48654
+ "deprecationReason": null,
48655
+ "description": null,
48656
+ "isDeprecated": false,
48657
+ "name": "RULE"
48658
+ },
48659
+ {
48660
+ "deprecationReason": null,
48661
+ "description": null,
48662
+ "isDeprecated": false,
48663
+ "name": "MONITOR"
48664
+ },
48665
+ {
48666
+ "deprecationReason": null,
48667
+ "description": null,
48668
+ "isDeprecated": false,
48669
+ "name": "TABLE_MONITOR"
48670
+ },
48671
+ {
48672
+ "deprecationReason": null,
48673
+ "description": null,
48674
+ "isDeprecated": false,
48675
+ "name": "BULK_MONITOR"
48676
+ }
48677
+ ],
48678
+ "fields": null,
48679
+ "inputFields": null,
48680
+ "interfaces": null,
48681
+ "kind": "ENUM",
48682
+ "name": "UserDefinedMonitorType",
48683
+ "possibleTypes": null
48684
+ },
48598
48685
  {
48599
48686
  "description": null,
48600
48687
  "enumValues": null,
@@ -214160,6 +214247,18 @@
214160
214247
  "ofType": null
214161
214248
  }
214162
214249
  }
214250
+ },
214251
+ {
214252
+ "args": [],
214253
+ "deprecationReason": null,
214254
+ "description": null,
214255
+ "isDeprecated": false,
214256
+ "name": "timeSeriesMetadata",
214257
+ "type": {
214258
+ "kind": "OBJECT",
214259
+ "name": "CustomDashboardTimeSeriesMetadata",
214260
+ "ofType": null
214261
+ }
214163
214262
  }
214164
214263
  ],
214165
214264
  "inputFields": null,
@@ -214174,6 +214273,89 @@
214174
214273
  "name": "WidgetDataSourceMetrics",
214175
214274
  "possibleTypes": null
214176
214275
  },
214276
+ {
214277
+ "description": null,
214278
+ "enumValues": null,
214279
+ "fields": [
214280
+ {
214281
+ "args": [],
214282
+ "deprecationReason": null,
214283
+ "description": "MCON if timeseries is for a table",
214284
+ "isDeprecated": false,
214285
+ "name": "mcon",
214286
+ "type": {
214287
+ "kind": "SCALAR",
214288
+ "name": "String",
214289
+ "ofType": null
214290
+ }
214291
+ },
214292
+ {
214293
+ "args": [],
214294
+ "deprecationReason": null,
214295
+ "description": "Monitor Id if timeseries is for a rule or metric monitor",
214296
+ "isDeprecated": false,
214297
+ "name": "monitorId",
214298
+ "type": {
214299
+ "kind": "SCALAR",
214300
+ "name": "UUID",
214301
+ "ofType": null
214302
+ }
214303
+ },
214304
+ {
214305
+ "args": [],
214306
+ "deprecationReason": null,
214307
+ "description": "Metric name",
214308
+ "isDeprecated": false,
214309
+ "name": "metricName",
214310
+ "type": {
214311
+ "kind": "NON_NULL",
214312
+ "name": null,
214313
+ "ofType": {
214314
+ "kind": "SCALAR",
214315
+ "name": "String",
214316
+ "ofType": null
214317
+ }
214318
+ }
214319
+ },
214320
+ {
214321
+ "args": [],
214322
+ "deprecationReason": null,
214323
+ "description": "Field name for monitor metrics with fields",
214324
+ "isDeprecated": false,
214325
+ "name": "field",
214326
+ "type": {
214327
+ "kind": "SCALAR",
214328
+ "name": "String",
214329
+ "ofType": null
214330
+ }
214331
+ },
214332
+ {
214333
+ "args": [],
214334
+ "deprecationReason": null,
214335
+ "description": null,
214336
+ "isDeprecated": false,
214337
+ "name": "segmentedValues",
214338
+ "type": {
214339
+ "kind": "NON_NULL",
214340
+ "name": null,
214341
+ "ofType": {
214342
+ "kind": "LIST",
214343
+ "name": null,
214344
+ "ofType": {
214345
+ "kind": "SCALAR",
214346
+ "name": "String",
214347
+ "ofType": null
214348
+ }
214349
+ }
214350
+ }
214351
+ }
214352
+ ],
214353
+ "inputFields": null,
214354
+ "interfaces": [],
214355
+ "kind": "OBJECT",
214356
+ "name": "CustomDashboardTimeSeriesMetadata",
214357
+ "possibleTypes": null
214358
+ },
214177
214359
  {
214178
214360
  "description": null,
214179
214361
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -5638,6 +5638,19 @@ class UserDefinedMonitorSearchFields(pycarlo.lib.types.Enum):
5638
5638
  )
5639
5639
 
5640
5640
 
5641
+ class UserDefinedMonitorType(pycarlo.lib.types.Enum):
5642
+ """Enumeration Choices:
5643
+
5644
+ * `BULK_MONITOR`None
5645
+ * `MONITOR`None
5646
+ * `RULE`None
5647
+ * `TABLE_MONITOR`None
5648
+ """
5649
+
5650
+ __schema__ = schema
5651
+ __choices__ = ("BULK_MONITOR", "MONITOR", "RULE", "TABLE_MONITOR")
5652
+
5653
+
5641
5654
  class UserDefinedMonitors(pycarlo.lib.types.Enum):
5642
5655
  """Enumeration Choices:
5643
5656
 
@@ -11317,6 +11330,7 @@ class IMonitor(sgqlc.types.Interface):
11317
11330
  __field_names__ = (
11318
11331
  "uuid",
11319
11332
  "monitor_type",
11333
+ "udm_type",
11320
11334
  "created_time",
11321
11335
  "last_update_time",
11322
11336
  "creator_id",
@@ -11377,6 +11391,11 @@ class IMonitor(sgqlc.types.Interface):
11377
11391
  )
11378
11392
  """Type of monitor"""
11379
11393
 
11394
+ udm_type = sgqlc.types.Field(UserDefinedMonitorType, graphql_name="udmType")
11395
+ """User-defined monitor type category (RULE, MONITOR, TABLE_MONITOR,
11396
+ BULK_MONITOR)
11397
+ """
11398
+
11380
11399
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
11381
11400
  """Monitor creation time (UTC)"""
11382
11401
 
@@ -18156,6 +18175,26 @@ class CustomDashboardTimeSeriesLookup(sgqlc.types.Type):
18156
18175
  time_series_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="timeSeriesId")
18157
18176
 
18158
18177
 
18178
+ class CustomDashboardTimeSeriesMetadata(sgqlc.types.Type):
18179
+ __schema__ = schema
18180
+ __field_names__ = ("mcon", "monitor_id", "metric_name", "field", "segmented_values")
18181
+ mcon = sgqlc.types.Field(String, graphql_name="mcon")
18182
+ """MCON if timeseries is for a table"""
18183
+
18184
+ monitor_id = sgqlc.types.Field(UUID, graphql_name="monitorId")
18185
+ """Monitor Id if timeseries is for a rule or metric monitor"""
18186
+
18187
+ metric_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="metricName")
18188
+ """Metric name"""
18189
+
18190
+ field = sgqlc.types.Field(String, graphql_name="field")
18191
+ """Field name for monitor metrics with fields"""
18192
+
18193
+ segmented_values = sgqlc.types.Field(
18194
+ sgqlc.types.non_null(sgqlc.types.list_of(String)), graphql_name="segmentedValues"
18195
+ )
18196
+
18197
+
18159
18198
  class CustomDashboardWidgetContentData(sgqlc.types.Type):
18160
18199
  __schema__ = schema
18161
18200
  __field_names__ = ("data_source_id", "data")
@@ -60713,6 +60752,18 @@ class Query(sgqlc.types.Type):
60713
60752
  sgqlc.types.list_of(UUID), graphql_name="domainIds", default=None
60714
60753
  ),
60715
60754
  ),
60755
+ (
60756
+ "tags",
60757
+ sgqlc.types.Arg(
60758
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
60759
+ ),
60760
+ ),
60761
+ (
60762
+ "data_product_ids",
60763
+ sgqlc.types.Arg(
60764
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
60765
+ ),
60766
+ ),
60716
60767
  )
60717
60768
  ),
60718
60769
  )
@@ -60731,6 +60782,8 @@ class Query(sgqlc.types.Type):
60731
60782
  * `event_limit` (`Int`): Maximum number of anomalies to return per
60732
60783
  table (default: `10`)
60733
60784
  * `domain_ids` (`[UUID]`): Filter by domain UUIDs
60785
+ * `tags` (`[TagKeyValuePairInput]`)None
60786
+ * `data_product_ids` (`[UUID]`)None
60734
60787
  """
60735
60788
 
60736
60789
  get_object = sgqlc.types.Field(
@@ -84148,9 +84201,13 @@ class WidgetDataSourceJobExecutions(sgqlc.types.Type, WidgetDataSourceInterface)
84148
84201
 
84149
84202
  class WidgetDataSourceMetrics(sgqlc.types.Type, WidgetDataSourceInterface):
84150
84203
  __schema__ = schema
84151
- __field_names__ = ("time_series_id",)
84204
+ __field_names__ = ("time_series_id", "time_series_metadata")
84152
84205
  time_series_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="timeSeriesId")
84153
84206
 
84207
+ time_series_metadata = sgqlc.types.Field(
84208
+ CustomDashboardTimeSeriesMetadata, graphql_name="timeSeriesMetadata"
84209
+ )
84210
+
84154
84211
 
84155
84212
  class WidgetDataSourceMonitor(sgqlc.types.Type, WidgetDataSourceInterface):
84156
84213
  __schema__ = schema
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.12.64
3
+ Version: 0.12.67
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -38,11 +38,11 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
38
38
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
39
39
  pycarlo/lib/README.md,sha256=CVVrPPgje7pkXNNsPvwLSeUOm5aktb22MlttmoxX08k,1677
40
40
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- pycarlo/lib/schema.json,sha256=YIhDLzj5Ec0iAOF_sjs4X-4MQp-ik_kT0wM8Yhx1U34,6792739
42
- pycarlo/lib/schema.py,sha256=LyxaCs49TR-mhULyegA4gbTySAMGA_02wOdtzx_ZNag,2938860
41
+ pycarlo/lib/schema.json,sha256=gbiidzq7-a3v7UYEkbaBSADvAIIkCkL865kJZhn6xs4,6798356
42
+ pycarlo/lib/schema.py,sha256=Ou1KmuKhnhM-cx2EnioyFVoTEIqxgA0-qxNNd_UyE_4,2940813
43
43
  pycarlo/lib/types.py,sha256=lGOrm5Qm-SieDAkOkVOFSgyUJYGOjKnea961AD9Dv6s,2404
44
- pycarlo-0.12.64.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
- pycarlo-0.12.64.dist-info/METADATA,sha256=Zcnya5JXmJbdDCrFeOxHB-zD_PP_j9kFgLrP6ktWGOE,10431
46
- pycarlo-0.12.64.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
47
- pycarlo-0.12.64.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
48
- pycarlo-0.12.64.dist-info/RECORD,,
44
+ pycarlo-0.12.67.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
+ pycarlo-0.12.67.dist-info/METADATA,sha256=W0AKFRmf6y7VhzA59rTB5d4x5sZANaYKqnAYQslTvrg,10431
46
+ pycarlo-0.12.67.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
47
+ pycarlo-0.12.67.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
48
+ pycarlo-0.12.67.dist-info/RECORD,,