pycarlo 0.10.85__tar.gz → 0.10.87__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.85 → pycarlo-0.10.87}/PKG-INFO +1 -1
  2. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/lib/schema.json +101 -3
  3. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/lib/schema.py +56 -3
  4. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.85 → pycarlo-0.10.87}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.85 → pycarlo-0.10.87}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.85 → pycarlo-0.10.87}/.coveragerc +0 -0
  8. {pycarlo-0.10.85 → pycarlo-0.10.87}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.85 → pycarlo-0.10.87}/.gitignore +0 -0
  10. {pycarlo-0.10.85 → pycarlo-0.10.87}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.85 → pycarlo-0.10.87}/LICENSE +0 -0
  12. {pycarlo-0.10.85 → pycarlo-0.10.87}/Makefile +0 -0
  13. {pycarlo-0.10.85 → pycarlo-0.10.87}/README.md +0 -0
  14. {pycarlo-0.10.85 → pycarlo-0.10.87}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.85 → pycarlo-0.10.87}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.85 → pycarlo-0.10.87}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.85 → pycarlo-0.10.87}/pyproject.toml +0 -0
  58. {pycarlo-0.10.85 → pycarlo-0.10.87}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.85 → pycarlo-0.10.87}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.85 → pycarlo-0.10.87}/requirements.txt +0 -0
  61. {pycarlo-0.10.85 → pycarlo-0.10.87}/setup.cfg +0 -0
  62. {pycarlo-0.10.85 → pycarlo-0.10.87}/setup.py +0 -0
  63. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.85 → pycarlo-0.10.87}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.85 → pycarlo-0.10.87}/utils/env.sh +0 -0
  90. {pycarlo-0.10.85 → pycarlo-0.10.87}/utils/generate.py +0 -0
  91. {pycarlo-0.10.85 → pycarlo-0.10.87}/utils/sample.env +0 -0
  92. {pycarlo-0.10.85 → pycarlo-0.10.87}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.85 → pycarlo-0.10.87}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.85
3
+ Version: 0.10.87
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
  {
@@ -19504,6 +19559,16 @@
19504
19559
  "ofType": null
19505
19560
  }
19506
19561
  }
19562
+ },
19563
+ {
19564
+ "defaultValue": null,
19565
+ "description": "Order results by project, dataset, everything else.",
19566
+ "name": "orderByTableComponent",
19567
+ "type": {
19568
+ "kind": "SCALAR",
19569
+ "name": "Boolean",
19570
+ "ofType": null
19571
+ }
19507
19572
  }
19508
19573
  ],
19509
19574
  "deprecationReason": null,
@@ -33734,6 +33799,33 @@
33734
33799
  "name": "MonitorConfigurationStatus",
33735
33800
  "possibleTypes": null
33736
33801
  },
33802
+ {
33803
+ "description": null,
33804
+ "enumValues": null,
33805
+ "fields": [
33806
+ {
33807
+ "args": [],
33808
+ "deprecationReason": null,
33809
+ "description": null,
33810
+ "isDeprecated": false,
33811
+ "name": "validCredentials",
33812
+ "type": {
33813
+ "kind": "NON_NULL",
33814
+ "name": null,
33815
+ "ofType": {
33816
+ "kind": "SCALAR",
33817
+ "name": "Boolean",
33818
+ "ofType": null
33819
+ }
33820
+ }
33821
+ }
33822
+ ],
33823
+ "inputFields": null,
33824
+ "interfaces": [],
33825
+ "kind": "OBJECT",
33826
+ "name": "TestDatadogCredentialsOutput",
33827
+ "possibleTypes": null
33828
+ },
33737
33829
  {
33738
33830
  "description": "A Datadog integration",
33739
33831
  "enumValues": null,
@@ -49340,6 +49432,12 @@
49340
49432
  "description": "Incidentio",
49341
49433
  "isDeprecated": false,
49342
49434
  "name": "INCIDENTIO"
49435
+ },
49436
+ {
49437
+ "deprecationReason": null,
49438
+ "description": "Datadog",
49439
+ "isDeprecated": false,
49440
+ "name": "DATADOG"
49343
49441
  }
49344
49442
  ],
49345
49443
  "fields": null,
@@ -150217,7 +150315,7 @@
150217
150315
  },
150218
150316
  {
150219
150317
  "defaultValue": null,
150220
- "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",
150318
+ "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",
150221
150319
  "name": "notificationType",
150222
150320
  "type": {
150223
150321
  "kind": "NON_NULL",
@@ -150496,7 +150594,7 @@
150496
150594
  },
150497
150595
  {
150498
150596
  "defaultValue": null,
150499
- "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",
150597
+ "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",
150500
150598
  "name": "notificationType",
150501
150599
  "type": {
150502
150600
  "kind": "NON_NULL",
@@ -175690,7 +175788,7 @@
175690
175788
  },
175691
175789
  {
175692
175790
  "defaultValue": null,
175693
- "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",
175791
+ "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",
175694
175792
  "name": "notificationType",
175695
175793
  "type": {
175696
175794
  "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",
@@ -53465,6 +53504,10 @@ class Query(sgqlc.types.Type):
53465
53504
  sgqlc.types.list_of(String), graphql_name="biTypes", default=None
53466
53505
  ),
53467
53506
  ),
53507
+ (
53508
+ "order_by_table_component",
53509
+ sgqlc.types.Arg(Boolean, graphql_name="orderByTableComponent", default=None),
53510
+ ),
53468
53511
  )
53469
53512
  ),
53470
53513
  )
@@ -53508,6 +53551,8 @@ class Query(sgqlc.types.Type):
53508
53551
  * `warehouse_types` (`[String]`): Filter by warehouse types
53509
53552
  * `etl_types` (`[String]`): Filter by ETL types
53510
53553
  * `bi_types` (`[String]`): Filter by BI types
53554
+ * `order_by_table_component` (`Boolean`): Order results by
53555
+ project, dataset, everything else.
53511
53556
  """
53512
53557
 
53513
53558
  search_tables_for_dynamic_schedule = sgqlc.types.Field(
@@ -62352,6 +62397,14 @@ class TestDatabricksSqlWarehouseCredentialsV2(sgqlc.types.Type):
62352
62397
  """Result of the validation."""
62353
62398
 
62354
62399
 
62400
+ class TestDatadogCredentialsOutput(sgqlc.types.Type):
62401
+ __schema__ = schema
62402
+ __field_names__ = ("valid_credentials",)
62403
+ valid_credentials = sgqlc.types.Field(
62404
+ sgqlc.types.non_null(Boolean), graphql_name="validCredentials"
62405
+ )
62406
+
62407
+
62355
62408
  class TestDbtCloudCredentials(sgqlc.types.Type):
62356
62409
  """Test a dbt Cloud connection"""
62357
62410
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.85
3
+ Version: 0.10.87
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