pycarlo 0.10.144__tar.gz → 0.10.146__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.144 → pycarlo-0.10.146}/PKG-INFO +1 -1
  2. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/lib/schema.json +305 -0
  3. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/lib/schema.py +128 -1
  4. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.144 → pycarlo-0.10.146}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.144 → pycarlo-0.10.146}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.144 → pycarlo-0.10.146}/.coveragerc +0 -0
  8. {pycarlo-0.10.144 → pycarlo-0.10.146}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.144 → pycarlo-0.10.146}/.gitignore +0 -0
  10. {pycarlo-0.10.144 → pycarlo-0.10.146}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.144 → pycarlo-0.10.146}/LICENSE +0 -0
  12. {pycarlo-0.10.144 → pycarlo-0.10.146}/Makefile +0 -0
  13. {pycarlo-0.10.144 → pycarlo-0.10.146}/README.md +0 -0
  14. {pycarlo-0.10.144 → pycarlo-0.10.146}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.144 → pycarlo-0.10.146}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.144 → pycarlo-0.10.146}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.144 → pycarlo-0.10.146}/pyproject.toml +0 -0
  58. {pycarlo-0.10.144 → pycarlo-0.10.146}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.144 → pycarlo-0.10.146}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.144 → pycarlo-0.10.146}/requirements.txt +0 -0
  61. {pycarlo-0.10.144 → pycarlo-0.10.146}/setup.cfg +0 -0
  62. {pycarlo-0.10.144 → pycarlo-0.10.146}/setup.py +0 -0
  63. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.144 → pycarlo-0.10.146}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.144 → pycarlo-0.10.146}/utils/env.sh +0 -0
  90. {pycarlo-0.10.144 → pycarlo-0.10.146}/utils/generate.py +0 -0
  91. {pycarlo-0.10.144 → pycarlo-0.10.146}/utils/sample.env +0 -0
  92. {pycarlo-0.10.144 → pycarlo-0.10.146}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.144 → pycarlo-0.10.146}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.144
3
+ Version: 0.10.146
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -21593,6 +21593,53 @@
21593
21593
  "ofType": null
21594
21594
  }
21595
21595
  },
21596
+ {
21597
+ "args": [
21598
+ {
21599
+ "defaultValue": null,
21600
+ "description": "Permission requested",
21601
+ "name": "targetPermission",
21602
+ "type": {
21603
+ "kind": "NON_NULL",
21604
+ "name": null,
21605
+ "ofType": {
21606
+ "kind": "ENUM",
21607
+ "name": "Permission",
21608
+ "ofType": null
21609
+ }
21610
+ }
21611
+ },
21612
+ {
21613
+ "defaultValue": null,
21614
+ "description": "Object ID access was requested for",
21615
+ "name": "targetId",
21616
+ "type": {
21617
+ "kind": "SCALAR",
21618
+ "name": "String",
21619
+ "ofType": null
21620
+ }
21621
+ },
21622
+ {
21623
+ "defaultValue": null,
21624
+ "description": "Reason for requesting access",
21625
+ "name": "reason",
21626
+ "type": {
21627
+ "kind": "SCALAR",
21628
+ "name": "String",
21629
+ "ofType": null
21630
+ }
21631
+ }
21632
+ ],
21633
+ "deprecationReason": null,
21634
+ "description": "(experimental) Get the status of an alert access request for the current user",
21635
+ "isDeprecated": false,
21636
+ "name": "getAccessRequest",
21637
+ "type": {
21638
+ "kind": "OBJECT",
21639
+ "name": "AccessRequest",
21640
+ "ofType": null
21641
+ }
21642
+ },
21596
21643
  {
21597
21644
  "args": [
21598
21645
  {
@@ -36454,6 +36501,18 @@
36454
36501
  }
36455
36502
  }
36456
36503
  }
36504
+ },
36505
+ {
36506
+ "args": [],
36507
+ "deprecationReason": null,
36508
+ "description": null,
36509
+ "isDeprecated": false,
36510
+ "name": "icon",
36511
+ "type": {
36512
+ "kind": "SCALAR",
36513
+ "name": "String",
36514
+ "ofType": null
36515
+ }
36457
36516
  }
36458
36517
  ],
36459
36518
  "inputFields": null,
