pycarlo 0.10.178__py3-none-any.whl → 0.10.180__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
@@ -10708,6 +10708,34 @@
10708
10708
  "ofType": null
10709
10709
  }
10710
10710
  }
10711
+ },
10712
+ {
10713
+ "defaultValue": "false",
10714
+ "description": "Consider all the spans (not only the recent ones), and sort them by start date.",
10715
+ "name": "traceMode",
10716
+ "type": {
10717
+ "kind": "SCALAR",
10718
+ "name": "Boolean",
10719
+ "ofType": null
10720
+ }
10721
+ },
10722
+ {
10723
+ "defaultValue": null,
10724
+ "description": "Filter by specific trace IDs",
10725
+ "name": "traceIds",
10726
+ "type": {
10727
+ "kind": "LIST",
10728
+ "name": null,
10729
+ "ofType": {
10730
+ "kind": "NON_NULL",
10731
+ "name": null,
10732
+ "ofType": {
10733
+ "kind": "SCALAR",
10734
+ "name": "String",
10735
+ "ofType": null
10736
+ }
10737
+ }
10738
+ }
10711
10739
  }
10712
10740
  ],
10713
10741
  "deprecationReason": null,
@@ -10788,7 +10816,7 @@
10788
10816
  },
10789
10817
  {
10790
10818
  "defaultValue": "false",
10791
- "description": "Return evaluation test columns only (prompts, completions, span_id)",
10819
+ "description": "Return evaluation test columns only (prompts, completions, span_id, transform outputs)",
10792
10820
  "name": "evaluationMode",
10793
10821
  "type": {
10794
10822
  "kind": "SCALAR",
@@ -10796,6 +10824,16 @@
10796
10824
  "ofType": null
10797
10825
  }
10798
10826
  },
10827
+ {
10828
+ "defaultValue": "false",
10829
+ "description": "Consider all the spans (not only the recent ones), and sort them by start date.",
10830
+ "name": "traceMode",
10831
+ "type": {
10832
+ "kind": "SCALAR",
10833
+ "name": "Boolean",
10834
+ "ofType": null
10835
+ }
10836
+ },
10799
10837
  {
10800
10838
  "defaultValue": "10",
10801
10839
  "description": "Number of sample rows to return (max 100)",
@@ -10806,6 +10844,16 @@
10806
10844
  "ofType": null
10807
10845
  }
10808
10846
  },
10847
+ {
10848
+ "defaultValue": "0",
10849
+ "description": "Number of rows to skip before returning results",
10850
+ "name": "offset",
10851
+ "type": {
10852
+ "kind": "SCALAR",
10853
+ "name": "Int",
10854
+ "ofType": null
10855
+ }
10856
+ },
10809
10857
  {
10810
10858
  "defaultValue": null,
10811
10859
  "description": "Filter by specific span IDs (<= limit)",
@@ -10824,6 +10872,24 @@
10824
10872
  }
10825
10873
  }
10826
10874
  },
10875
+ {
10876
+ "defaultValue": null,
10877
+ "description": "Filter by specific trace IDs (<= limit)",
10878
+ "name": "traceIds",
10879
+ "type": {
10880
+ "kind": "LIST",
10881
+ "name": null,
10882
+ "ofType": {
10883
+ "kind": "NON_NULL",
10884
+ "name": null,
10885
+ "ofType": {
10886
+ "kind": "SCALAR",
10887
+ "name": "String",
10888
+ "ofType": null
10889
+ }
10890
+ }
10891
+ }
10892
+ },
10827
10893
  {
10828
10894
  "defaultValue": null,
10829
10895
  "description": "Connection UUID",
@@ -165482,9 +165548,13 @@
165482
165548
  "description": "Sampling configuration: either percentage or fixed count",
165483
165549
  "name": "samplingConfig",
165484
165550
  "type": {
165485
- "kind": "INPUT_OBJECT",
165486
- "name": "MonitorSamplingConfigInput",
165487
- "ofType": null
165551
+ "kind": "NON_NULL",
165552
+ "name": null,
165553
+ "ofType": {
165554
+ "kind": "INPUT_OBJECT",
165555
+ "name": "MonitorSamplingConfigInput",
165556
+ "ofType": null
165557
+ }
165488
165558
  }
165489
165559
  },
165490
165560
  {
@@ -168248,6 +168318,33 @@
168248
168318
  "ofType": null
168249
168319
  }
168250
168320
  },
