pycarlo 0.10.214__tar.gz → 0.10.216__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.214 → pycarlo-0.10.216}/PKG-INFO +1 -1
  2. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/lib/schema.json +70 -0
  3. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/lib/schema.py +36 -0
  4. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.214 → pycarlo-0.10.216}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.214 → pycarlo-0.10.216}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.214 → pycarlo-0.10.216}/.coveragerc +0 -0
  8. {pycarlo-0.10.214 → pycarlo-0.10.216}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.214 → pycarlo-0.10.216}/.gitignore +0 -0
  10. {pycarlo-0.10.214 → pycarlo-0.10.216}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.214 → pycarlo-0.10.216}/LICENSE +0 -0
  12. {pycarlo-0.10.214 → pycarlo-0.10.216}/Makefile +0 -0
  13. {pycarlo-0.10.214 → pycarlo-0.10.216}/README.md +0 -0
  14. {pycarlo-0.10.214 → pycarlo-0.10.216}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.214 → pycarlo-0.10.216}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.214 → pycarlo-0.10.216}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.214 → pycarlo-0.10.216}/pyproject.toml +0 -0
  58. {pycarlo-0.10.214 → pycarlo-0.10.216}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.214 → pycarlo-0.10.216}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.214 → pycarlo-0.10.216}/requirements.txt +0 -0
  61. {pycarlo-0.10.214 → pycarlo-0.10.216}/setup.cfg +0 -0
  62. {pycarlo-0.10.214 → pycarlo-0.10.216}/setup.py +0 -0
  63. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.214 → pycarlo-0.10.216}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.214 → pycarlo-0.10.216}/utils/env.sh +0 -0
  90. {pycarlo-0.10.214 → pycarlo-0.10.216}/utils/generate.py +0 -0
  91. {pycarlo-0.10.214 → pycarlo-0.10.216}/utils/sample.env +0 -0
  92. {pycarlo-0.10.214 → pycarlo-0.10.216}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.214 → pycarlo-0.10.216}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.214
3
+ Version: 0.10.216
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -11105,6 +11105,36 @@
11105
11105
  "name": "DateTime",
11106
11106
  "ofType": null
11107
11107
  }
11108
+ },
11109
+ {
11110
+ "defaultValue": null,
11111
+ "description": "Metric to set maintenance period for. Deprecated: Use time_series_uuid instead",
11112
+ "name": "metric",
11113
+ "type": {
11114
+ "kind": "SCALAR",
11115
+ "name": "String",
11116
+ "ofType": null
11117
+ }
11118
+ },
11119
+ {
11120
+ "defaultValue": null,
11121
+ "description": "Field to set maintenance period for. Deprecated: Use time_series_uuid instead",
11122
+ "name": "field",
11123
+ "type": {
11124
+ "kind": "SCALAR",
11125
+ "name": "String",
11126
+ "ofType": null
11127
+ }
11128
+ },
11129
+ {
11130
+ "defaultValue": null,
11131
+ "description": "Where condition to set maintenance period for. Deprecated: Use time_series_uuid instead",
11132
+ "name": "whereCondition",
11133
+ "type": {
11134
+ "kind": "SCALAR",
11135
+ "name": "String",
11136
+ "ofType": null
11137
+ }
11108
11138
  }
11109
11139
  ],
11110
11140
  "deprecationReason": null,
@@ -163453,6 +163483,16 @@
163453
163483
  "ofType": null
163454
163484
  }
163455
163485
  },
163486
+ {
163487
+ "defaultValue": null,
163488
+ "description": "Field to set maintenance period for. If set, the maintenance windows will only apply to the given field. Used for Monitor related windows only. Deprecated: Use time_series_uuid instead",
163489
+ "name": "field",
163490
+ "type": {
163491
+ "kind": "SCALAR",
163492
+ "name": "String",
163493
+ "ofType": null
163494
+ }
163495
+ },
163456
163496
  {
163457
163497
  "defaultValue": null,
163458
163498
  "description": "ID of existing data maintenance entry for updating",
@@ -163483,6 +163523,16 @@
163483
163523
  "ofType": null
163484
163524
  }
