pycarlo 0.10.115__tar.gz → 0.10.117__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.115 → pycarlo-0.10.117}/PKG-INFO +1 -1
  2. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/lib/schema.json +4 -122
  3. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/lib/schema.py +4 -46
  4. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.115 → pycarlo-0.10.117}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.115 → pycarlo-0.10.117}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.115 → pycarlo-0.10.117}/.coveragerc +0 -0
  8. {pycarlo-0.10.115 → pycarlo-0.10.117}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.115 → pycarlo-0.10.117}/.gitignore +0 -0
  10. {pycarlo-0.10.115 → pycarlo-0.10.117}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.115 → pycarlo-0.10.117}/LICENSE +0 -0
  12. {pycarlo-0.10.115 → pycarlo-0.10.117}/Makefile +0 -0
  13. {pycarlo-0.10.115 → pycarlo-0.10.117}/README.md +0 -0
  14. {pycarlo-0.10.115 → pycarlo-0.10.117}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.115 → pycarlo-0.10.117}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.115 → pycarlo-0.10.117}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.115 → pycarlo-0.10.117}/pyproject.toml +0 -0
  58. {pycarlo-0.10.115 → pycarlo-0.10.117}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.115 → pycarlo-0.10.117}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.115 → pycarlo-0.10.117}/requirements.txt +0 -0
  61. {pycarlo-0.10.115 → pycarlo-0.10.117}/setup.cfg +0 -0
  62. {pycarlo-0.10.115 → pycarlo-0.10.117}/setup.py +0 -0
  63. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.115 → pycarlo-0.10.117}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.115 → pycarlo-0.10.117}/utils/env.sh +0 -0
  90. {pycarlo-0.10.115 → pycarlo-0.10.117}/utils/generate.py +0 -0
  91. {pycarlo-0.10.115 → pycarlo-0.10.117}/utils/sample.env +0 -0
  92. {pycarlo-0.10.115 → pycarlo-0.10.117}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.115 → pycarlo-0.10.117}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.115
3
+ Version: 0.10.117
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -21850,16 +21850,6 @@
21850
21850
  "ofType": null
21851
21851
  }
21852
21852
  },
21853
- {
21854
- "defaultValue": null,
21855
- "description": "Filter for data older than this",
21856
- "name": "endTime",
21857
- "type": {
21858
- "kind": "SCALAR",
21859
- "name": "DateTime",
21860
- "ofType": null
21861
- }
21862
- },
21863
21853
  {
21864
21854
  "defaultValue": null,
21865
21855
  "description": "Limit results retrieved",
@@ -21903,45 +21893,11 @@
21903
21893
  },
21904
21894
  {
21905
21895
  "defaultValue": null,
21906
- "description": "The warehouse uuid the monitor is being run on",
21896
+ "description": "DEPRECATED",
21907
21897
  "name": "warehouseUuid",
21908
- "type": {
21909
- "kind": "NON_NULL",
21910
- "name": null,
21911
- "ofType": {
21912
- "kind": "SCALAR",
21913
- "name": "UUID",
21914
- "ofType": null
21915
- }
21916
- }
21917
- },
21918
- {
21919
- "defaultValue": null,
21920
- "description": "The table being monitored",
21921
- "name": "fullTableId",
21922
21898
  "type": {
21923
21899
  "kind": "SCALAR",
21924
- "name": "String",
21925
- "ofType": null
21926
- }
21927
- },
21928
- {
21929
- "defaultValue": null,
21930
- "description": "Filter for labels from this date. If not provided, use monitor creation time.",
21931
- "name": "startTime",
21932
- "type": {
21933
- "kind": "SCALAR",
21934
- "name": "DateTime",
21935
- "ofType": null
21936
- }
21937
- },
21938
- {
21939
- "defaultValue": null,
21940
- "description": "Filter for labels until and including this date",
21941
- "name": "endTime",
21942
- "type": {
21943
- "kind": "SCALAR",
21944
- "name": "DateTime",
21900
+ "name": "UUID",
21945
21901
  "ofType": null
21946
21902
  }
21947
21903
  },
@@ -22016,45 +21972,11 @@
22016
21972
  },
