pycarlo 0.10.179__py3-none-any.whl → 0.10.181__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",
@@ -150361,6 +150427,47 @@
150361
150427
  "ofType": null
150362
150428
  }
150363
150429
  },
150430
+ {
150431
+ "args": [
150432
+ {
150433
+ "defaultValue": null,
150434
+ "description": "Platform Service UUID. To disambiguate accounts with multiple services",
150435
+ "name": "serviceUuid",
150436
+ "type": {
150437
+ "kind": "NON_NULL",
150438
+ "name": null,
150439
+ "ofType": {
150440
+ "kind": "SCALAR",
150441
+ "name": "UUID",
150442
+ "ofType": null
150443
+ }
150444
+ }
150445
+ },
150446
+ {
150447
+ "defaultValue": null,
150448
+ "description": "Template version to upgrade to",
150449
+ "name": "templateVersion",
150450
+ "type": {
150451
+ "kind": "NON_NULL",
150452
+ "name": null,
150453
+ "ofType": {
150454
+ "kind": "SCALAR",
150455
+ "name": "Int",
150456
+ "ofType": null
150457
+ }
150458
+ }
150459
+ }
150460
+ ],
150461
+ "deprecationReason": null,
150462
+ "description": "(experimental) Updates the collection storage template version associated to a DC.",
150463
+ "isDeprecated": false,
150464
+ "name": "caasUpdateCollectionStorageVersion",
150465
+ "type": {
150466
+ "kind": "OBJECT",
150467
+ "name": "CaasUpdateCollectionStorageVersion",
150468
+ "ofType": null
150469
+ }
150470
+ },
150364
150471
  {
150365
150472
  "args": [
150366
150473
  {
@@ -165482,9 +165589,13 @@
165482
165589
  "description": "Sampling configuration: either percentage or fixed count",
165483
165590
  "name": "samplingConfig",
165484
165591
  "type": {
165485
- "kind": "INPUT_OBJECT",
165486
- "name": "MonitorSamplingConfigInput",
165487
- "ofType": null
165592
+ "kind": "NON_NULL",
165593
+ "name": null,
165594
+ "ofType": {
165595
+ "kind": "INPUT_OBJECT",
165596
+ "name": "MonitorSamplingConfigInput",
165597
+ "ofType": null
165598
+ }
165488
165599
  }
165489
165600
  },
165490
165601
  {
@@ -175862,6 +175973,29 @@
175862
175973
  "name": "CaasUpdateCollectionStorageParameters",
175863
175974
  "possibleTypes": null
175864
175975
  },
175976
+ {
175977
+ "description": "Updates the collection storage template version associated to the specified DC.",
175978
+ "enumValues": null,
175979
+ "fields": [
175980
+ {
175981
+ "args": [],
175982
+ "deprecationReason": null,
175983
+ "description": "Boolean indicating if the operation was successful",
175984
+ "isDeprecated": false,
175985
+ "name": "ok",
175986
+ "type": {
175987
+ "kind": "SCALAR",
175988
+ "name": "Boolean",
175989
+ "ofType": null
175990
+ }
175991
+ }
175992
+ ],
175993
+ "inputFields": null,
175994
+ "interfaces": [],
175995
+ "kind": "OBJECT",
175996
+ "name": "CaasUpdateCollectionStorageVersion",
175997
+ "possibleTypes": null
175998
+ },
175865
175999
  {
175866
176000
  "description": "Updates the collection node associated to the specified DC to the specified version.If no version is provided, the node is upgraded to latest version.",
175867
176001
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -14822,6 +14822,17 @@ class CaasUpdateCollectionStorageParameters(sgqlc.types.Type):
14822
14822
  """Boolean indicating if the operation was successful"""
14823
14823
 
14824
14824
 
14825
+ class CaasUpdateCollectionStorageVersion(sgqlc.types.Type):
14826
+ """Updates the collection storage template version associated to the
14827
+ specified DC.
14828
+ """
14829
+
14830
+ __schema__ = schema
14831
+ __field_names__ = ("ok",)
14832
+ ok = sgqlc.types.Field(Boolean, graphql_name="ok")
14833
+ """Boolean indicating if the operation was successful"""
14834
+
14835
+
14825
14836
  class CatalogMapping(sgqlc.types.Type):
14826
14837
  __schema__ = schema
14827
14838
  __field_names__ = ("from_name", "to_name")
@@ -25274,6 +25285,7 @@ class Mutation(sgqlc.types.Type):
25274
25285
  "caas_update_collection_node_parameters",
25275
25286
  "caas_update_collection_node_env",
25276
25287
  "caas_update_collection_storage_parameters",
25288
+ "caas_update_collection_storage_version",
25277
25289
  "caas_update_collection_node_version",
25278
25290
  "trigger_platform_migration",
25279
25291
  "trigger_platform_migration_test",
@@ -26749,6 +26761,36 @@ class Mutation(sgqlc.types.Type):
26749
26761
  containing the values to update
26750
26762
  """
26751
26763
 
26764
+ caas_update_collection_storage_version = sgqlc.types.Field(
26765
+ CaasUpdateCollectionStorageVersion,
26766
+ graphql_name="caasUpdateCollectionStorageVersion",
26767
+ args=sgqlc.types.ArgDict(
26768
+ (
26769
+ (
26770
+ "service_uuid",
26771
+ sgqlc.types.Arg(
26772
+ sgqlc.types.non_null(UUID), graphql_name="serviceUuid", default=None
26773
+ ),
26774
+ ),
26775
+ (
26776
+ "template_version",
26777
+ sgqlc.types.Arg(
26778
+ sgqlc.types.non_null(Int), graphql_name="templateVersion", default=None
26779
+ ),
26780
+ ),
26781
+ )
26782
+ ),
26783
+ )
26784
+ """(experimental) Updates the collection storage template version
26785
+ associated to a DC.
26786
+
26787
+ Arguments:
26788
+
26789
+ * `service_uuid` (`UUID!`): Platform Service UUID. To disambiguate
26790
+ accounts with multiple services
26791
+ * `template_version` (`Int!`): Template version to upgrade to
26792
+ """
26793
+
26752
26794
  caas_update_collection_node_version = sgqlc.types.Field(
26753
26795
  CaasUpdateCollectionNodeVersion,
26754
26796
  graphql_name="caasUpdateCollectionNodeVersion",
@@ -36377,7 +36419,9 @@ class Mutation(sgqlc.types.Type):
36377
36419
  (
36378
36420
  "sampling_config",
36379
36421
  sgqlc.types.Arg(
36380
- MonitorSamplingConfigInput, graphql_name="samplingConfig", default=None
36422
+ sgqlc.types.non_null(MonitorSamplingConfigInput),
36423
+ graphql_name="samplingConfig",
36424
+ default=None,
36381
36425
  ),
36382
36426
  ),
36383
36427
  (
@@ -36448,7 +36492,7 @@ class Mutation(sgqlc.types.Type):
36448
36492
  `""`)
36449
36493
  * `priority` (`String`): The default priority for alerts involving
36450
36494
  this monitor
36451
- * `sampling_config` (`MonitorSamplingConfigInput`): Sampling
36495
+ * `sampling_config` (`MonitorSamplingConfigInput!`): Sampling
36452
36496
  configuration: either percentage or fixed count
36453
36497
  * `schedule_config` (`ScheduleConfigInput!`): Schedule of monitor
36454
36498
  * `segment_count_hint` (`Int`): Segment count when then monitor
@@ -50364,6 +50408,15 @@ class Query(sgqlc.types.Type):
50364
50408
  sgqlc.types.non_null(String), graphql_name="mcon", default=None
50365
50409
  ),
50366
50410
  ),
50411
+ ("trace_mode", sgqlc.types.Arg(Boolean, graphql_name="traceMode", default=False)),
50412
+ (
50413
+ "trace_ids",
50414
+ sgqlc.types.Arg(
50415
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50416
+ graphql_name="traceIds",
50417
+ default=None,
50418
+ ),
50419
+ ),
50367
50420
  )
50368
50421
  ),
50369
50422
  )
@@ -50373,6 +50426,9 @@ class Query(sgqlc.types.Type):
50373
50426
 
50374
50427
  * `mcon` (`String!`): MCON of the table with agent observability
50375
50428
  traces
50429
+ * `trace_mode` (`Boolean`): Consider all the spans (not only the
50430
+ recent ones), and sort them by start date. (default: `false`)
50431
+ * `trace_ids` (`[String!]`): Filter by specific trace IDs
50376
50432
  """
50377
50433
 
50378
50434
  get_agent_span_sample = sgqlc.types.Field(
@@ -50412,7 +50468,9 @@ class Query(sgqlc.types.Type):
50412
50468
  "evaluation_mode",
50413
50469
  sgqlc.types.Arg(Boolean, graphql_name="evaluationMode", default=False),
50414
50470
  ),
50471
+ ("trace_mode", sgqlc.types.Arg(Boolean, graphql_name="traceMode", default=False)),
50415
50472
  ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=10)),
50473
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=0)),
50416
50474
  (
50417
50475
  "span_ids",
50418
50476
  sgqlc.types.Arg(
@@ -50421,6 +50479,14 @@ class Query(sgqlc.types.Type):
50421
50479
  default=None,
50422
50480
  ),
50423
50481
  ),