@@ -132049,6 +132108,160 @@
132049
132108
  "name": "ManyToManyChange",
132050
132109
  "possibleTypes": null
132051
132110
  },
132111
+ {
132112
+ "description": null,
132113
+ "enumValues": null,
132114
+ "fields": [
132115
+ {
132116
+ "args": [],
132117
+ "deprecationReason": null,
132118
+ "description": "Unique identifier for the access request",
132119
+ "isDeprecated": false,
132120
+ "name": "id",
132121
+ "type": {
132122
+ "kind": "SCALAR",
132123
+ "name": "Int",
132124
+ "ofType": null
132125
+ }
132126
+ },
132127
+ {
132128
+ "args": [],
132129
+ "deprecationReason": null,
132130
+ "description": "User who requested access",
132131
+ "isDeprecated": false,
132132
+ "name": "userId",
132133
+ "type": {
132134
+ "kind": "NON_NULL",
132135
+ "name": null,
132136
+ "ofType": {
132137
+ "kind": "SCALAR",
132138
+ "name": "UUID",
132139
+ "ofType": null
132140
+ }
132141
+ }
132142
+ },
132143
+ {
132144
+ "args": [],
132145
+ "deprecationReason": null,
132146
+ "description": "Current status of the access request",
132147
+ "isDeprecated": false,
132148
+ "name": "status",
132149
+ "type": {
132150
+ "kind": "ENUM",
132151
+ "name": "Status",
132152
+ "ofType": null
132153
+ }
132154
+ },
132155
+ {
132156
+ "args": [],
132157
+ "deprecationReason": null,
132158
+ "description": "Permission requested",
132159
+ "isDeprecated": false,
132160
+ "name": "targetPermission",
132161
+ "type": {
132162
+ "kind": "NON_NULL",
132163
+ "name": null,
132164
+ "ofType": {
132165
+ "kind": "ENUM",
132166
+ "name": "Permission",
132167
+ "ofType": null
132168
+ }
132169
+ }
132170
+ },
132171
+ {
132172
+ "args": [],
132173
+ "deprecationReason": null,
132174
+ "description": "Object ID access was requested for",
132175
+ "isDeprecated": false,
132176
+ "name": "targetId",
132177
+ "type": {
132178
+ "kind": "SCALAR",
132179
+ "name": "String",
132180
+ "ofType": null
132181
+ }
132182
+ },
132183
+ {
132184
+ "args": [],
132185
+ "deprecationReason": null,
132186
+ "description": "Reason for requesting access",
132187
+ "isDeprecated": false,
132188
+ "name": "reason",
132189
+ "type": {
132190
+ "kind": "SCALAR",
132191
+ "name": "String",
132192
+ "ofType": null
132193
+ }
132194
+ },
132195
+ {
132196
+ "args": [],
132197
+ "deprecationReason": null,
132198
+ "description": "When the request was created",
132199
+ "isDeprecated": false,
132200
+ "name": "createdTime",
132201
+ "type": {
132202
+ "kind": "SCALAR",
132203
+ "name": "DateTime",
132204
+ "ofType": null
132205
+ }
132206
+ },
132207
+ {
132208
+ "args": [],
132209
+ "deprecationReason": null,
132210
+ "description": "When the request was last updated",
132211
+ "isDeprecated": false,
132212
+ "name": "updatedTime",
132213
+ "type": {
132214
+ "kind": "SCALAR",
132215
+ "name": "DateTime",
132216
+ "ofType": null
132217
+ }
132218
+ },
132219
+ {
132220
+ "args": [],
132221
+ "deprecationReason": null,
132222
+ "description": "List of admin emails that were notified about this request",
132223
+ "isDeprecated": false,
132224
+ "name": "notifiedAdmins",
132225
+ "type": {
132226
+ "kind": "LIST",
132227
+ "name": null,
132228
+ "ofType": {
132229
+ "kind": "SCALAR",
132230
+ "name": "String",
132231
+ "ofType": null
132232
+ }
132233
+ }
132234
+ }
132235
+ ],
132236
+ "inputFields": null,
132237
+ "interfaces": [],
132238
+ "kind": "OBJECT",
132239
+ "name": "AccessRequest",
132240
+ "possibleTypes": null
132241
+ },
132242
+ {
132243
+ "description": "Access Request status",
132244
+ "enumValues": [
132245
+ {
132246
+ "deprecationReason": null,
132247
+ "description": null,
132248
+ "isDeprecated": false,
132249
+ "name": "PENDING"
132250
+ },
132251
+ {
132252
+ "deprecationReason": null,
132253
+ "description": null,
132254
+ "isDeprecated": false,
132255
+ "name": "NOTIFIED"
132256
+ }
132257
+ ],
132258
+ "fields": null,
132259
+ "inputFields": null,
132260
+ "interfaces": null,
132261
+ "kind": "ENUM",
132262
+ "name": "Status",
132263
+ "possibleTypes": null
132264
+ },
132052
132265
  {
132053
132266
  "description": null,
132054
132267
  "enumValues": null,
@@ -145467,6 +145680,12 @@
145467
145680
  "isDeprecated": false,
145468
145681
  "name": "PENDING"
145469
145682
  },