22017
21973
  {
22018
21974
  "defaultValue": null,
22019
- "description": "The warehouse uuid the monitor is being run on",
21975
+ "description": "DEPRECATED",
22020
21976
  "name": "warehouseUuid",
22021
- "type": {
22022
- "kind": "NON_NULL",
22023
- "name": null,
22024
- "ofType": {
22025
- "kind": "SCALAR",
22026
- "name": "UUID",
22027
- "ofType": null
22028
- }
22029
- }
22030
- },
22031
- {
22032
- "defaultValue": null,
22033
- "description": "The table being monitored",
22034
- "name": "fullTableId",
22035
21977
  "type": {
22036
21978
  "kind": "SCALAR",
22037
- "name": "String",
22038
- "ofType": null
22039
- }
22040
- },
22041
- {
22042
- "defaultValue": null,
22043
- "description": "Filter for labels from this date. If not provided, use monitor creation time.",
22044
- "name": "startTime",
22045
- "type": {
22046
- "kind": "SCALAR",
22047
- "name": "DateTime",
22048
- "ofType": null
22049
- }
22050
- },
22051
- {
22052
- "defaultValue": null,
22053
- "description": "Filter for labels until and including this date",
22054
- "name": "endTime",
22055
- "type": {
22056
- "kind": "SCALAR",
22057
- "name": "DateTime",
21979
+ "name": "UUID",
22058
21980
  "ofType": null
22059
21981
  }
22060
21982
  },
@@ -22107,26 +22029,6 @@
22107
22029
  }
22108
22030
  }
22109
22031
  },
22110
- {
22111
- "defaultValue": null,
22112
- "description": "Filter from this time. Defaults to monitor creation time.",
22113
- "name": "startTime",
22114
- "type": {
22115
- "kind": "SCALAR",
22116
- "name": "DateTime",
22117
- "ofType": null
22118
- }
22119
- },
22120
- {
22121
- "defaultValue": null,
22122
- "description": "Filter through this time. Defaults to now.",
22123
- "name": "endTime",
22124
- "type": {
22125
- "kind": "SCALAR",
22126
- "name": "DateTime",
22127
- "ofType": null
22128
- }
22129
- },
22130
22032
  {
22131
22033
  "defaultValue": null,
22132
22034
  "description": "Number of results to return. Default: 1,000. Max: 10,000.",
@@ -22192,26 +22094,6 @@
22192
22094
  }
22193
22095
  }
22194
22096
  },
22195
- {
22196
- "defaultValue": null,
22197
- "description": "Filter from this time. Defaults to monitor creation time.",
22198
- "name": "startTime",
22199
- "type": {
22200
- "kind": "SCALAR",
22201
- "name": "DateTime",
22202
- "ofType": null
22203
- }
22204
- },
22205
- {
22206
- "defaultValue": null,
22207
- "description": "Filter through this time. Defaults to now.",
22208
- "name": "endTime",
22209
- "type": {
22210
- "kind": "SCALAR",
22211
- "name": "DateTime",
22212
- "ofType": null
22213
- }
22214
- },
22215
22097
  {
22216
22098
  "defaultValue": null,
22217
22099
  "description": "Filter to segments where all terms are present in segment label",
@@ -55363,7 +55363,6 @@ class Query(sgqlc.types.Type):
55363
55363
  ),
55364
55364
  ),
55365
55365
  ("start_time", sgqlc.types.Arg(DateTime, graphql_name="startTime", default=None)),
55366
- ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
55367
55366
  ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=None)),
55368
55367
  )
55369
55368
  ),
@@ -55376,7 +55375,6 @@ class Query(sgqlc.types.Type):
55376
55375
  * `monitor_uuid` (`UUID!`): The monitor for which to fetch the
55377
55376
  labels
55378
55377
  * `start_time` (`DateTime`): Filter for data newer than this
55379
- * `end_time` (`DateTime`): Filter for data older than this
55380
55378
  * `limit` (`Int`): Limit results retrieved
