pycarlo 0.10.84__tar.gz → 0.10.86__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.84 → pycarlo-0.10.86}/PKG-INFO +1 -1
  2. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/lib/schema.json +103 -3
  3. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/lib/schema.py +54 -3
  4. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.84 → pycarlo-0.10.86}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.84 → pycarlo-0.10.86}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.84 → pycarlo-0.10.86}/.coveragerc +0 -0
  8. {pycarlo-0.10.84 → pycarlo-0.10.86}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.84 → pycarlo-0.10.86}/.gitignore +0 -0
  10. {pycarlo-0.10.84 → pycarlo-0.10.86}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.84 → pycarlo-0.10.86}/LICENSE +0 -0
  12. {pycarlo-0.10.84 → pycarlo-0.10.86}/Makefile +0 -0
  13. {pycarlo-0.10.84 → pycarlo-0.10.86}/README.md +0 -0
  14. {pycarlo-0.10.84 → pycarlo-0.10.86}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.84 → pycarlo-0.10.86}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.84 → pycarlo-0.10.86}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.84 → pycarlo-0.10.86}/pyproject.toml +0 -0
  58. {pycarlo-0.10.84 → pycarlo-0.10.86}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.84 → pycarlo-0.10.86}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.84 → pycarlo-0.10.86}/requirements.txt +0 -0
  61. {pycarlo-0.10.84 → pycarlo-0.10.86}/setup.cfg +0 -0
  62. {pycarlo-0.10.84 → pycarlo-0.10.86}/setup.py +0 -0
  63. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.84 → pycarlo-0.10.86}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.84 → pycarlo-0.10.86}/utils/env.sh +0 -0
  90. {pycarlo-0.10.84 → pycarlo-0.10.86}/utils/generate.py +0 -0
  91. {pycarlo-0.10.84 → pycarlo-0.10.86}/utils/sample.env +0 -0
  92. {pycarlo-0.10.84 → pycarlo-0.10.86}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.84 → pycarlo-0.10.86}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.84
3
+ Version: 0.10.86
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -1069,6 +1069,61 @@
1069
1069
  "ofType": null
1070
1070
  }
1071
1071
  },
1072
+ {
1073
+ "args": [
1074
+ {
1075
+ "defaultValue": null,
1076
+ "description": "Datadog site (e.g. datadoghq.com)",
1077
+ "name": "site",
1078
+ "type": {
1079
+ "kind": "NON_NULL",
1080
+ "name": null,
1081
+ "ofType": {
1082
+ "kind": "SCALAR",
1083
+ "name": "String",
1084
+ "ofType": null
1085
+ }
1086
+ }
1087
+ },
1088
+ {
1089
+ "defaultValue": null,
1090
+ "description": "Datadog API key",
1091
+ "name": "apiKey",
1092
+ "type": {
1093
+ "kind": "NON_NULL",
1094
+ "name": null,
1095
+ "ofType": {
1096
+ "kind": "SCALAR",
1097
+ "name": "String",
1098
+ "ofType": null
1099
+ }
1100
+ }
1101
+ },
1102
+ {
1103
+ "defaultValue": null,
1104
+ "description": "Datadog Application key",
1105
+ "name": "applicationKey",
1106
+ "type": {
1107
+ "kind": "NON_NULL",
1108
+ "name": null,
1109
+ "ofType": {
1110
+ "kind": "SCALAR",
1111
+ "name": "String",
1112
+ "ofType": null
1113
+ }
1114
+ }
1115
+ }
1116
+ ],
1117
+ "deprecationReason": null,
1118
+ "description": "(experimental) Test the Datadog connection credentials",
1119
+ "isDeprecated": false,
1120
+ "name": "testDatadogCredentials",
1121
+ "type": {
1122
+ "kind": "OBJECT",
1123
+ "name": "TestDatadogCredentialsOutput",
1124
+ "ofType": null
1125
+ }
1126
+ },
1072
1127
  {
1073
1128
  "args": [
1074
1129
  {
@@ -33734,6 +33789,33 @@
33734
33789
  "name": "MonitorConfigurationStatus",
33735
33790
  "possibleTypes": null
33736
33791
  },
33792
+ {
33793
+ "description": null,
33794
+ "enumValues": null,
33795
+ "fields": [
33796
+ {
33797
+ "args": [],
33798
+ "deprecationReason": null,
33799
+ "description": null,
33800
+ "isDeprecated": false,
33801
+ "name": "validCredentials",
33802
+ "type": {
33803
+ "kind": "NON_NULL",
33804
+ "name": null,
33805
+ "ofType": {
33806
+ "kind": "SCALAR",
33807
+ "name": "Boolean",
33808
+ "ofType": null
33809
+ }
33810
+ }
33811
+ }
33812
+ ],
33813
+ "inputFields": null,
33814
+ "interfaces": [],
33815
+ "kind": "OBJECT",
33816
+ "name": "TestDatadogCredentialsOutput",
33817
+ "possibleTypes": null
33818
+ },
33737
33819
  {
33738
33820
  "description": "A Datadog integration",
33739
33821
  "enumValues": null,
@@ -49340,6 +49422,12 @@
49340
49422
  "description": "Incidentio",
49341
49423
  "isDeprecated": false,
49342
49424
  "name": "INCIDENTIO"
49425
+ },
49426
+ {
49427
+ "deprecationReason": null,
49428
+ "description": "Datadog",
49429
+ "isDeprecated": false,
49430
+ "name": "DATADOG"
49343
49431
  }
49344
49432
  ],
49345
49433
  "fields": null,
@@ -59926,6 +60014,18 @@
59926
60014
  "name": "Boolean",
59927
60015
  "ofType": null
59928
60016
  }