50482
+ (
50483
+ "trace_ids",
50484
+ sgqlc.types.Arg(
50485
+ sgqlc.types.list_of(sgqlc.types.non_null(String)),
50486
+ graphql_name="traceIds",
50487
+ default=None,
50488
+ ),
50489
+ ),
50424
50490
  ("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
50425
50491
  )
50426
50492
  ),
@@ -50439,10 +50505,17 @@ class Query(sgqlc.types.Type):
50439
50505
  * `transforms` (`[TransformInput!]`): Transforms to apply to the
50440
50506
  data source
50441
50507
  * `evaluation_mode` (`Boolean`): Return evaluation test columns
50442
- only (prompts, completions, span_id) (default: `false`)
50508
+ only (prompts, completions, span_id, transform outputs)
50509
+ (default: `false`)
50510
+ * `trace_mode` (`Boolean`): Consider all the spans (not only the
50511
+ recent ones), and sort them by start date. (default: `false`)
50443
50512
  * `limit` (`Int`): Number of sample rows to return (max 100)
50444
50513
  (default: `10`)
50514
+ * `offset` (`Int`): Number of rows to skip before returning
50515
+ results (default: `0`)
50445
50516
  * `span_ids` (`[String!]`): Filter by specific span IDs (<= limit)
50517
+ * `trace_ids` (`[String!]`): Filter by specific trace IDs (<=
50518
+ limit)
50446
50519
  * `connection_id` (`UUID`): Connection UUID
50447
50520
  """
50448
50521
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.179
3
+ Version: 0.10.181
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=0rhZO_eyzl7L8c0P1Uz0JLR2HSDkV6XplUfVrPEmswQ,6277372
39
- pycarlo/lib/schema.py,sha256=NEX-738yIFGg9g87s0Bp3Nld9VAGU3oeDWuw62orFlc,2728867
40
- pycarlo-0.10.179.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.179.dist-info/METADATA,sha256=ND_qVFEj7X2qfTJPC5Np5BkEDhmRaiLLcTHMxrf3CB0,8742
42
- pycarlo-0.10.179.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.179.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.179.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=ZZTR7Lc_2V38NKzI89l4xv1YvxCrB6H5z5KjYnMl4sY,6282136
39
+ pycarlo/lib/schema.py,sha256=Fn4Zzwnr_teN_lT-vZApxtIXxJqCFGW197f6QWzBFFk,2731720
40
+ pycarlo-0.10.181.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.181.dist-info/METADATA,sha256=o7ZsZe4P_cJeCJ2I9U_7Tji25UMPLqh2LZKOAYnXhqY,8742
42
+ pycarlo-0.10.181.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.181.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.181.dist-info/RECORD,,