55381
55379
  """
55382
55380
 
@@ -55393,16 +55391,8 @@ class Query(sgqlc.types.Type):
55393
55391
  ),
55394
55392
  (
55395
55393
  "warehouse_uuid",
55396
- sgqlc.types.Arg(
55397
- sgqlc.types.non_null(UUID), graphql_name="warehouseUuid", default=None
55398
- ),
55399
- ),
55400
- (
55401
- "full_table_id",
55402
- sgqlc.types.Arg(String, graphql_name="fullTableId", default=None),
55394
+ sgqlc.types.Arg(UUID, graphql_name="warehouseUuid", default=None),
55403
55395
  ),
55404
- ("start_time", sgqlc.types.Arg(DateTime, graphql_name="startTime", default=None)),
55405
- ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
55406
55396
  ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
55407
55397
  ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
55408
55398
  (
@@ -55421,13 +55411,7 @@ class Query(sgqlc.types.Type):
55421
55411
  Arguments:
55422
55412
 
55423
55413
  * `monitor_uuid` (`UUID!`): The monitor for which to locate labels
55424
- * `warehouse_uuid` (`UUID!`): The warehouse uuid the monitor is
55425
- being run on
55426
- * `full_table_id` (`String`): The table being monitored
55427
- * `start_time` (`DateTime`): Filter for labels from this date. If
55428
- not provided, use monitor creation time.
55429
- * `end_time` (`DateTime`): Filter for labels until and including
55430
- this date
55414
+ * `warehouse_uuid` (`UUID`): DEPRECATED
55431
55415
  * `first` (`Int`): Number of results to return (default/max:
55432
55416
  10,000)
55433
55417
  * `after` (`String`): Fetch batch of 'first' results after this
@@ -55449,16 +55433,8 @@ class Query(sgqlc.types.Type):
55449
55433
  ),
55450
55434
  (
55451
55435
  "warehouse_uuid",
55452
- sgqlc.types.Arg(
55453
- sgqlc.types.non_null(UUID), graphql_name="warehouseUuid", default=None
55454
- ),
55455
- ),
55456
- (
55457
- "full_table_id",
55458
- sgqlc.types.Arg(String, graphql_name="fullTableId", default=None),
55436
+ sgqlc.types.Arg(UUID, graphql_name="warehouseUuid", default=None),
55459
55437
  ),
55460
- ("start_time", sgqlc.types.Arg(DateTime, graphql_name="startTime", default=None)),
55461
- ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
55462
55438
  (
55463
55439
  "include_terms",
55464
55440
  sgqlc.types.Arg(
@@ -55477,13 +55453,7 @@ class Query(sgqlc.types.Type):
55477
55453
  Arguments:
55478
55454
 
55479
55455
  * `monitor_uuid` (`UUID!`): The monitor for which to locate labels
55480
- * `warehouse_uuid` (`UUID!`): The warehouse uuid the monitor is
55481
- being run on
55482
- * `full_table_id` (`String`): The table being monitored
55483
- * `start_time` (`DateTime`): Filter for labels from this date. If
55484
- not provided, use monitor creation time.
55485
- * `end_time` (`DateTime`): Filter for labels until and including
55486
- this date
55456
+ * `warehouse_uuid` (`UUID`): DEPRECATED
55487
55457
  * `include_terms` (`[String!]`): Filter to segments where all
55488
55458
  terms are present in segment fields
55489
55459
  """
@@ -55499,8 +55469,6 @@ class Query(sgqlc.types.Type):
55499
55469
  sgqlc.types.non_null(UUID), graphql_name="monitorUuid", default=None
55500
55470
  ),
55501
55471
  ),
55502
- ("start_time", sgqlc.types.Arg(DateTime, graphql_name="startTime", default=None)),
55503
- ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
55504
55472
  ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
55505
55473
  ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
55506
55474
  (
@@ -55519,10 +55487,6 @@ class Query(sgqlc.types.Type):
55519
55487
  Arguments:
55520
55488
 
55521
55489
  * `monitor_uuid` (`UUID!`): Filter to this monitor.
55522
- * `start_time` (`DateTime`): Filter from this time. Defaults to
55523
- monitor creation time.
55524
- * `end_time` (`DateTime`): Filter through this time. Defaults to
55525
- now.
55526
55490
  * `first` (`Int`): Number of results to return. Default: 1,000.
55527
55491
  Max: 10,000.
55528
55492
  * `after` (`String`): Fetch batch of 'first' results after this
@@ -55542,8 +55506,6 @@ class Query(sgqlc.types.Type):
55542
55506
  sgqlc.types.non_null(UUID), graphql_name="monitorUuid", default=None
55543
55507
  ),
55544
55508
  ),
55545
- ("start_time", sgqlc.types.Arg(DateTime, graphql_name="startTime", default=None)),
55546
- ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
55547
55509
  (
55548
55510
  "include_terms",
55549
55511
  sgqlc.types.Arg(
@@ -55560,10 +55522,6 @@ class Query(sgqlc.types.Type):
55560
55522
  Arguments:
55561
55523
 
55562
55524
  * `monitor_uuid` (`UUID!`): Filter to this monitor.
55563
- * `start_time` (`DateTime`): Filter from this time. Defaults to
55564
- monitor creation time.
55565
- * `end_time` (`DateTime`): Filter through this time. Defaults to
55566
- now.
55567
55525
  * `include_terms` (`[String!]`): Filter to segments where all
55568
55526
  terms are present in segment label
55569
55527
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.115
3
+ Version: 0.10.117
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