60017
+ },
60018
+ {
60019
+ "args": [],
60020
+ "deprecationReason": null,
60021
+ "description": "Human-readable description of the event",
60022
+ "isDeprecated": false,
60023
+ "name": "description",
60024
+ "type": {
60025
+ "kind": "SCALAR",
60026
+ "name": "String",
60027
+ "ofType": null
60028
+ }
59929
60029
  }
59930
60030
  ],
59931
60031
  "inputFields": null,
@@ -150205,7 +150305,7 @@
150205
150305
  },
150206
150306
  {
150207
150307
  "defaultValue": null,
150208
- "description": "Specify the notification integration to use. Supported options include: email, opsgenie, pagerduty, slack, slack_v2, webhook, msteams, msteams_v2, alation, servicenow, jira, webex, incidentio",
150308
+ "description": "Specify the notification integration to use. Supported options include: email, opsgenie, pagerduty, slack, slack_v2, webhook, msteams, msteams_v2, alation, servicenow, jira, webex, incidentio, datadog",
150209
150309
  "name": "notificationType",
150210
150310
  "type": {
150211
150311
  "kind": "NON_NULL",
@@ -150484,7 +150584,7 @@
150484
150584
  },
150485
150585
  {
150486
150586
  "defaultValue": null,
150487
- "description": "Specify the notification integration to use. Supported options include: email, opsgenie, pagerduty, slack, slack_v2, google_chat, webhook, msteams, msteams_v2, alation, servicenow, jira, webex, incidentio",
150587
+ "description": "Specify the notification integration to use. Supported options include: email, opsgenie, pagerduty, slack, slack_v2, google_chat, webhook, msteams, msteams_v2, alation, servicenow, jira, webex, incidentio, datadog",
150488
150588
  "name": "notificationType",
150489
150589
  "type": {
150490
150590
  "kind": "NON_NULL",
@@ -175678,7 +175778,7 @@
175678
175778
  },
175679
175779
  {
175680
175780
  "defaultValue": null,
175681
- "description": "Specify the notification integration to use. Supported options include: email, opsgenie, pagerduty, slack, slack_v2, google_chat, webhook, msteams, msteams_v2, alation, servicenow, jira, webex, incidentio",
175781
+ "description": "Specify the notification integration to use. Supported options include: email, opsgenie, pagerduty, slack, slack_v2, google_chat, webhook, msteams, msteams_v2, alation, servicenow, jira, webex, incidentio, datadog",
175682
175782
  "name": "notificationType",
175683
175783
  "type": {
175684
175784
  "kind": "NON_NULL",
@@ -67,6 +67,7 @@ class AccountNotificationSettingsModelType(sgqlc.types.Enum):
67
67
  """Enumeration Choices:
68
68
 
69
69
  * `ALATION`: Alation
70
+ * `DATADOG`: Datadog
70
71
  * `EMAIL`: Email
71
72
  * `GOOGLE_CHAT`: Google Chat
72
73
  * `INCIDENTIO`: Incidentio
@@ -85,6 +86,7 @@ class AccountNotificationSettingsModelType(sgqlc.types.Enum):
85
86
  __schema__ = schema
86
87
  __choices__ = (
87
88
  "ALATION",
89
+ "DATADOG",
88
90
  "EMAIL",
89
91
  "GOOGLE_CHAT",
90
92
  "INCIDENTIO",
@@ -5937,7 +5939,7 @@ class AudienceNotificationSettingInput(sgqlc.types.Input):
5937
5939
  """Specify the notification integration to use. Supported options
5938
5940
  include: email, opsgenie, pagerduty, slack, slack_v2, google_chat,
5939
5941
  webhook, msteams, msteams_v2, alation, servicenow, jira, webex,
5940
- incidentio
5942
+ incidentio, datadog
5941
5943
  """
5942
5944
 
5943
5945
  extra = sgqlc.types.Field("NotificationExtra", graphql_name="extra")
@@ -30051,7 +30053,7 @@ class Mutation(sgqlc.types.Type):
30051
30053
  * `notification_type` (`String!`): Specify the notification
30052
30054
  integration to use. Supported options include: email, opsgenie,
30053
30055
  pagerduty, slack, slack_v2, webhook, msteams, msteams_v2,
30054
- alation, servicenow, jira, webex, incidentio
30056
+ alation, servicenow, jira, webex, incidentio, datadog
30055
30057
  * `recipient` (`String`): Deprecated
30056
30058
  * `recipients` (`[String]`): Destination to send notifications to
30057
30059
  * `rules` (`NotificationRoutingRules`): Routing rules
@@ -30222,7 +30224,8 @@ class Mutation(sgqlc.types.Type):
30222
30224
  * `notification_type` (`String!`): Specify the notification
30223
30225
  integration to use. Supported options include: email, opsgenie,
30224
30226
  pagerduty, slack, slack_v2, google_chat, webhook, msteams,
30225
- msteams_v2, alation, servicenow, jira, webex, incidentio
30227
+ msteams_v2, alation, servicenow, jira, webex, incidentio,
30228
+ datadog
30226
30229
  * `recipients` (`[String]!`): Destination to send notifications to
30227
30230
  * `recipients_display_names` (`[String]`): Display names for the
30228
30231
  recipients. If this input parameter is provided, it should
@@ -42513,6 +42516,7 @@ class Query(sgqlc.types.Type):
42513
42516
  "get_table_monitor_validation_statuses",
42514
42517
  "get_table_monitor_configuration",
42515
42518
  "get_default_monitor_configuration",
42519
+ "test_datadog_credentials",
42516
42520
  "get_datadog_integrations",
42517
42521
  "get_billing_credit_grants",
42518
42522
  "get_contract_commits",
@@ -43518,6 +43522,41 @@ class Query(sgqlc.types.Type):
43518
43522
  * `mcon` (`String!`)None
43519
43523
  """
43520
43524
 
43525
+ test_datadog_credentials = sgqlc.types.Field(
43526
+ "TestDatadogCredentialsOutput",
43527
+ graphql_name="testDatadogCredentials",
43528
+ args=sgqlc.types.ArgDict(
43529
+ (
43530
+ (
43531
+ "site",
43532
+ sgqlc.types.Arg(
43533
+ sgqlc.types.non_null(String), graphql_name="site", default=None
43534
+ ),
43535
+ ),
43536
+ (
43537
+ "api_key",
43538
+ sgqlc.types.Arg(
43539
+ sgqlc.types.non_null(String), graphql_name="apiKey", default=None
43540
+ ),
43541
+ ),
43542
+ (
43543
+ "application_key",
43544
+ sgqlc.types.Arg(
43545
+ sgqlc.types.non_null(String), graphql_name="applicationKey", default=None
43546
+ ),
43547
+ ),
43548
+ )
43549
+ ),
43550
+ )
43551
+ """(experimental) Test the Datadog connection credentials
43552
+
43553
+ Arguments:
43554
+
43555
+ * `site` (`String!`): Datadog site (e.g. datadoghq.com)
43556
+ * `api_key` (`String!`): Datadog API key
43557
+ * `application_key` (`String!`): Datadog Application key
43558
+ """
43559
+
43521
43560
  get_datadog_integrations = sgqlc.types.Field(
43522
43561
  sgqlc.types.list_of(DatadogIntegrationOutput),
43523
43562
  graphql_name="getDatadogIntegrations",
@@ -62352,6 +62391,14 @@ class TestDatabricksSqlWarehouseCredentialsV2(sgqlc.types.Type):
62352
62391
  """Result of the validation."""
62353
62392
 
62354
62393
 
62394
+ class TestDatadogCredentialsOutput(sgqlc.types.Type):
62395
+ __schema__ = schema
62396
+ __field_names__ = ("valid_credentials",)
62397
+ valid_credentials = sgqlc.types.Field(
62398
+ sgqlc.types.non_null(Boolean), graphql_name="validCredentials"
62399
+ )
62400
+
62401
+
62355
62402
  class TestDbtCloudCredentials(sgqlc.types.Type):
62356
62403
  """Test a dbt Cloud connection"""
62357
62404
 
@@ -70202,6 +70249,7 @@ class Event(sgqlc.types.Type, Node):
70202
70249
  "mc_sql",
70203
70250
  "source_sql",
70204
70251
  "is_merged",
70252
+ "description",
70205
70253
  )
70206
70254
  event_type = sgqlc.types.Field(
70207
70255
  sgqlc.types.non_null(EventModelEventType), graphql_name="eventType"
@@ -70334,6 +70382,9 @@ class Event(sgqlc.types.Type, Node):
70334
70382
  merged into the alert currently associated to this event.
70335
70383
  """
70336
70384
 
70385
+ description = sgqlc.types.Field(String, graphql_name="description")
70386
+ """Human-readable description of the event"""
70387
+
70337
70388
 
70338
70389
  class EventDataIncidentCommentTimeline(sgqlc.types.Type, IEventDataBaseTimeline):
70339
70390
  __schema__ = schema
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.84
3
+ Version: 0.10.86
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
File without changes
File without changes
File without changes