163485
163525
  },
163526
+ {
163527
+ "defaultValue": null,
163528
+ "description": "Metric to set maintenance period for. If set, the maintenance windows will only apply to the given metric. Used for Monitor related windows only. Deprecated: Use time_series_uuid instead",
163529
+ "name": "metric",
163530
+ "type": {
163531
+ "kind": "SCALAR",
163532
+ "name": "String",
163533
+ "ofType": null
163534
+ }
163535
+ },
163486
163536
  {
163487
163537
  "defaultValue": null,
163488
163538
  "description": "Monitor ID to set maintenance period for. If set, the maintenance windows will only apply to the given monitor.",
@@ -163542,6 +163592,16 @@
163542
163592
  "name": "UUID",
163543
163593
  "ofType": null
163544
163594
  }
163595
+ },
163596
+ {
163597
+ "defaultValue": null,
163598
+ "description": "Where condition to set maintenance period for. If set, the maintenance windows will only apply to the given where condition. Used for Monitor related windows only. Deprecated: Use time_series_uuid instead",
163599
+ "name": "whereCondition",
163600
+ "type": {
163601
+ "kind": "SCALAR",
163602
+ "name": "String",
163603
+ "ofType": null
163604
+ }
163545
163605
  }
163546
163606
  ],
163547
163607
  "deprecationReason": null,
@@ -172219,6 +172279,16 @@
172219
172279
  }
172220
172280
  }
172221
172281
  },
172282
+ {
172283
+ "defaultValue": null,
172284
+ "description": "Integration type for direct routing (optional).",
172285
+ "name": "integrationType",
172286
+ "type": {
172287
+ "kind": "SCALAR",
172288
+ "name": "String",
172289
+ "ofType": null
172290
+ }
172291
+ },
172222
172292
  {
172223
172293
  "defaultValue": null,
172224
172294
  "description": "Desired name.",
@@ -33915,6 +33915,7 @@ class Mutation(sgqlc.types.Type):
33915
33915
  ("dataset", sgqlc.types.Arg(String, graphql_name="dataset", default=None)),
33916
33916
  ("dw_id", sgqlc.types.Arg(UUID, graphql_name="dwId", default=None)),
33917
33917
  ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
33918
+ ("field", sgqlc.types.Arg(String, graphql_name="field", default=None)),
33918
33919
  ("id", sgqlc.types.Arg(Int, graphql_name="id", default=None)),
33919
33920
  (
33920
33921
  "maintenance_type",
@@ -33923,6 +33924,7 @@ class Mutation(sgqlc.types.Type):
33923
33924
  ),
33924
33925
  ),
33925
33926
  ("mcon", sgqlc.types.Arg(String, graphql_name="mcon", default=None)),
33927
+ ("metric", sgqlc.types.Arg(String, graphql_name="metric", default=None)),
33926
33928
  ("monitor_id", sgqlc.types.Arg(UUID, graphql_name="monitorId", default=None)),
33927
33929
  ("project", sgqlc.types.Arg(String, graphql_name="project", default=None)),
33928
33930
  ("reason", sgqlc.types.Arg(String, graphql_name="reason", default=None)),
@@ -33937,6 +33939,10 @@ class Mutation(sgqlc.types.Type):
33937
33939
  "time_series_uuid",
33938
33940
  sgqlc.types.Arg(UUID, graphql_name="timeSeriesUuid", default=None),
33939
33941
  ),
33942
+ (
33943
+ "where_condition",
33944
+ sgqlc.types.Arg(String, graphql_name="whereCondition", default=None),
33945
+ ),
33940
33946
  )
33941
33947
  ),
33942
33948
  )
@@ -33951,6 +33957,10 @@ class Mutation(sgqlc.types.Type):
33951
33957
  given
33952
33958
  * `end_time` (`DateTime`): Start period of data maintenance. If
33953
33959
  not set, all future data will be ignored until updated
33960
+ * `field` (`String`): Field to set maintenance period for. If set,
33961
+ the maintenance windows will only apply to the given field. Used
33962
+ for Monitor related windows only. Deprecated: Use
33963
+ time_series_uuid instead
33954
33964
  * `id` (`Int`): ID of existing data maintenance entry for updating
