pycarlo 0.10.179__tar.gz → 0.10.180__tar.gz

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.

Files changed (93) hide show
  1. {pycarlo-0.10.179 → pycarlo-0.10.180}/PKG-INFO +1 -1
  2. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/lib/schema.json +74 -4
  3. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/lib/schema.py +34 -3
  4. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.179 → pycarlo-0.10.180}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.179 → pycarlo-0.10.180}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.179 → pycarlo-0.10.180}/.coveragerc +0 -0
  8. {pycarlo-0.10.179 → pycarlo-0.10.180}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.179 → pycarlo-0.10.180}/.gitignore +0 -0
  10. {pycarlo-0.10.179 → pycarlo-0.10.180}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.179 → pycarlo-0.10.180}/LICENSE +0 -0
  12. {pycarlo-0.10.179 → pycarlo-0.10.180}/Makefile +0 -0
  13. {pycarlo-0.10.179 → pycarlo-0.10.180}/README.md +0 -0
  14. {pycarlo-0.10.179 → pycarlo-0.10.180}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.179 → pycarlo-0.10.180}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.179 → pycarlo-0.10.180}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.179 → pycarlo-0.10.180}/pyproject.toml +0 -0
  58. {pycarlo-0.10.179 → pycarlo-0.10.180}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.179 → pycarlo-0.10.180}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.179 → pycarlo-0.10.180}/requirements.txt +0 -0
  61. {pycarlo-0.10.179 → pycarlo-0.10.180}/setup.cfg +0 -0
  62. {pycarlo-0.10.179 → pycarlo-0.10.180}/setup.py +0 -0
  63. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.179 → pycarlo-0.10.180}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.179 → pycarlo-0.10.180}/utils/env.sh +0 -0
  90. {pycarlo-0.10.179 → pycarlo-0.10.180}/utils/generate.py +0 -0
  91. {pycarlo-0.10.179 → pycarlo-0.10.180}/utils/sample.env +0 -0
  92. {pycarlo-0.10.179 → pycarlo-0.10.180}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.179 → pycarlo-0.10.180}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.179
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
@@ -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
  {
@@ -36377,7 +36377,9 @@ class Mutation(sgqlc.types.Type):
36377
36377
  (
36378
36378
  "sampling_config",
36379
36379
  sgqlc.types.Arg(
36380
- MonitorSamplingConfigInput, graphql_name="samplingConfig", default=None
36380
+ sgqlc.types.non_null(MonitorSamplingConfigInput),
36381
+ graphql_name="samplingConfig",
36382
+ default=None,
36381
36383
  ),
36382
36384
  ),
36383
36385
  (
@@ -36448,7 +36450,7 @@ class Mutation(sgqlc.types.Type):
36448
36450
  `""`)
36449
36451
  * `priority` (`String`): The default priority for alerts involving
36450
36452
  this monitor
36451
- * `sampling_config` (`MonitorSamplingConfigInput`): Sampling
36453
+ * `sampling_config` (`MonitorSamplingConfigInput!`): Sampling
36452
36454
  configuration: either percentage or fixed count
36453
36455
  * `schedule_config` (`ScheduleConfigInput!`): Schedule of monitor
36454
36456
  * `segment_count_hint` (`Int`): Segment count when then monitor
@@ -50364,6 +50366,15 @@ class Query(sgqlc.types.Type):
50364
50366
  sgqlc.types.non_null(String), graphql_name="mcon", default=None
50365
50367
  ),
50366
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
+ ),
50367
50378
  )
50368
50379
  ),
50369
50380
  )
@@ -50373,6 +50384,9 @@ class Query(sgqlc.types.Type):
50373
50384
 
50374
50385
  * `mcon` (`String!`): MCON of the table with agent observability
50375
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
50376
50390
  """
50377
50391
 
50378
50392
  get_agent_span_sample = sgqlc.types.Field(
@@ -50412,7 +50426,9 @@ class Query(sgqlc.types.Type):
50412
50426
  "evaluation_mode",
50413
50427
  sgqlc.types.Arg(Boolean, graphql_name="evaluationMode", default=False),
50414
50428
  ),
50429
+ ("trace_mode", sgqlc.types.Arg(Boolean, graphql_name="traceMode", default=False)),
50415
50430
  ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=10)),
50431
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=0)),
50416
50432
  (
50417
50433
  "span_ids",
50418
50434
  sgqlc.types.Arg(
@@ -50421,6 +50437,14 @@ class Query(sgqlc.types.Type):
50421
50437
  default=None,
50422
50438
  ),
50423
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
+ ),
50424
50448
  ("connection_id", sgqlc.types.Arg(UUID, graphql_name="connectionId", default=None)),
50425
50449
  )
50426
50450
  ),
@@ -50439,10 +50463,17 @@ class Query(sgqlc.types.Type):
50439
50463
  * `transforms` (`[TransformInput!]`): Transforms to apply to the
50440
50464
  data source
50441
50465
  * `evaluation_mode` (`Boolean`): Return evaluation test columns
50442
- 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`)
50443
50470
  * `limit` (`Int`): Number of sample rows to return (max 100)
50444
50471
  (default: `10`)
50472
+ * `offset` (`Int`): Number of rows to skip before returning
50473
+ results (default: `0`)
50445
50474
  * `span_ids` (`[String!]`): Filter by specific span IDs (<= limit)
50475
+ * `trace_ids` (`[String!]`): Filter by specific trace IDs (<=
50476
+ limit)
50446
50477
  * `connection_id` (`UUID`): Connection UUID
50447
50478
  """
50448
50479
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.179
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes