pycarlo 0.10.165__tar.gz → 0.10.166__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.165 → pycarlo-0.10.166}/PKG-INFO +1 -1
  2. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/lib/schema.json +155 -0
  3. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/lib/schema.py +88 -0
  4. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.165 → pycarlo-0.10.166}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.165 → pycarlo-0.10.166}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.165 → pycarlo-0.10.166}/.coveragerc +0 -0
  8. {pycarlo-0.10.165 → pycarlo-0.10.166}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.165 → pycarlo-0.10.166}/.gitignore +0 -0
  10. {pycarlo-0.10.165 → pycarlo-0.10.166}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.165 → pycarlo-0.10.166}/LICENSE +0 -0
  12. {pycarlo-0.10.165 → pycarlo-0.10.166}/Makefile +0 -0
  13. {pycarlo-0.10.165 → pycarlo-0.10.166}/README.md +0 -0
  14. {pycarlo-0.10.165 → pycarlo-0.10.166}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.165 → pycarlo-0.10.166}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.165 → pycarlo-0.10.166}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.165 → pycarlo-0.10.166}/pyproject.toml +0 -0
  58. {pycarlo-0.10.165 → pycarlo-0.10.166}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.165 → pycarlo-0.10.166}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.165 → pycarlo-0.10.166}/requirements.txt +0 -0
  61. {pycarlo-0.10.165 → pycarlo-0.10.166}/setup.cfg +0 -0
  62. {pycarlo-0.10.165 → pycarlo-0.10.166}/setup.py +0 -0
  63. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.165 → pycarlo-0.10.166}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.165 → pycarlo-0.10.166}/utils/env.sh +0 -0
  90. {pycarlo-0.10.165 → pycarlo-0.10.166}/utils/generate.py +0 -0
  91. {pycarlo-0.10.165 → pycarlo-0.10.166}/utils/sample.env +0 -0
  92. {pycarlo-0.10.165 → pycarlo-0.10.166}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.165 → pycarlo-0.10.166}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.165
3
+ Version: 0.10.166
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -172462,6 +172462,57 @@
172462
172462
  "ofType": null
172463
172463
  }
172464
172464
  },