168321
+ {
168322
+ "args": [
168323
+ {
168324
+ "defaultValue": null,
168325
+ "description": null,
168326
+ "name": "maxTimeSeries",
168327
+ "type": {
168328
+ "kind": "NON_NULL",
168329
+ "name": null,
168330
+ "ofType": {
168331
+ "kind": "SCALAR",
168332
+ "name": "Int",
168333
+ "ofType": null
168334
+ }
168335
+ }
168336
+ }
168337
+ ],
168338
+ "deprecationReason": null,
168339
+ "description": "(experimental) Set the maximum number of time series for the account.",
168340
+ "isDeprecated": false,
168341
+ "name": "setAccountMaxTimeSeries",
168342
+ "type": {
168343
+ "kind": "OBJECT",
168344
+ "name": "SetMaxTimeSeries",
168345
+ "ofType": null
168346
+ }
168347
+ },
168251
168348
  {
168252
168349
  "args": [
168253
168350
  {
@@ -189315,6 +189412,29 @@
189315
189412
  "name": "BillingPlanType",
189316
189413
  "possibleTypes": null
189317
189414
  },
189415
+ {
189416
+ "description": null,
189417
+ "enumValues": null,
189418
+ "fields": [
189419
+ {
189420
+ "args": [],
189421
+ "deprecationReason": null,
189422
+ "description": null,
189423
+ "isDeprecated": false,
189424
+ "name": "success",
189425
+ "type": {
189426
+ "kind": "SCALAR",
189427
+ "name": "Boolean",
189428
+ "ofType": null
189429
+ }
189430
+ }
189431
+ ],
189432
+ "inputFields": null,
189433
+ "interfaces": [],
189434
+ "kind": "OBJECT",
189435
+ "name": "SetMaxTimeSeries",
189436
+ "possibleTypes": null
189437
+ },
189318
189438
  {
189319
189439
  "description": "Set friendly name for a warehouse.",
189320
189440
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -25570,6 +25570,7 @@ class Mutation(sgqlc.types.Type):
25570
25570
  "update_account_display_assets_search_tags",
25571
25571
  "set_account_name",
25572
25572
  "set_account_billing_plan",
25573
+ "set_account_max_time_series",
25573
25574
  "set_warehouse_name",
25574
25575
  "set_etl_container_name",
25575
25576
  "set_connection_name",
@@ -36376,7 +36377,9 @@ class Mutation(sgqlc.types.Type):
36376
36377
  (
36377
36378
  "sampling_config",
36378
36379
  sgqlc.types.Arg(
36379
- MonitorSamplingConfigInput, graphql_name="samplingConfig", default=None
36380
+ sgqlc.types.non_null(MonitorSamplingConfigInput),
36381
+ graphql_name="samplingConfig",
36382
+ default=None,
36380
36383
  ),
36381
36384
  ),
36382
36385
  (
@@ -36447,7 +36450,7 @@ class Mutation(sgqlc.types.Type):
36447
36450
  `""`)
36448
36451
  * `priority` (`String`): The default priority for alerts involving
36449
36452
  this monitor
36450
- * `sampling_config` (`MonitorSamplingConfigInput`): Sampling
36453
+ * `sampling_config` (`MonitorSamplingConfigInput!`): Sampling
36451
36454
  configuration: either percentage or fixed count
36452
36455
  * `schedule_config` (`ScheduleConfigInput!`): Schedule of monitor
36453
36456
  * `segment_count_hint` (`Int`): Segment count when then monitor
@@ -38188,6 +38191,28 @@ class Mutation(sgqlc.types.Type):
38188
38191
  that will be used to create an initial customer contract
38189
38192
  """
38190
38193
 
38194
+ set_account_max_time_series = sgqlc.types.Field(
38195
+ "SetMaxTimeSeries",
38196
+ graphql_name="setAccountMaxTimeSeries",
38197
+ args=sgqlc.types.ArgDict(
38198
+ (
38199
+ (
38200
+ "max_time_series",
38201
+ sgqlc.types.Arg(
38202
+ sgqlc.types.non_null(Int), graphql_name="maxTimeSeries", default=None
38203
+ ),
38204
+ ),
38205
+ )
38206
+ ),
38207
+ )
38208
+ """(experimental) Set the maximum number of time series for the
38209
+ account.
38210
+
38211
+ Arguments:
38212
+
38213
+ * `max_time_series` (`Int!`)None
38214
+ """
38215
+
38191
38216
  set_warehouse_name = sgqlc.types.Field(
38192
38217
  "SetWarehouseName",
38193
38218
  graphql_name="setWarehouseName",
@@ -50341,6 +50366,15 @@ class Query(sgqlc.types.Type):
50341
50366
  sgqlc.types.non_null(String), graphql_name="mcon", default=None
50342
50367
  ),
50343
50368
  ),
50369
+ ("trace_mode", sgqlc.types.Arg(Boolean, graphql_name="traceMode", default=False)),
50370
+ (
50371
+ "trace_ids",
50372
+ sgqlc.types.Arg(
50373
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50374
+ graphql_name="traceIds",
50375
+ default=None,
50376
+ ),
50377
+ ),
50344
50378
  )
50345
50379
  ),
50346
50380
  )
@@ -50350,6 +50384,9 @@ class Query(sgqlc.types.Type):
50350
50384
 
50351
50385
  * `mcon` (`String!`): MCON of the table with agent observability
50352
50386
  traces
50387
+ * `trace_mode` (`Boolean`): Consider all the spans (not only the
50388
+ recent ones), and sort them by start date. (default: `false`)
50389
+ * `trace_ids` (`[String!]`): Filter by specific trace IDs
50353
50390
  """
50354
50391
 
50355
50392
  get_agent_span_sample = sgqlc.types.Field(
@@ -50389,7 +50426,9 @@ class Query(sgqlc.types.Type):
50389
50426
  "evaluation_mode",
50390
50427
  sgqlc.types.Arg(Boolean, graphql_name="evaluationMode", default=False),
50391
50428
  ),
50429
+ ("trace_mode", sgqlc.types.Arg(Boolean, graphql_name="traceMode", default=False)),
50392
50430
  ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=10)),
50431
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=0)),
50393
50432
  (
50394
50433
  "span_ids",
50395
50434
  sgqlc.types.Arg(
@@ -50398,6 +50437,14 @@ class Query(sgqlc.types.Type):
50398
50437
  default=None,
50399
50438
  ),
50400
50439
  ),
