pycarlo 0.10.140__tar.gz → 0.10.142__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.140 → pycarlo-0.10.142}/PKG-INFO +1 -1
  2. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/lib/schema.json +385 -66
  3. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/lib/schema.py +167 -29
  4. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.140 → pycarlo-0.10.142}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.140 → pycarlo-0.10.142}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.140 → pycarlo-0.10.142}/.coveragerc +0 -0
  8. {pycarlo-0.10.140 → pycarlo-0.10.142}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.140 → pycarlo-0.10.142}/.gitignore +0 -0
  10. {pycarlo-0.10.140 → pycarlo-0.10.142}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.140 → pycarlo-0.10.142}/LICENSE +0 -0
  12. {pycarlo-0.10.140 → pycarlo-0.10.142}/Makefile +0 -0
  13. {pycarlo-0.10.140 → pycarlo-0.10.142}/README.md +0 -0
  14. {pycarlo-0.10.140 → pycarlo-0.10.142}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.140 → pycarlo-0.10.142}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.140 → pycarlo-0.10.142}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.140 → pycarlo-0.10.142}/pyproject.toml +0 -0
  58. {pycarlo-0.10.140 → pycarlo-0.10.142}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.140 → pycarlo-0.10.142}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.140 → pycarlo-0.10.142}/requirements.txt +0 -0
  61. {pycarlo-0.10.140 → pycarlo-0.10.142}/setup.cfg +0 -0
  62. {pycarlo-0.10.140 → pycarlo-0.10.142}/setup.py +0 -0
  63. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.140 → pycarlo-0.10.142}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.140 → pycarlo-0.10.142}/utils/env.sh +0 -0
  90. {pycarlo-0.10.140 → pycarlo-0.10.142}/utils/generate.py +0 -0
  91. {pycarlo-0.10.140 → pycarlo-0.10.142}/utils/sample.env +0 -0
  92. {pycarlo-0.10.140 → pycarlo-0.10.142}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.140 → pycarlo-0.10.142}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.140
3
+ Version: 0.10.142
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -151638,6 +151638,33 @@
151638
151638
  "ofType": null
151639
151639
  }
151640
151640
  },
