pycarlo 0.10.78__py3-none-any.whl → 0.10.80__py3-none-any.whl

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.

pycarlo/lib/schema.json CHANGED
@@ -26999,6 +26999,33 @@
26999
26999
  "ofType": null
27000
27000
  }
27001
27001
  },
27002
+ {
27003
+ "args": [
27004
+ {
27005
+ "defaultValue": null,
27006
+ "description": "UUID of the alert",
27007
+ "name": "alertId",
27008
+ "type": {
27009
+ "kind": "NON_NULL",
27010
+ "name": null,
27011
+ "ofType": {
27012
+ "kind": "SCALAR",
27013
+ "name": "UUID",
27014
+ "ofType": null
27015
+ }
27016
+ }
27017
+ }
27018
+ ],
27019
+ "deprecationReason": null,
27020
+ "description": "(experimental) Get the status of an alert access request for the current user",
27021
+ "isDeprecated": false,
27022
+ "name": "getAlertAccessRequest",
27023
+ "type": {
27024
+ "kind": "OBJECT",
27025
+ "name": "AlertAccessRequest",
27026
+ "ofType": null
27027
+ }
27028
+ },
27002
27029
  {
27003
27030
  "args": [
27004
27031
  {
@@ -46777,7 +46804,7 @@
46777
46804
  {
46778
46805
  "args": [],
46779
46806
  "deprecationReason": null,
46780
- "description": "The number of custom monitors created on this warehouse.",
46807
+ "description": "The number of user created monitors on this warehouse.",
46781
46808
  "isDeprecated": false,
46782
46809
  "name": "customMonitorCount",
46783
46810
  "type": {
@@ -46786,6 +46813,18 @@
46786
46813
  "ofType": null
46787
46814
  }
46788
46815
  },
46816
+ {
46817
+ "args": [],
46818
+ "deprecationReason": null,
46819
+ "description": "The number of table monitors and user created monitors on this warehouse.",
46820
+ "isDeprecated": false,
46821
+ "name": "totalMonitorCount",
46822
+ "type": {
46823
+ "kind": "SCALAR",
46824
+ "name": "Int",
46825
+ "ofType": null
46826
+ }
46827
+ },
46789
46828
  {
46790
46829
  "args": [],
46791
46830
  "deprecationReason": null,
@@ -141155,6 +141194,142 @@
141155
141194
  "name": "AlertsCountByDate",
141156
141195
  "possibleTypes": null
141157
141196
  },
141197
+ {
141198
+ "description": null,
141199
+ "enumValues": null,
141200
+ "fields": [
141201
+ {
141202
+ "args": [],
141203
+ "deprecationReason": null,
141204
+ "description": "Unique identifier for the access request",
141205
+ "isDeprecated": false,
141206
+ "name": "id",
141207
+ "type": {
141208
+ "kind": "SCALAR",
141209
+ "name": "Int",
141210
+ "ofType": null
141211
+ }
141212
+ },
141213
+ {
141214
+ "args": [],
141215
+ "deprecationReason": null,
141216
+ "description": "User who requested access",
141217
+ "isDeprecated": false,
141218
+ "name": "userId",
141219
+ "type": {
141220
+ "kind": "NON_NULL",
141221
+ "name": null,
141222
+ "ofType": {
141223
+ "kind": "SCALAR",
141224
+ "name": "UUID",
141225
+ "ofType": null
141226
+ }
141227
+ }
141228
+ },
141229
+ {
141230
+ "args": [],
141231
+ "deprecationReason": null,
141232
+ "description": "Alert ID access was requested for",
141233
+ "isDeprecated": false,
141234
+ "name": "alertId",
141235
+ "type": {
141236
+ "kind": "NON_NULL",
141237
+ "name": null,
141238
+ "ofType": {
141239
+ "kind": "SCALAR",
141240
+ "name": "UUID",
141241
+ "ofType": null
141242
+ }
141243
+ }
141244
+ },
141245
+ {
141246
+ "args": [],
141247
+ "deprecationReason": null,
141248
+ "description": "Current status of the access request",
141249
+ "isDeprecated": false,
141250
+ "name": "status",
141251
+ "type": {
141252
+ "kind": "ENUM",
141253
+ "name": "AlertAccessRequestStatus",
141254
+ "ofType": null
141255
+ }
141256
+ },
141257
+ {
141258
+ "args": [],
141259
+ "deprecationReason": null,
141260
+ "description": "When the request was created",
141261
+ "isDeprecated": false,
141262
+ "name": "createdTime",
141263
+ "type": {
141264
+ "kind": "SCALAR",
141265
+ "name": "DateTime",
141266
+ "ofType": null
141267
+ }
141268
+ },
141269
+ {
141270
+ "args": [],
141271
+ "deprecationReason": null,
141272
+ "description": "When the request was last updated",
141273
+ "isDeprecated": false,
141274
+ "name": "updatedTime",
141275
+ "type": {
141276
+ "kind": "SCALAR",
141277
+ "name": "DateTime",
141278
+ "ofType": null
141279
+ }
141280
+ },
141281
+ {
141282
+ "args": [],
141283
+ "deprecationReason": null,
141284
+ "description": "List of admin emails that were notified about this request",
141285
+ "isDeprecated": false,
141286
+ "name": "notifiedAdmins",
141287
+ "type": {
141288
+ "kind": "LIST",
141289
+ "name": null,
141290
+ "ofType": {
141291
+ "kind": "SCALAR",
141292
+ "name": "String",
141293
+ "ofType": null
141294
+ }
141295
+ }
141296
+ }
141297
+ ],
141298
+ "inputFields": null,
141299
+ "interfaces": [],
141300
+ "kind": "OBJECT",
141301
+ "name": "AlertAccessRequest",
141302
+ "possibleTypes": null
141303
+ },
141304
+ {
141305
+ "description": null,
141306
+ "enumValues": [
141307
+ {
141308
+ "deprecationReason": null,
141309
+ "description": null,
141310
+ "isDeprecated": false,
141311
+ "name": "PENDING"
141312
+ },
141313
+ {
141314
+ "deprecationReason": null,
141315
+ "description": null,
141316
+ "isDeprecated": false,
141317
+ "name": "RESOLVED"
141318
+ },
141319
+ {
141320
+ "deprecationReason": null,
141321
+ "description": null,
141322
+ "isDeprecated": false,
141323
+ "name": "EXPIRED"
141324
+ }
141325
+ ],
141326
+ "fields": null,
141327
+ "inputFields": null,
141328
+ "interfaces": null,
141329
+ "kind": "ENUM",
141330
+ "name": "AlertAccessRequestStatus",
141331
+ "possibleTypes": null
141332
+ },
141158
141333
  {
141159
141334
  "description": "Collibra ping information",
141160
141335
  "enumValues": null,
@@ -166825,6 +167000,33 @@
166825
167000
  "ofType": null
166826
167001
  }
166827
167002
  },
167003
+ {
167004
+ "args": [
167005
+ {
167006
+ "defaultValue": null,
167007
+ "description": "UUID of the alert to request access for",
167008
+ "name": "alertId",
167009
+ "type": {
167010
+ "kind": "NON_NULL",
167011
+ "name": null,
167012
+ "ofType": {
167013
+ "kind": "SCALAR",
167014
+ "name": "UUID",
167015
+ "ofType": null
167016
+ }
167017
+ }
167018
+ }
167019
+ ],
167020
+ "deprecationReason": null,
167021
+ "description": "(experimental) Request access to view an alert",
167022
+ "isDeprecated": false,
167023
+ "name": "requestAlertAccess",
167024
+ "type": {
167025
+ "kind": "OBJECT",
167026
+ "name": "AlertAccessRequestOutput",
167027
+ "ofType": null
167028
+ }
167029
+ },
166828
167030
  {
166829
167031
  "args": [
166830
167032
  {
@@ -187221,6 +187423,45 @@
187221
187423
  "name": "MergeAlertsInput",
187222
187424
  "possibleTypes": null
187223
187425
  },
187426
+ {
187427
+ "description": null,
187428
+ "enumValues": null,
187429
+ "fields": [
187430
+ {
187431
+ "args": [],
187432
+ "deprecationReason": null,
187433
+ "description": "Whether the operation was successful",
187434
+ "isDeprecated": false,
187435
+ "name": "success",
187436
+ "type": {
187437
+ "kind": "NON_NULL",
187438
+ "name": null,
187439
+ "ofType": {
187440
+ "kind": "SCALAR",
187441
+ "name": "Boolean",
187442
+ "ofType": null
187443
+ }
187444
+ }
187445
+ },
187446
+ {
187447
+ "args": [],
187448
+ "deprecationReason": null,
187449
+ "description": "The access request object",
187450
+ "isDeprecated": false,
187451
+ "name": "accessRequest",
187452
+ "type": {
187453
+ "kind": "OBJECT",
187454
+ "name": "AlertAccessRequest",
187455
+ "ofType": null
187456
+ }
187457
+ }
187458
+ ],
187459
+ "inputFields": null,
187460
+ "interfaces": [],
187461
+ "kind": "OBJECT",
187462
+ "name": "AlertAccessRequestOutput",
187463
+ "possibleTypes": null
187464
+ },
187224
187465
  {
187225
187466
  "description": null,
187226
187467
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -336,6 +336,18 @@ class AirflowRunState(sgqlc.types.Enum):
336
336
  )
337
337
 
338
338
 
339
+ class AlertAccessRequestStatus(sgqlc.types.Enum):
340
+ """Enumeration Choices:
341
+
342
+ * `EXPIRED`None
343
+ * `PENDING`None
344
+ * `RESOLVED`None
345
+ """
346
+
347
+ __schema__ = schema
348
+ __choices__ = ("EXPIRED", "PENDING", "RESOLVED")
349
+
350
+
339
351
  class AlertGroupBy(sgqlc.types.Enum):
340
352
  """Enumeration Choices:
341
353
 
@@ -12572,6 +12584,49 @@ class AlationIntegrationEdge(sgqlc.types.Type):
12572
12584
  """A cursor for use in pagination"""
12573
12585
 
12574
12586
 
12587
+ class AlertAccessRequest(sgqlc.types.Type):
12588
+ __schema__ = schema
12589
+ __field_names__ = (
12590
+ "id",
12591
+ "user_id",
12592
+ "alert_id",
12593
+ "status",
12594
+ "created_time",
12595
+ "updated_time",
12596
+ "notified_admins",
12597
+ )
12598
+ id = sgqlc.types.Field(Int, graphql_name="id")
12599
+ """Unique identifier for the access request"""
12600
+
12601
+ user_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="userId")
12602
+ """User who requested access"""
12603
+
12604
+ alert_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="alertId")
12605
+ """Alert ID access was requested for"""
12606
+
12607
+ status = sgqlc.types.Field(AlertAccessRequestStatus, graphql_name="status")
12608
+ """Current status of the access request"""
12609
+
12610
+ created_time = sgqlc.types.Field(DateTime, graphql_name="createdTime")
12611
+ """When the request was created"""
12612
+
12613
+ updated_time = sgqlc.types.Field(DateTime, graphql_name="updatedTime")
12614
+ """When the request was last updated"""
12615
+
12616
+ notified_admins = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="notifiedAdmins")
12617
+ """List of admin emails that were notified about this request"""
12618
+
12619
+
12620
+ class AlertAccessRequestOutput(sgqlc.types.Type):
12621
+ __schema__ = schema
12622
+ __field_names__ = ("success", "access_request")
12623
+ success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="success")
12624
+ """Whether the operation was successful"""
12625
+
12626
+ access_request = sgqlc.types.Field(AlertAccessRequest, graphql_name="accessRequest")
12627
+ """The access request object"""
12628
+
12629
+
12575
12630
  class AlertConnection(sgqlc.types.relay.Connection):
12576
12631
  __schema__ = schema
12577
12632
  __field_names__ = ("page_info", "edges", "total_count")
@@ -24733,6 +24788,7 @@ class Mutation(sgqlc.types.Type):
24733
24788
  "upload_airflow_task_result",
24734
24789
  "upload_airflow_sla_misses",
24735
24790
  "merge_alerts",
24791
+ "request_alert_access",
24736
24792
  "create_or_update_collibra_integration",
24737
24793
  "delete_collibra_integration",
24738
24794
  "sync_monitors_to_collibra",
@@ -40468,6 +40524,27 @@ class Mutation(sgqlc.types.Type):
40468
40524
  alert
40469
40525
  """
40470
40526
 
40527
+ request_alert_access = sgqlc.types.Field(
40528
+ AlertAccessRequestOutput,
40529
+ graphql_name="requestAlertAccess",
40530
+ args=sgqlc.types.ArgDict(
40531
+ (
40532
+ (
40533
+ "alert_id",
40534
+ sgqlc.types.Arg(
40535
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
40536
+ ),
40537
+ ),
40538
+ )
40539
+ ),
40540
+ )
40541
+ """(experimental) Request access to view an alert
40542
+
40543
+ Arguments:
40544
+
40545
+ * `alert_id` (`UUID!`): UUID of the alert to request access for
40546
+ """
40547
+
40471
40548
  create_or_update_collibra_integration = sgqlc.types.Field(
40472
40549
  CreateOrUpdateCollibraIntegration,
40473
40550
  graphql_name="createOrUpdateCollibraIntegration",
@@ -42825,6 +42902,7 @@ class Query(sgqlc.types.Type):
42825
42902
  "get_alerts_filters",
42826
42903
  "get_alerts_filters_data",
42827
42904
  "get_alerts_count_by_date",
42905
+ "get_alert_access_request",
42828
42906
  "get_collibra_ping",
42829
42907
  "get_alation_table_flags",
42830
42908
  "get_airflow_task_results",
@@ -57236,6 +57314,28 @@ class Query(sgqlc.types.Type):
57236
57314
  * `last` (`Int`)None
57237
57315
  """
57238
57316
 
57317
+ get_alert_access_request = sgqlc.types.Field(
57318
+ AlertAccessRequest,
57319
+ graphql_name="getAlertAccessRequest",
57320
+ args=sgqlc.types.ArgDict(
57321
+ (
57322
+ (
57323
+ "alert_id",
57324
+ sgqlc.types.Arg(
57325
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
57326
+ ),
57327
+ ),
57328
+ )
57329
+ ),
57330
+ )
57331
+ """(experimental) Get the status of an alert access request for the
57332
+ current user
57333
+
57334
+ Arguments:
57335
+
57336
+ * `alert_id` (`UUID!`): UUID of the alert
57337
+ """
57338
+
57239
57339
  get_collibra_ping = sgqlc.types.Field(
57240
57340
  CollibraPingResponse,
57241
57341
  graphql_name="getCollibraPing",
@@ -64797,6 +64897,7 @@ class Warehouse(sgqlc.types.Type):
64797
64897
  "metadata_connection",
64798
64898
  "create_alerts_in_datasource",
64799
64899
  "custom_monitor_count",
64900
+ "total_monitor_count",
64800
64901
  "supports_transform",
64801
64902
  "warehouse_relations",
64802
64903
  )
@@ -65111,7 +65212,12 @@ class Warehouse(sgqlc.types.Type):
65111
65212
  """
65112
65213
 
65113
65214
  custom_monitor_count = sgqlc.types.Field(Int, graphql_name="customMonitorCount")
65114
- """The number of custom monitors created on this warehouse."""
65215
+ """The number of user created monitors on this warehouse."""
65216
+
65217
+ total_monitor_count = sgqlc.types.Field(Int, graphql_name="totalMonitorCount")
65218
+ """The number of table monitors and user created monitors on this
65219
+ warehouse.
65220
+ """
65115
65221
 
65116
65222
  supports_transform = sgqlc.types.Field(Boolean, graphql_name="supportsTransform")
65117
65223
  """Indicates whether the warehouse supports transform operations"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.78
3
+ Version: 0.10.80
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -35,10 +35,10 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
35
35
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
36
36
  pycarlo/lib/README.md,sha256=QGNeUefPzLKGyZqn5aITpcFgkC9WQTNS292BGisRFHk,139
37
37
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- pycarlo/lib/schema.json,sha256=611epDCVkyFE1UcuUbAnk2744KJrWbN7QFdPpE3MCqA,6006740
39
- pycarlo/lib/schema.py,sha256=MiPxtKmWZVAmeiq0aGs2M_u60oLSJK6Wy3LVBcWUQk8,2593836
40
- pycarlo-0.10.78.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.78.dist-info/METADATA,sha256=t6coEbLf7oRd442HAPjH0BWaIJmlxpnQVIsoa3x4OiI,8741
42
- pycarlo-0.10.78.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.78.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.78.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=O6Kp_ILmLdEWxvOxaFBv_Mu9tvOOx0o6K1rER5EO428,6014202
39
+ pycarlo/lib/schema.py,sha256=j5ItumrkmiXUkWlREWuNRwo_L4hz3ul7uc6r-HynzyY,2597007
40
+ pycarlo-0.10.80.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.80.dist-info/METADATA,sha256=64KhK_kJ1LAb2tQPTcwYzRJ5wkodn-HJ55jhUbzTp-Q,8741
42
+ pycarlo-0.10.80.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.80.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.80.dist-info/RECORD,,