50440
+ (
50441
+ "trace_ids",
50442
+ sgqlc.types.Arg(
50443
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50444
+ graphql_name="traceIds",
50445
+ default=None,
50446
+ ),
50447
+ ),
50401
50448
  ("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
50402
50449
  )
50403
50450
  ),
@@ -50416,10 +50463,17 @@ class Query(sgqlc.types.Type):
50416
50463
  * `transforms` (`[TransformInput!]`): Transforms to apply to the
50417
50464
  data source
50418
50465
  * `evaluation_mode` (`Boolean`): Return evaluation test columns
50419
- only (prompts, completions, span_id) (default: `false`)
50466
+ only (prompts, completions, span_id, transform outputs)
50467
+ (default: `false`)
50468
+ * `trace_mode` (`Boolean`): Consider all the spans (not only the
50469
+ recent ones), and sort them by start date. (default: `false`)
50420
50470
  * `limit` (`Int`): Number of sample rows to return (max 100)
50421
50471
  (default: `10`)
50472
+ * `offset` (`Int`): Number of rows to skip before returning
50473
+ results (default: `0`)
50422
50474
  * `span_ids` (`[String!]`): Filter by specific span IDs (<= limit)
50475
+ * `trace_ids` (`[String!]`): Filter by specific trace IDs (<=
50476
+ limit)
50423
50477
  * `connection_id` (`UUID`): Connection UUID
50424
50478
  """
50425
50479
 
@@ -63188,6 +63242,12 @@ class SetJobGeneratesIncidents(sgqlc.types.Type):
63188
63242
  dbt_job = sgqlc.types.Field("DbtJob", graphql_name="dbtJob")
63189
63243
 
63190
63244
 
63245
+ class SetMaxTimeSeries(sgqlc.types.Type):
63246
+ __schema__ = schema
63247
+ __field_names__ = ("success",)
63248
+ success = sgqlc.types.Field(Boolean, graphql_name="success")
63249
+
63250
+
63191
63251
  class SetPiiFilterStatus(sgqlc.types.Type):
63192
63252
  """Set PII filter status for this account."""
63193
63253
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.178
3
+ Version: 0.10.180
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=WZfta2YhjGDJpbTVFxjfkpRqEift0qJUDUcCp75Q57s,6275862
39
- pycarlo/lib/schema.py,sha256=OFEj9-hwvUSzZz6CB2LrboYcML10OjHO5-GmTwSQi3A,2728078
40
- pycarlo-0.10.178.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.178.dist-info/METADATA,sha256=AkCGPLGnaiFdOcEe3QpXaCvxl1PFRtVzPA2lHBcHBS4,8742
42
- pycarlo-0.10.178.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.178.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.178.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=slY2M_tCZ9nc1cSQroFe3Pw58i-oTiH2yrQLcJdqwe4,6279900
39
+ pycarlo/lib/schema.py,sha256=HamoeW13LMK7FBmMUK4hIPtUMH9BSOeuptnMoceZpD0,2730338
40
+ pycarlo-0.10.180.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.180.dist-info/METADATA,sha256=r3G5sIT6MnOsfCedH3fjvpTEW8Ousz2Ok2JjVwO7pQc,8742
42
+ pycarlo-0.10.180.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.180.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.180.dist-info/RECORD,,