172465
+ {
172466
+ "args": [
172467
+ {
172468
+ "defaultValue": null,
172469
+ "description": "Connection parameters.",
172470
+ "name": "connectionDetails",
172471
+ "type": {
172472
+ "kind": "NON_NULL",
172473
+ "name": null,
172474
+ "ofType": {
172475
+ "kind": "INPUT_OBJECT",
172476
+ "name": "DbtCloudConnectionDetails",
172477
+ "ofType": null
172478
+ }
172479
+ }
172480
+ },
172481
+ {
172482
+ "defaultValue": null,
172483
+ "description": "Common options for integration tests.",
172484
+ "name": "connectionOptions",
172485
+ "type": {
172486
+ "kind": "INPUT_OBJECT",
172487
+ "name": "ConnectionTestOptions",
172488
+ "ofType": null
172489
+ }
172490
+ },
172491
+ {
172492
+ "defaultValue": null,
172493
+ "description": "Name of the validation test that should be run.",
172494
+ "name": "validationName",
172495
+ "type": {
172496
+ "kind": "NON_NULL",
172497
+ "name": null,
172498
+ "ofType": {
172499
+ "kind": "SCALAR",
172500
+ "name": "String",
172501
+ "ofType": null
172502
+ }
172503
+ }
172504
+ }
172505
+ ],
172506
+ "deprecationReason": null,
172507
+ "description": "(experimental) Test dbt Cloud credentials",
172508
+ "isDeprecated": false,
172509
+ "name": "testDbtCloudCredentialsV2",
172510
+ "type": {
172511
+ "kind": "OBJECT",
172512
+ "name": "TestDbtCloudCredentialsV2",
172513
+ "ofType": null
172514
+ }
172515
+ },
172465
172516
  {
172466
172517
  "args": [
172467
172518
  {
@@ -193666,6 +193717,110 @@
193666
193717
  "name": "DecryptionServiceTypeEnum",
193667
193718
  "possibleTypes": null
193668
193719
  },
193720
+ {
193721
+ "description": "Test a dbt Cloud connection.",
193722
+ "enumValues": null,
193723
+ "fields": [
193724
+ {
193725
+ "args": [],
193726
+ "deprecationReason": null,
193727
+ "description": "Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.",
193728
+ "isDeprecated": false,
193729
+ "name": "key",
193730
+ "type": {
193731
+ "kind": "SCALAR",
193732
+ "name": "String",
193733
+ "ofType": null
193734
+ }
193735
+ },
193736
+ {
193737
+ "args": [],
193738
+ "deprecationReason": null,
193739
+ "description": "Result of the validation.",
193740
+ "isDeprecated": false,
193741
+ "name": "validationResult",
193742
+ "type": {
193743
+ "kind": "OBJECT",
193744
+ "name": "TestCredentialsV2Response",
193745
+ "ofType": null
193746
+ }
193747
+ }
193748
+ ],
193749
+ "inputFields": null,
193750
+ "interfaces": [],
193751
+ "kind": "OBJECT",
193752
+ "name": "TestDbtCloudCredentialsV2",
193753
+ "possibleTypes": null
193754
+ },
193755
+ {
193756
+ "description": null,
193757
+ "enumValues": null,
193758
+ "fields": null,
193759
+ "inputFields": [
193760
+ {
193761
+ "defaultValue": null,
193762
+ "description": "dbt Cloud API token",
193763
+ "name": "dbtCloudApiToken",
193764
+ "type": {
193765
+ "kind": "NON_NULL",
193766
+ "name": null,
193767
+ "ofType": {
193768
+ "kind": "SCALAR",
193769
+ "name": "String",
193770
+ "ofType": null
193771
+ }
193772
+ }
193773
+ },
193774
+ {
193775
+ "defaultValue": null,
193776
+ "description": "dbt Cloud account ID",
193777
+ "name": "dbtCloudAccountId",
193778
+ "type": {
193779
+ "kind": "NON_NULL",
193780
+ "name": null,
193781
+ "ofType": {
193782
+ "kind": "SCALAR",
193783
+ "name": "String",
193784
+ "ofType": null
193785
+ }
193786
+ }
193787
+ },
193788
+ {
193789
+ "defaultValue": null,
193790
+ "description": "dbt Cloud base URL",
193791
+ "name": "dbtCloudBaseUrl",
193792
+ "type": {
193793
+ "kind": "SCALAR",
193794
+ "name": "String",
193795
+ "ofType": null
193796
+ }
193797
+ },
193798
+ {
193799
+ "defaultValue": null,
193800
+ "description": "dbt Cloud webhook HMAC secret",
193801
+ "name": "dbtCloudWebhookHmacSecret",
193802
+ "type": {
193803
+ "kind": "SCALAR",
193804
+ "name": "String",
193805
+ "ofType": null
193806
+ }
193807
+ },
193808
+ {
193809
+ "defaultValue": null,
193810
+ "description": "dbt Cloud webhook ID",
193811
+ "name": "dbtCloudWebhookId",
193812
+ "type": {
193813
+ "kind": "SCALAR",
193814
+ "name": "String",
193815
+ "ofType": null
193816
+ }
193817
+ }
193818
+ ],
193819
+ "interfaces": null,
193820
+ "kind": "INPUT_OBJECT",
193821
+ "name": "DbtCloudConnectionDetails",
193822
+ "possibleTypes": null
193823
+ },
193669
193824
  {
193670
193825
  "description": "Uploads the result for a DAG run.",
193671
193826
  "enumValues": null,
@@ -6972,6 +6972,37 @@ class DbtArtifactsInput(sgqlc.types.Input):
6972
6972
  """logs file name"""
6973
6973
 
6974
6974
 
6975
+ class DbtCloudConnectionDetails(sgqlc.types.Input):
6976
+ __schema__ = schema
6977
+ __field_names__ = (
6978
+ "dbt_cloud_api_token",
6979
+ "dbt_cloud_account_id",
6980
+ "dbt_cloud_base_url",
6981
+ "dbt_cloud_webhook_hmac_secret",
6982
+ "dbt_cloud_webhook_id",
6983
+ )
6984
+ dbt_cloud_api_token = sgqlc.types.Field(
6985
+ sgqlc.types.non_null(String), graphql_name="dbtCloudApiToken"
6986
+ )
6987
+ """dbt Cloud API token"""
6988
+
6989
+ dbt_cloud_account_id = sgqlc.types.Field(
6990
+ sgqlc.types.non_null(String), graphql_name="dbtCloudAccountId"
6991
+ )
6992
+ """dbt Cloud account ID"""
6993
+
6994
+ dbt_cloud_base_url = sgqlc.types.Field(String, graphql_name="dbtCloudBaseUrl")
6995
+ """dbt Cloud base URL"""
6996
+
6997
+ dbt_cloud_webhook_hmac_secret = sgqlc.types.Field(
6998
+ String, graphql_name="dbtCloudWebhookHmacSecret"
6999
+ )
7000
+ """dbt Cloud webhook HMAC secret"""
7001
+
7002
+ dbt_cloud_webhook_id = sgqlc.types.Field(String, graphql_name="dbtCloudWebhookId")
7003
+ """dbt Cloud webhook ID"""
7004
+
7005
+
6975
7006
  class DbtCloudUpdateConnectionDetails(sgqlc.types.Input):
6976
7007
  __schema__ = schema
6977
7008
  __field_names__ = (
@@ -25458,6 +25489,7 @@ class Mutation(sgqlc.types.Type):
25458
25489
  "test_informatica_credentials",
25459
25490
  "test_azure_data_factory_credentials",
25460
25491
  "test_self_hosted_credentials_v2",
25492
+ "test_dbt_cloud_credentials_v2",
25461
25493
  "upload_airflow_dag_result",
25462
25494
  "upload_airflow_task_result",
25463
25495
  "upload_airflow_sla_misses",
@@ -41336,6 +41368,46 @@ class Mutation(sgqlc.types.Type):
41336
41368
  should be run.
41337
41369
  """
41338
41370
 
41371
+ test_dbt_cloud_credentials_v2 = sgqlc.types.Field(
41372
+ "TestDbtCloudCredentialsV2",
41373
+ graphql_name="testDbtCloudCredentialsV2",
41374
+ args=sgqlc.types.ArgDict(
41375
+ (
41376
+ (
41377
+ "connection_details",
41378
+ sgqlc.types.Arg(
41379
+ sgqlc.types.non_null(DbtCloudConnectionDetails),
41380
+ graphql_name="connectionDetails",
41381
+ default=None,
41382
+ ),
41383
+ ),
41384
+ (
41385
+ "connection_options",
41386
+ sgqlc.types.Arg(
41387
+ ConnectionTestOptions, graphql_name="connectionOptions", default=None
41388
+ ),
41389
+ ),
41390
+ (
41391
+ "validation_name",
41392
+ sgqlc.types.Arg(
41393
+ sgqlc.types.non_null(String), graphql_name="validationName", default=None
41394
+ ),
41395
+ ),
41396
+ )
41397
+ ),
41398
+ )
41399
+ """(experimental) Test dbt Cloud credentials
41400
+
41401
+ Arguments:
41402
+
41403
+ * `connection_details` (`DbtCloudConnectionDetails!`): Connection
41404
+ parameters.
41405
+ * `connection_options` (`ConnectionTestOptions`): Common options
41406
+ for integration tests.
41407
+ * `validation_name` (`String!`): Name of the validation test that
41408
+ should be run.
41409
+ """
41410
+
41339
41411
  upload_airflow_dag_result = sgqlc.types.Field(
41340
41412
  "UploadAirflowDagResult",
41341
41413
  graphql_name="uploadAirflowDagResult",
@@ -65068,6 +65140,22 @@ class TestDbtCloudCredentials(sgqlc.types.Type):
65068
65140
  """Indicates whether the operation was completed successfully"""
65069
65141
 
65070
65142
 
65143
+ class TestDbtCloudCredentialsV2(sgqlc.types.Type):
65144
+ """Test a dbt Cloud connection."""
65145
+
65146
+ __schema__ = schema
65147
+ __field_names__ = ("key", "validation_result")
65148
+ key = sgqlc.types.Field(String, graphql_name="key")
65149
+ """Path to key for adding a connection. This key is only generated
65150
+ when calling the SAVE_CREDENTIALS validation.
65151
+ """
65152
+
65153
+ validation_result = sgqlc.types.Field(
65154
+ TestCredentialsV2Response, graphql_name="validationResult"
65155
+ )
65156
+ """Result of the validation."""
65157
+
65158
+
65071
65159
  class TestFivetranCredentials(sgqlc.types.Type):
65072
65160
  """Test a Fivetran connection"""
65073
65161
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.165
3
+ Version: 0.10.166
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