33955
33965
  * `maintenance_type` (`DataMaintenanceMetric`): If not set, all
33956
33966
  metrics for the object will be ignored
@@ -33959,6 +33969,10 @@ class Mutation(sgqlc.types.Type):
33959
33969
  'project', 'dataset' or any table type. Setting any type other
33960
33970
  than a table type will set the maintenance window for all
33961
33971
  matching tables.
33972
+ * `metric` (`String`): Metric to set maintenance period for. If
33973
+ set, the maintenance windows will only apply to the given
33974
+ metric. Used for Monitor related windows only. Deprecated: Use
33975
+ time_series_uuid instead
33962
33976
  * `monitor_id` (`UUID`): Monitor ID to set maintenance period for.
33963
33977
  If set, the maintenance windows will only apply to the given
33964
33978
  monitor.
@@ -33973,6 +33987,10 @@ class Mutation(sgqlc.types.Type):
33973
33987
  * `time_series_uuid` (`UUID`): Time series UUID to set maintenance
33974
33988
  period for. If set, the maintenance windows will only apply to
33975
33989
  the given time series. Used for Monitor related windows only.
33990
+ * `where_condition` (`String`): Where condition to set maintenance
33991
+ period for. If set, the maintenance windows will only apply to
33992
+ the given where condition. Used for Monitor related windows
33993
+ only. Deprecated: Use time_series_uuid instead
33976
33994
  """
33977
33995
 
33978
33996
  create_data_maintenance_window_from_holidays = sgqlc.types.Field(
@@ -39167,6 +39185,10 @@ class Mutation(sgqlc.types.Type):
39167
39185
  sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
39168
39186
  ),
39169
39187
  ),
39188
+ (
39189
+ "integration_type",
39190
+ sgqlc.types.Arg(String, graphql_name="integrationType", default=None),
39191
+ ),
39170
39192
  (
39171
39193
  "name",
39172
39194
  sgqlc.types.Arg(
@@ -39181,6 +39203,8 @@ class Mutation(sgqlc.types.Type):
39181
39203
  Arguments:
39182
39204
 
39183
39205
  * `integration_id` (`UUID!`): UUID of the integration to update.
39206
+ * `integration_type` (`String`): Integration type for direct
39207
+ routing (optional).
39184
39208
  * `name` (`String!`): Desired name.
39185
39209
  """
39186
39210
 
@@ -51459,6 +51483,12 @@ class Query(sgqlc.types.Type):
51459
51483
  ),
51460
51484
  ("start_time", sgqlc.types.Arg(DateTime, graphql_name="startTime", default=None)),
51461
51485
  ("end_time", sgqlc.types.Arg(DateTime, graphql_name="endTime", default=None)),
51486
+ ("metric", sgqlc.types.Arg(String, graphql_name="metric", default=None)),
51487
+ ("field", sgqlc.types.Arg(String, graphql_name="field", default=None)),
51488
+ (
51489
+ "where_condition",
51490
+ sgqlc.types.Arg(String, graphql_name="whereCondition", default=None),
51491
+ ),
51462
51492
  )
51463
51493
  ),
51464
51494
  )
@@ -51471,6 +51501,12 @@ class Query(sgqlc.types.Type):
51471
51501
  time series UUID
51472
51502
  * `start_time` (`DateTime`): Start time of maintenance period
51473
51503
  * `end_time` (`DateTime`): End time of maintenance period
51504
+ * `metric` (`String`): Metric to set maintenance period for.
51505
+ Deprecated: Use time_series_uuid instead
51506
+ * `field` (`String`): Field to set maintenance period for.
51507
+ Deprecated: Use time_series_uuid instead
51508
+ * `where_condition` (`String`): Where condition to set maintenance
51509
+ period for. Deprecated: Use time_series_uuid instead
51474
51510
  """
51475
51511
 
51476
51512
  get_data_maintenance_entries_by_mcon = sgqlc.types.Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.214
3
+ Version: 0.10.216
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