151641
+ {
151642
+ "args": [
151643
+ {
151644
+ "defaultValue": null,
151645
+ "description": "Data share configuration",
151646
+ "name": "input",
151647
+ "type": {
151648
+ "kind": "NON_NULL",
151649
+ "name": null,
151650
+ "ofType": {
151651
+ "kind": "INPUT_OBJECT",
151652
+ "name": "UpdateDataShareInput",
151653
+ "ofType": null
151654
+ }
151655
+ }
151656
+ }
151657
+ ],
151658
+ "deprecationReason": null,
151659
+ "description": "(general availability) Update data sharing configuration for an account",
151660
+ "isDeprecated": false,
151661
+ "name": "updateDataShare",
151662
+ "type": {
151663
+ "kind": "OBJECT",
151664
+ "name": "UpdateDataShare",
151665
+ "ofType": null
151666
+ }
151667
+ },
151641
151668
  {
151642
151669
  "args": [
151643
151670
  {
@@ -155661,6 +155688,33 @@
155661
155688
  "ofType": null
155662
155689
  }
155663
155690
  },
155691
+ {
155692
+ "args": [
155693
+ {
155694
+ "defaultValue": null,
155695
+ "description": "Monitor UUID to run",
155696
+ "name": "monitorUuid",
155697
+ "type": {
155698
+ "kind": "NON_NULL",
155699
+ "name": null,
155700
+ "ofType": {
155701
+ "kind": "SCALAR",
155702
+ "name": "UUID",
155703
+ "ofType": null
155704
+ }
155705
+ }
155706
+ }
155707
+ ],
155708
+ "deprecationReason": null,
155709
+ "description": "(experimental) Run a monitor manually",
155710
+ "isDeprecated": false,
155711
+ "name": "runMonitor",
155712
+ "type": {
155713
+ "kind": "OBJECT",
155714
+ "name": "RunMonitor",
155715
+ "ofType": null
155716
+ }
155717
+ },
155664
155718
  {
155665
155719
  "args": [
155666
155720
  {
@@ -159026,6 +159080,49 @@
159026
159080
  "ofType": null
159027
159081
  }
159028
159082
  },
159083
+ {
159084
+ "args": [
159085
+ {
159086
+ "defaultValue": null,
159087
+ "description": "String to completely or partially match the rule SQL, case-insensitive",
159088
+ "name": "customSqlContains",
159089
+ "type": {
159090
+ "kind": "SCALAR",
159091
+ "name": "String",
159092
+ "ofType": null
159093
+ }
159094
+ },
159095
+ {
159096
+ "defaultValue": null,
159097
+ "description": "String to completely or partially match the rule description, case-insensitive",
159098
+ "name": "descriptionContains",
159099
+ "type": {
159100
+ "kind": "SCALAR",
159101
+ "name": "String",
159102
+ "ofType": null
159103
+ }
159104
+ },
159105
+ {
159106
+ "defaultValue": null,
159107
+ "description": "Rule id",
159108
+ "name": "ruleId",
159109
+ "type": {
159110
+ "kind": "SCALAR",
159111
+ "name": "UUID",
159112
+ "ofType": null
159113
+ }
159114
+ }
159115
+ ],
159116
+ "deprecationReason": "Use RunSqlRule instead",
159117
+ "description": "Run a custom rule immediately",
159118
+ "isDeprecated": true,
159119
+ "name": "triggerCustomRule",
159120
+ "type": {
159121
+ "kind": "OBJECT",
159122
+ "name": "TriggerCustomRule",
159123
+ "ofType": null
159124
+ }
159125
+ },
159029
159126
  {
159030
159127
  "args": [
159031
159128
  {
@@ -160473,49 +160570,6 @@
160473
160570
  "ofType": null
160474
160571
  }
160475
160572
  },
160476
- {
160477
- "args": [
160478
- {
160479
- "defaultValue": null,
160480
- "description": "String to completely or partially match the rule SQL, case-insensitive",
160481
- "name": "customSqlContains",
160482
- "type": {
160483
- "kind": "SCALAR",
160484
- "name": "String",
160485
- "ofType": null
160486
- }
160487
- },
160488
- {
160489
- "defaultValue": null,
160490
- "description": "String to completely or partially match the rule description, case-insensitive",
160491
- "name": "descriptionContains",
160492
- "type": {
160493
- "kind": "SCALAR",
160494
- "name": "String",
160495
- "ofType": null
160496
- }
160497
- },
160498
- {
160499
- "defaultValue": null,
160500
- "description": "Rule id",
160501
- "name": "ruleId",
160502
- "type": {
160503
- "kind": "SCALAR",
160504
- "name": "UUID",
160505
- "ofType": null
160506
- }
160507
- }
160508
- ],
160509
- "deprecationReason": null,
160510
- "description": "Run a custom rule immediately",
160511
- "isDeprecated": false,
160512
- "name": "triggerCustomRule",
160513
- "type": {
160514
- "kind": "OBJECT",
160515
- "name": "TriggerCustomRule",
160516
- "ofType": null
160517
- }
160518
- },
160519
160573
  {
160520
160574
  "args": [
160521
160575
  {
@@ -177488,6 +177542,244 @@
177488
177542
  "name": "AzureDevopsSourceSelectionInput",
177489
177543
  "possibleTypes": null
177490
177544
  },
177545
+ {
177546
+ "description": "Update data sharing configuration for an account. This allows Customer Success team to enable/disable data sharing without requiring data engineering intervention.",
177547
+ "enumValues": null,
177548
+ "fields": [
177549
+ {
177550
+ "args": [],
177551
+ "deprecationReason": null,
177552
+ "description": "Result of the data share update operation",
177553
+ "isDeprecated": false,
177554
+ "name": "result",
177555
+ "type": {
177556
+ "kind": "OBJECT",
177557
+ "name": "UpdateDataShareOutput",
177558
+ "ofType": null
177559
+ }
177560
+ }
177561
+ ],
177562
+ "inputFields": null,
177563
+ "interfaces": [],
177564
+ "kind": "OBJECT",
177565
+ "name": "UpdateDataShare",
177566
+ "possibleTypes": null
177567
+ },
177568
+ {
177569
+ "description": "Result of updating data share configuration",
177570
+ "enumValues": null,
177571
+ "fields": [
177572
+ {
177573
+ "args": [],
177574
+ "deprecationReason": null,
177575
+ "description": "Whether the operation was successful",
177576
+ "isDeprecated": false,
177577
+ "name": "success",
177578
+ "type": {
177579
+ "kind": "SCALAR",
177580
+ "name": "Boolean",
177581
+ "ofType": null
177582
+ }
177583
+ },
177584
+ {
177585
+ "args": [],
177586
+ "deprecationReason": null,
177587
+ "description": "Updated data share configuration (null if disabled)",
177588
+ "isDeprecated": false,
177589
+ "name": "dataShare",
177590
+ "type": {
177591
+ "kind": "OBJECT",
177592
+ "name": "DataShareOutput",
177593
+ "ofType": null
177594
+ }
177595
+ },
177596
+ {
177597
+ "args": [],
177598
+ "deprecationReason": null,
177599
+ "description": "Success or error message",
177600
+ "isDeprecated": false,
177601
+ "name": "message",
177602
+ "type": {
177603
+ "kind": "SCALAR",
177604
+ "name": "String",
177605
+ "ofType": null
177606
+ }
177607
+ }
177608
+ ],
177609
+ "inputFields": null,
177610
+ "interfaces": [],
177611
+ "kind": "OBJECT",
177612
+ "name": "UpdateDataShareOutput",
177613
+ "possibleTypes": null
177614
+ },
177615
+ {
177616
+ "description": "Data share configuration details",
177617
+ "enumValues": null,
177618
+ "fields": [
177619
+ {
177620
+ "args": [],
177621
+ "deprecationReason": null,
177622
+ "description": "Type of data share (e.g., 'snowflake')",
177623
+ "isDeprecated": false,
177624
+ "name": "type",
177625
+ "type": {
177626
+ "kind": "SCALAR",
177627
+ "name": "String",
177628
+ "ofType": null
177629
+ }
177630
+ },
177631
+ {
177632
+ "args": [],
177633
+ "deprecationReason": null,
177634
+ "description": "Data share account identifier",
177635
+ "isDeprecated": false,
177636
+ "name": "account",
177637
+ "type": {
177638
+ "kind": "SCALAR",
177639
+ "name": "String",
177640
+ "ofType": null
177641
+ }
177642
+ },
177643
+ {
177644
+ "args": [],
177645
+ "deprecationReason": null,
177646
+ "description": "Data share region",
177647
+ "isDeprecated": false,
177648
+ "name": "region",
177649
+ "type": {
177650
+ "kind": "SCALAR",
177651
+ "name": "String",
177652
+ "ofType": null
177653
+ }
177654
+ }
177655
+ ],
177656
+ "inputFields": null,
177657
+ "interfaces": [],
177658
+ "kind": "OBJECT",
177659
+ "name": "DataShareOutput",
177660
+ "possibleTypes": null
177661
+ },
177662
+ {
177663
+ "description": "Input for updating Snowflake data share configuration",
177664
+ "enumValues": null,
177665
+ "fields": null,
177666
+ "inputFields": [
177667
+ {
177668
+ "defaultValue": null,
177669
+ "description": "Whether to enable data sharing",
177670
+ "name": "enabled",
177671
+ "type": {
177672
+ "kind": "NON_NULL",
177673
+ "name": null,
177674
+ "ofType": {
177675
+ "kind": "SCALAR",
177676
+ "name": "Boolean",
177677
+ "ofType": null
177678
+ }
177679
+ }
177680
+ },
177681
+ {
177682
+ "defaultValue": null,
177683
+ "description": "UUID of the account to update",
177684
+ "name": "accountId",
177685
+ "type": {
177686
+ "kind": "NON_NULL",
177687
+ "name": null,
177688
+ "ofType": {
177689
+ "kind": "SCALAR",
177690
+ "name": "UUID",
177691
+ "ofType": null
177692
+ }
177693
+ }
177694
+ },
177695
+ {
177696
+ "defaultValue": null,
177697
+ "description": "Name of the account (validation)",
177698
+ "name": "accountName",
177699
+ "type": {
177700
+ "kind": "NON_NULL",
177701
+ "name": null,
177702
+ "ofType": {
177703
+ "kind": "SCALAR",
177704
+ "name": "String",
177705
+ "ofType": null
177706
+ }
177707
+ }
177708
+ },
177709
+ {
177710
+ "defaultValue": null,
177711
+ "description": "Input data share attributes",
177712
+ "name": "dataShare",
177713
+ "type": {
177714
+ "kind": "INPUT_OBJECT",
177715
+ "name": "DataShareInput",
177716
+ "ofType": null
177717
+ }
177718
+ }
177719
+ ],
177720
+ "interfaces": null,
177721
+ "kind": "INPUT_OBJECT",
177722
+ "name": "UpdateDataShareInput",
177723
+ "possibleTypes": null
177724
+ },
177725
+ {
177726
+ "description": null,
177727
+ "enumValues": null,
177728
+ "fields": null,
177729
+ "inputFields": [
177730
+ {
177731
+ "defaultValue": "\"snowflake\"",
177732
+ "description": "Type of data share (default: 'snowflake')",
177733
+ "name": "type",
177734
+ "type": {
177735
+ "kind": "ENUM",
177736
+ "name": "DataShareType",
177737
+ "ofType": null
177738
+ }
177739
+ },
177740
+ {
177741
+ "defaultValue": null,
177742
+ "description": "Data share account identifier (optional if account has only one)",
177743
+ "name": "account",
177744
+ "type": {
177745
+ "kind": "SCALAR",
177746
+ "name": "String",
177747
+ "ofType": null
177748
+ }
177749
+ },
177750
+ {
177751
+ "defaultValue": null,
177752
+ "description": "Data share region (optional if account has only one)",
177753
+ "name": "region",
177754
+ "type": {
177755
+ "kind": "SCALAR",
177756
+ "name": "String",
177757
+ "ofType": null
177758
+ }
177759
+ }
177760
+ ],
177761
+ "interfaces": null,
177762
+ "kind": "INPUT_OBJECT",
177763
+ "name": "DataShareInput",
177764
+ "possibleTypes": null
177765
+ },
177766
+ {
177767
+ "description": null,
177768
+ "enumValues": [
177769
+ {
177770
+ "deprecationReason": null,
177771
+ "description": null,
177772
+ "isDeprecated": false,
177773
+ "name": "SNOWFLAKE"
177774
+ }
177775
+ ],
177776
+ "fields": null,
177777
+ "inputFields": null,
177778
+ "interfaces": null,
177779
+ "kind": "ENUM",
177780
+ "name": "DataShareType",
177781
+ "possibleTypes": null
177782
+ },
177491
177783
  {
177492
177784
  "description": "Test a confluent Kafka cluster credentials.",
177493
177785
  "enumValues": null,
@@ -180855,6 +181147,33 @@
180855
181147
  "name": "UpdateMonitorLabels",
180856
181148
  "possibleTypes": null
180857
181149
  },
181150
+ {
181151
+ "description": "Run a monitor manually",
181152
+ "enumValues": null,
181153
+ "fields": [
181154
+ {
181155
+ "args": [],
181156
+ "deprecationReason": null,
181157
+ "description": null,
181158
+ "isDeprecated": false,
181159
+ "name": "success",
181160
+ "type": {
181161
+ "kind": "NON_NULL",
181162
+ "name": null,
181163
+ "ofType": {
181164
+ "kind": "SCALAR",
181165
+ "name": "Boolean",
181166
+ "ofType": null
181167
+ }
181168
+ }
181169
+ }
181170
+ ],
181171
+ "inputFields": null,
181172
+ "interfaces": [],
181173
+ "kind": "OBJECT",
181174
+ "name": "RunMonitor",
181175
+ "possibleTypes": null
181176
+ },
180858
181177
  {
180859
181178
  "description": null,
180860
181179
  "enumValues": null,
@@ -182558,6 +182877,29 @@
182558
182877
  "name": "TriggerCircuitBreakerRule",
182559
182878
  "possibleTypes": null
182560
182879
  },
182880
+ {
182881
+ "description": "Run a custom rule immediately",
182882
+ "enumValues": null,
182883
+ "fields": [
182884
+ {
182885
+ "args": [],
182886
+ "deprecationReason": null,
182887
+ "description": null,
182888
+ "isDeprecated": false,
182889
+ "name": "customRule",
182890
+ "type": {
182891
+ "kind": "OBJECT",
182892
+ "name": "CustomRule",
182893
+ "ofType": null
182894
+ }
182895
+ }
182896
+ ],
182897
+ "inputFields": null,
182898
+ "interfaces": [],
182899
+ "kind": "OBJECT",
182900
+ "name": "TriggerCustomRule",
182901
+ "possibleTypes": null
182902
+ },
182561
182903
  {
182562
182904
  "description": "Create or update a Volume Rule",
182563
182905
  "enumValues": null,
@@ -183057,29 +183399,6 @@
183057
183399
  "name": "RestoreCustomRule",
183058
183400
  "possibleTypes": null
183059
183401
  },
183060
- {
183061
- "description": "Run a custom rule immediately",
183062
- "enumValues": null,
183063
- "fields": [
183064
- {
183065
- "args": [],
183066
- "deprecationReason": null,
183067
- "description": null,
183068
- "isDeprecated": false,
183069
- "name": "customRule",
183070
- "type": {
183071
- "kind": "OBJECT",
183072
- "name": "CustomRule",
183073
- "ofType": null
183074
- }
183075
- }
183076
- ],
183077
- "inputFields": null,
183078
- "interfaces": [],
183079
- "kind": "OBJECT",
183080
- "name": "TriggerCustomRule",
183081
- "possibleTypes": null
183082
- },
183083
183402
  {
183084
183403
  "description": "Run a custom rule as a circuit breaker immediately. Supports rules that create multiple queries.",
183085
183404
  "enumValues": null,
@@ -1600,6 +1600,16 @@ class DataProductMetric(sgqlc.types.Enum):
1600
1600
  )
1601
1601
 
1602
1602
 
1603
+ class DataShareType(sgqlc.types.Enum):
1604
+ """Enumeration Choices:
1605
+
1606
+ * `SNOWFLAKE`None
1607
+ """
1608
+
1609
+ __schema__ = schema
1610
+ __choices__ = ("SNOWFLAKE",)
1611
+
1612
+
1603
1613
  class DataSourceType(sgqlc.types.Enum):
1604
1614
  """Enumeration Choices:
1605
1615
 
@@ -6726,6 +6736,19 @@ class DataProfilerWidgetDataInput(sgqlc.types.Input):
6726
6736
  """Widget configuration"""
6727
6737
 
6728
6738
 
6739
+ class DataShareInput(sgqlc.types.Input):
6740
+ __schema__ = schema
6741
+ __field_names__ = ("type", "account", "region")
6742
+ type = sgqlc.types.Field(DataShareType, graphql_name="type")
6743
+ """Type of data share (default: 'snowflake')"""
6744
+
6745
+ account = sgqlc.types.Field(String, graphql_name="account")
6746
+ """Data share account identifier (optional if account has only one)"""
6747
+
6748
+ region = sgqlc.types.Field(String, graphql_name="region")
6749
+ """Data share region (optional if account has only one)"""
6750
+
6751
+
6729
6752
  class DataSourceSchemaInput(sgqlc.types.Input):
6730
6753
  __schema__ = schema
6731
6754
  __field_names__ = ("fields",)
@@ -9925,6 +9948,24 @@ class UCSExplicitAlertConditionInput(sgqlc.types.Input):
9925
9948
  """Explicit freshness threshold in minutes"""
9926
9949
 
9927
9950
 
9951
+ class UpdateDataShareInput(sgqlc.types.Input):
9952
+ """Input for updating Snowflake data share configuration"""
9953
+
9954
+ __schema__ = schema
9955
+ __field_names__ = ("enabled", "account_id", "account_name", "data_share")
9956
+ enabled = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="enabled")
9957
+ """Whether to enable data sharing"""
9958
+
9959
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="accountId")
9960
+ """UUID of the account to update"""
9961
+
9962
+ account_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="accountName")
9963
+ """Name of the account (validation)"""
9964
+
9965
+ data_share = sgqlc.types.Field(DataShareInput, graphql_name="dataShare")
9966
+ """Input data share attributes"""
9967
+
9968
+
9928
9969
  class UpdateUserStateInput(sgqlc.types.Input):
9929
9970
  __schema__ = schema
9930
9971
  __field_names__ = ("state", "client_mutation_id")
@@ -17616,6 +17657,21 @@ class DataResponseType(sgqlc.types.Type):
17616
17657
  """Provides metadata that describes how response is structured."""
17617
17658
 
17618
17659
 
17660
+ class DataShareOutput(sgqlc.types.Type):
17661
+ """Data share configuration details"""
17662
+
17663
+ __schema__ = schema
17664
+ __field_names__ = ("type", "account", "region")
17665
+ type = sgqlc.types.Field(String, graphql_name="type")
17666
+ """Type of data share (e.g., 'snowflake')"""
17667
+
17668
+ account = sgqlc.types.Field(String, graphql_name="account")
17669
+ """Data share account identifier"""
17670
+
17671
+ region = sgqlc.types.Field(String, graphql_name="region")
17672
+ """Data share region"""
17673
+
17674
+
17619
17675
  class DataSourceEvaluationResult(sgqlc.types.Type):
17620
17676
  __schema__ = schema
17621
17677
  __field_names__ = (
@@ -24876,6 +24932,7 @@ class Mutation(sgqlc.types.Type):
24876
24932
  "link_azure_devops_installation",
24877
24933
  "delete_azure_devops_installation",
24878
24934
  "set_azure_devops_source_selections",
24935
+ "update_data_share",
24879
24936
  "test_confluent_kafka_credentials",
24880
24937
  "test_confluent_kafka_connect_credentials",
24881
24938
  "test_msk_kafka_credentials",
@@ -24941,6 +24998,7 @@ class Mutation(sgqlc.types.Type):
24941
24998
  "update_monitor_description",
24942
24999
  "update_monitor_notes",
24943
25000
  "update_monitor_labels",
25001
+ "run_monitor",
24944
25002
  "update_monitors_priorities",
24945
25003
  "update_monitors_schedules",
24946
25004
  "pause_monitors",
@@ -24990,6 +25048,7 @@ class Mutation(sgqlc.types.Type):
24990
25048
  "update_custom_metric_rule_notes",
24991
25049
  "update_custom_metric_severity",
24992
25050
  "trigger_circuit_breaker_rule",
25051
+ "trigger_custom_rule",
24993
25052
  "create_or_update_volume_rule",
24994
25053
  "create_or_update_custom_sql_rule",
24995
25054
  "create_or_update_comparison_rule",
@@ -25001,7 +25060,6 @@ class Mutation(sgqlc.types.Type):
25001
25060
  "unsnooze_custom_rules",
25002
25061
  "delete_custom_rule",
25003
25062
  "restore_custom_rule",
25004
- "trigger_custom_rule",
25005
25063
  "trigger_circuit_breaker_rule_v2",
25006
25064
  "run_sql_rule",
25007
25065
  "run_custom_rules",
@@ -28609,6 +28667,30 @@ class Mutation(sgqlc.types.Type):
28609
28667
  * `selections` (`[AzureDevopsSourceSelectionInput]`)None
28610
28668
  """
28611
28669
 
28670
+ update_data_share = sgqlc.types.Field(
28671
+ "UpdateDataShare",
28672
+ graphql_name="updateDataShare",
28673
+ args=sgqlc.types.ArgDict(
28674
+ (
28675
+ (
28676
+ "input",
28677
+ sgqlc.types.Arg(
28678
+ sgqlc.types.non_null(UpdateDataShareInput),
28679
+ graphql_name="input",
28680
+ default=None,
28681
+ ),
28682
+ ),
28683
+ )
28684
+ ),
28685
+ )
28686
+ """(general availability) Update data sharing configuration for an
28687
+ account
28688
+
28689
+ Arguments:
28690
+
28691
+ * `input` (`UpdateDataShareInput!`): Data share configuration
28692
+ """
28693
+
28612
28694
  test_confluent_kafka_credentials = sgqlc.types.Field(
28613
28695
  "TestConfluentKafkaCredentials",
28614
28696
  graphql_name="testConfluentKafkaCredentials",
@@ -31244,6 +31326,27 @@ class Mutation(sgqlc.types.Type):
31244
31326
  rule
31245
31327
  """
31246
31328
 
31329
+ run_monitor = sgqlc.types.Field(
31330
+ "RunMonitor",
31331
+ graphql_name="runMonitor",
31332
+ args=sgqlc.types.ArgDict(
31333
+ (
31334
+ (
31335
+ "monitor_uuid",
31336
+ sgqlc.types.Arg(
31337
+ sgqlc.types.non_null(UUID), graphql_name="monitorUuid", default=None
31338
+ ),
31339
+ ),
31340
+ )
31341
+ ),
31342
+ )
31343
+ """(experimental) Run a monitor manually
31344
+
31345
+ Arguments:
31346
+
31347
+ * `monitor_uuid` (`UUID!`): Monitor UUID to run
31348
+ """
31349
+
31247
31350
  update_monitors_priorities = sgqlc.types.Field(
31248
31351
  "UpdateMonitorsPriorities",
31249
31352
  graphql_name="updateMonitorsPriorities",
@@ -33307,6 +33410,34 @@ class Mutation(sgqlc.types.Type):
33307
33410
  * `rule_uuid` (`UUID`): Rule UUID
33308
33411
  """
33309
33412
 
33413
+ trigger_custom_rule = sgqlc.types.Field(
33414
+ "TriggerCustomRule",
33415
+ graphql_name="triggerCustomRule",
33416
+ args=sgqlc.types.ArgDict(
33417
+ (
33418
+ (
33419
+ "custom_sql_contains",
33420
+ sgqlc.types.Arg(String, graphql_name="customSqlContains", default=None),
33421
+ ),
33422
+ (
33423
+ "description_contains",
33424
+ sgqlc.types.Arg(String, graphql_name="descriptionContains", default=None),
33425
+ ),
33426
+ ("rule_id", sgqlc.types.Arg(UUID, graphql_name="ruleId", default=None)),
33427
+ )
33428
+ ),
33429
+ )
33430
+ """Run a custom rule immediately
33431
+
33432
+ Arguments:
33433
+
33434
+ * `custom_sql_contains` (`String`): String to completely or
33435
+ partially match the rule SQL, case-insensitive
33436
+ * `description_contains` (`String`): String to completely or
33437
+ partially match the rule description, case-insensitive
33438
+ * `rule_id` (`UUID`): Rule id
33439
+ """
33440
+
33310
33441
  create_or_update_volume_rule = sgqlc.types.Field(
33311
33442
  CreateOrUpdateVolumeRule,
33312
33443
  graphql_name="createOrUpdateVolumeRule",
@@ -34114,34 +34245,6 @@ class Mutation(sgqlc.types.Type):
34114
34245
  * `warehouse_uuid` (`UUID`): Deprecated
34115
34246
  """
34116
34247
 
34117
- trigger_custom_rule = sgqlc.types.Field(
34118
- "TriggerCustomRule",
34119
- graphql_name="triggerCustomRule",
34120
- args=sgqlc.types.ArgDict(
34121
- (
34122
- (
34123
- "custom_sql_contains",
34124
- sgqlc.types.Arg(String, graphql_name="customSqlContains", default=None),
34125
- ),
34126
- (
34127
- "description_contains",
34128
- sgqlc.types.Arg(String, graphql_name="descriptionContains", default=None),
34129
- ),
34130
- ("rule_id", sgqlc.types.Arg(UUID, graphql_name="ruleId", default=None)),
34131
- )
34132
- ),
34133
- )
34134
- """Run a custom rule immediately
34135
-
34136
- Arguments:
34137
-
34138
- * `custom_sql_contains` (`String`): String to completely or
34139
- partially match the rule SQL, case-insensitive
34140
- * `description_contains` (`String`): String to completely or
34141
- partially match the rule description, case-insensitive
34142
- * `rule_id` (`UUID`): Rule id
34143
- """
34144
-
34145
34248
  trigger_circuit_breaker_rule_v2 = sgqlc.types.Field(
34146
34249
  "TriggerCircuitBreakerRuleV2",
34147
34250
  graphql_name="triggerCircuitBreakerRuleV2",
@@ -61060,6 +61163,14 @@ class RunDailyCount(sgqlc.types.Type):
61060
61163
  """The run count"""
61061
61164
 
61062
61165
 
61166
+ class RunMonitor(sgqlc.types.Type):
61167
+ """Run a monitor manually"""
61168
+
61169
+ __schema__ = schema
61170
+ __field_names__ = ("success",)
61171
+ success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="success")
61172
+
61173
+
61063
61174
  class RunMonitors(sgqlc.types.Type):
61064
61175
  __schema__ = schema
61065
61176
  __field_names__ = ("success",)
@@ -65939,6 +66050,33 @@ class UpdateDataProductSharing(sgqlc.types.Type):
65939
66050
  """Status of the sharing operation."""
65940
66051
 
65941
66052
 
66053
+ class UpdateDataShare(sgqlc.types.Type):
66054
+ """Update data sharing configuration for an account. This allows
66055
+ Customer Success team to enable/disable data sharing without
66056
+ requiring data engineering intervention.
66057
+ """
66058
+
66059
+ __schema__ = schema
66060
+ __field_names__ = ("result",)
66061
+ result = sgqlc.types.Field("UpdateDataShareOutput", graphql_name="result")
66062
+ """Result of the data share update operation"""
66063
+
66064
+
66065
+ class UpdateDataShareOutput(sgqlc.types.Type):
66066
+ """Result of updating data share configuration"""
66067
+
66068
+ __schema__ = schema
66069
+ __field_names__ = ("success", "data_share", "message")
66070
+ success = sgqlc.types.Field(Boolean, graphql_name="success")
66071
+ """Whether the operation was successful"""
66072
+
66073
+ data_share = sgqlc.types.Field(DataShareOutput, graphql_name="dataShare")
66074
+ """Updated data share configuration (null if disabled)"""
66075
+
66076
+ message = sgqlc.types.Field(String, graphql_name="message")
66077
+ """Success or error message"""
66078
+
66079
+
65942
66080
  class UpdateDatabricksMetastoreCredentialsV2Mutation(sgqlc.types.Type):
65943
66081
  """Update credentials for an existing Databricks Metastore
65944
66082
  connection. Note: This mutation only uploads credentials and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.140
3
+ Version: 0.10.142
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