145683
+ {
145684
+ "deprecationReason": null,
145685
+ "description": null,
145686
+ "isDeprecated": false,
145687
+ "name": "NOTIFIED"
145688
+ },
145470
145689
  {
145471
145690
  "deprecationReason": null,
145472
145691
  "description": null,
@@ -164928,6 +165147,53 @@
164928
165147
  "ofType": null
164929
165148
  }
164930
165149
  },
165150
+ {
165151
+ "args": [
165152
+ {
165153
+ "defaultValue": null,
165154
+ "description": "Reason for requesting access",
165155
+ "name": "reason",
165156
+ "type": {
165157
+ "kind": "SCALAR",
165158
+ "name": "String",
165159
+ "ofType": null
165160
+ }
165161
+ },
165162
+ {
165163
+ "defaultValue": null,
165164
+ "description": "Object ID access was requested for",
165165
+ "name": "targetId",
165166
+ "type": {
165167
+ "kind": "SCALAR",
165168
+ "name": "String",
165169
+ "ofType": null
165170
+ }
165171
+ },
165172
+ {
165173
+ "defaultValue": null,
165174
+ "description": "Permission requested",
165175
+ "name": "targetPermission",
165176
+ "type": {
165177
+ "kind": "NON_NULL",
165178
+ "name": null,
165179
+ "ofType": {
165180
+ "kind": "ENUM",
165181
+ "name": "Permission",
165182
+ "ofType": null
165183
+ }
165184
+ }
165185
+ }
165186
+ ],
165187
+ "deprecationReason": null,
165188
+ "description": "(experimental) Request permissions that the user is missing",
165189
+ "isDeprecated": false,
165190
+ "name": "requestAccess",
165191
+ "type": {
165192
+ "kind": "OBJECT",
165193
+ "name": "AccessRequestOutput",
165194
+ "ofType": null
165195
+ }
165196
+ },
164931
165197
  {
164932
165198
  "args": [
164933
165199
  {
@@ -185861,6 +186127,45 @@
185861
186127
  "name": "ProvisioningSchema",
185862
186128
  "possibleTypes": null
185863
186129
  },
186130
+ {
186131
+ "description": null,
186132
+ "enumValues": null,
186133
+ "fields": [
186134
+ {
186135
+ "args": [],
186136
+ "deprecationReason": null,
186137
+ "description": "Whether the operation was successful",
186138
+ "isDeprecated": false,
186139
+ "name": "success",
186140
+ "type": {
186141
+ "kind": "NON_NULL",
186142
+ "name": null,
186143
+ "ofType": {
186144
+ "kind": "SCALAR",
186145
+ "name": "Boolean",
186146
+ "ofType": null
186147
+ }
186148
+ }
186149
+ },
186150
+ {
186151
+ "args": [],
186152
+ "deprecationReason": null,
186153
+ "description": "The access request object",
186154
+ "isDeprecated": false,
186155
+ "name": "accessRequest",
186156
+ "type": {
186157
+ "kind": "OBJECT",
186158
+ "name": "AccessRequest",
186159
+ "ofType": null
186160
+ }
186161
+ }
186162
+ ],
186163
+ "inputFields": null,
186164
+ "interfaces": [],
186165
+ "kind": "OBJECT",
186166
+ "name": "AccessRequestOutput",
186167
+ "possibleTypes": null
186168
+ },
185864
186169
  {
185865
186170
  "description": "Create or update a resource",
185866
186171
  "enumValues": null,
@@ -342,12 +342,13 @@ class AlertAccessRequestStatus(sgqlc.types.Enum):
342
342
  """Enumeration Choices:
343
343
 
344
344
  * `EXPIRED`None
345
+ * `NOTIFIED`None
345
346
  * `PENDING`None
346
347
  * `RESOLVED`None
347
348
  """
348
349
 
349
350
  __schema__ = schema
350
- __choices__ = ("EXPIRED", "PENDING", "RESOLVED")
351
+ __choices__ = ("EXPIRED", "NOTIFIED", "PENDING", "RESOLVED")
351
352
 
352
353
 
353
354
  class AlertGroupBy(sgqlc.types.Enum):
@@ -4780,6 +4781,19 @@ class StatementOption(sgqlc.types.Enum):
4780
4781
  __choices__ = ("ALL_ACCOUNT_OWNERS", "SPECIFIC_ADDRESSES")
4781
4782
 
4782
4783
 
4784
+ class Status(sgqlc.types.Enum):
4785
+ """Access Request status
4786
+
4787
+ Enumeration Choices:
4788
+
4789
+ * `NOTIFIED`None
4790
+ * `PENDING`None
4791
+ """
4792
+
4793
+ __schema__ = schema
4794
+ __choices__ = ("NOTIFIED", "PENDING")
4795
+
4796
+
4783
4797
  class StorageTypeEnum(sgqlc.types.Enum):
4784
4798
  """Enumeration Choices:
4785
4799
 
@@ -10941,6 +10955,59 @@ class AIMessageOutput(sgqlc.types.Type):
10941
10955
  """When streaming the results, it returns the status of the request"""
10942
10956
 
10943
10957
 
10958
+ class AccessRequest(sgqlc.types.Type):
10959
+ __schema__ = schema
10960
+ __field_names__ = (
10961
+ "id",
10962
+ "user_id",
10963
+ "status",
10964
+ "target_permission",
10965
+ "target_id",
10966
+ "reason",
10967
+ "created_time",
10968
+ "updated_time",
10969
+ "notified_admins",
10970
+ )
10971
+ id = sgqlc.types.Field(Int, graphql_name="id")
10972
+ """Unique identifier for the access request"""
10973
+
10974
+ user_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="userId")
10975
+ """User who requested access"""
10976
+
10977
+ status = sgqlc.types.Field(Status, graphql_name="status")
10978
+ """Current status of the access request"""
10979
+
10980
+ target_permission = sgqlc.types.Field(
10981
+ sgqlc.types.non_null(Permission), graphql_name="targetPermission"
10982
+ )
10983
+ """Permission requested"""
10984
+
10985
+ target_id = sgqlc.types.Field(String, graphql_name="targetId")
10986
+ """Object ID access was requested for"""
10987
+
10988
+ reason = sgqlc.types.Field(String, graphql_name="reason")
10989
+ """Reason for requesting access"""
10990
+
10991
+ created_time = sgqlc.types.Field(DateTime, graphql_name="createdTime")
10992
+ """When the request was created"""
10993
+
10994
+ updated_time = sgqlc.types.Field(DateTime, graphql_name="updatedTime")
10995
+ """When the request was last updated"""
10996
+
10997
+ notified_admins = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="notifiedAdmins")
10998
+ """List of admin emails that were notified about this request"""
10999
+
11000
+
11001
+ class AccessRequestOutput(sgqlc.types.Type):
11002
+ __schema__ = schema
11003
+ __field_names__ = ("success", "access_request")
11004
+ success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="success")
11005
+ """Whether the operation was successful"""
11006
+
11007
+ access_request = sgqlc.types.Field(AccessRequest, graphql_name="accessRequest")
11008
+ """The access request object"""
11009
+
11010
+
10944
11011
  class AccessToken(sgqlc.types.Type):
10945
11012
  """Generated API Token ID and Access Key. Only available once"""
10946
11013
 
@@ -25122,6 +25189,7 @@ class Mutation(sgqlc.types.Type):
25122
25189
  "delete_authorization_group",
25123
25190
  "update_user_authorization_group_membership",
25124
25191
  "create_or_update_auth_provisioning",
25192
+ "request_access",
25125
25193
  "create_or_update_resource",
25126
25194
  "match_and_create_bi_warehouse_sources",
25127
25195
  "toggle_disable_sampling",
@@ -36864,6 +36932,33 @@ class Mutation(sgqlc.types.Type):
36864
36932
  * `uuid` (`UUID`): For updating an auth provisioning config.
36865
36933
  """
36866
36934
 
36935
+ request_access = sgqlc.types.Field(
36936
+ AccessRequestOutput,
36937
+ graphql_name="requestAccess",
36938
+ args=sgqlc.types.ArgDict(
36939
+ (
36940
+ ("reason", sgqlc.types.Arg(String, graphql_name="reason", default=None)),
36941
+ ("target_id", sgqlc.types.Arg(String, graphql_name="targetId", default=None)),
36942
+ (
36943
+ "target_permission",
36944
+ sgqlc.types.Arg(
36945
+ sgqlc.types.non_null(Permission),
36946
+ graphql_name="targetPermission",
36947
+ default=None,
36948
+ ),
36949
+ ),
36950
+ )
36951
+ ),
36952
+ )
36953
+ """(experimental) Request permissions that the user is missing
36954
+
36955
+ Arguments:
36956
+
36957
+ * `reason` (`String`): Reason for requesting access
36958
+ * `target_id` (`String`): Object ID access was requested for
36959
+ * `target_permission` (`Permission!`): Permission requested
36960
+ """
36961
+
36867
36962
  create_or_update_resource = sgqlc.types.Field(
36868
36963
  CreateOrUpdateResource,
36869
36964
  graphql_name="createOrUpdateResource",
@@ -43646,6 +43741,7 @@ class Query(sgqlc.types.Type):
43646
43741
  "get_authorization_groups",
43647
43742
  "get_user_authorization",
43648
43743
  "get_authorization_provisioning",
43744
+ "get_access_request",
43649
43745
  "search",
43650
43746
  "search_tables_for_dynamic_schedule",
43651
43747
  "get_object",
@@ -55584,6 +55680,34 @@ class Query(sgqlc.types.Type):
55584
55680
  account.
55585
55681
  """
55586
55682
 
55683
+ get_access_request = sgqlc.types.Field(
55684
+ AccessRequest,
55685
+ graphql_name="getAccessRequest",
55686
+ args=sgqlc.types.ArgDict(
55687
+ (
55688
+ (
55689
+ "target_permission",
55690
+ sgqlc.types.Arg(
55691
+ sgqlc.types.non_null(Permission),
55692
+ graphql_name="targetPermission",
55693
+ default=None,
55694
+ ),
55695
+ ),
55696
+ ("target_id", sgqlc.types.Arg(String, graphql_name="targetId", default=None)),
55697
+ ("reason", sgqlc.types.Arg(String, graphql_name="reason", default=None)),
55698
+ )
55699
+ ),
55700
+ )
55701
+ """(experimental) Get the status of an alert access request for the
55702
+ current user
55703
+
55704
+ Arguments:
55705
+
55706
+ * `target_permission` (`Permission!`): Permission requested
55707
+ * `target_id` (`String`): Object ID access was requested for
55708
+ * `reason` (`String`): Reason for requesting access
55709
+ """
55710
+
55587
55711
  search = sgqlc.types.Field(
55588
55712
  "SearchResponse",
55589
55713
  graphql_name="search",
@@ -65558,6 +65682,7 @@ class TransformFunction(sgqlc.types.Type):
65558
65682
  "output_type",
65559
65683
  "supports_field_range",
65560
65684
  "supported_output_types",
65685
+ "icon",
65561
65686
  )
65562
65687
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
65563
65688
 
@@ -65598,6 +65723,8 @@ class TransformFunction(sgqlc.types.Type):
65598
65723
  graphql_name="supportedOutputTypes",
65599
65724
  )
65600
65725
 
65726
+ icon = sgqlc.types.Field(String, graphql_name="icon")
65727
+
65601
65728
 
65602
65729
  class TriggerCircuitBreakerRule(sgqlc.types.Type):
65603
65730
  """Run a custom rule as a circuit breaker immediately. Supports rules
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.144
3
+ Version: 0.10.146
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