pycarlo 0.10.78__py3-none-any.whl → 0.10.79__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
  {
@@ -141155,6 +141182,142 @@
141155
141182
  "name": "AlertsCountByDate",
141156
141183
  "possibleTypes": null
141157
141184
  },
141185
+ {
141186
+ "description": null,
141187
+ "enumValues": null,
141188
+ "fields": [
141189
+ {
141190
+ "args": [],
141191
+ "deprecationReason": null,
141192
+ "description": "Unique identifier for the access request",
141193
+ "isDeprecated": false,
141194
+ "name": "id",
141195
+ "type": {
141196
+ "kind": "SCALAR",
141197
+ "name": "Int",
141198
+ "ofType": null
141199
+ }
141200
+ },
141201
+ {
141202
+ "args": [],
141203
+ "deprecationReason": null,
141204
+ "description": "User who requested access",
141205
+ "isDeprecated": false,
141206
+ "name": "userId",
141207
+ "type": {
141208
+ "kind": "NON_NULL",
141209
+ "name": null,
141210
+ "ofType": {
141211
+ "kind": "SCALAR",
141212
+ "name": "UUID",
141213
+ "ofType": null
141214
+ }
141215
+ }
141216
+ },
141217
+ {
141218
+ "args": [],
141219
+ "deprecationReason": null,
141220
+ "description": "Alert ID access was requested for",
141221
+ "isDeprecated": false,
141222
+ "name": "alertId",
141223
+ "type": {
141224
+ "kind": "NON_NULL",
141225
+ "name": null,
141226
+ "ofType": {
141227
+ "kind": "SCALAR",
141228
+ "name": "UUID",
141229
+ "ofType": null
141230
+ }
141231
+ }
141232
+ },
141233
+ {
141234
+ "args": [],
141235
+ "deprecationReason": null,
141236
+ "description": "Current status of the access request",
141237
+ "isDeprecated": false,
141238
+ "name": "status",
141239
+ "type": {
141240
+ "kind": "ENUM",
141241
+ "name": "AlertAccessRequestStatus",
141242
+ "ofType": null
141243
+ }
141244
+ },
141245
+ {
141246
+ "args": [],
141247
+ "deprecationReason": null,
141248
+ "description": "When the request was created",
141249
+ "isDeprecated": false,
141250
+ "name": "createdTime",
141251
+ "type": {
141252
+ "kind": "SCALAR",
141253
+ "name": "DateTime",
141254
+ "ofType": null
141255
+ }
141256
+ },
141257
+ {
141258
+ "args": [],
141259
+ "deprecationReason": null,
141260
+ "description": "When the request was last updated",
141261
+ "isDeprecated": false,
141262
+ "name": "updatedTime",
141263
+ "type": {
141264
+ "kind": "SCALAR",
141265
+ "name": "DateTime",
141266
+ "ofType": null
141267
+ }
141268
+ },
141269
+ {
141270
+ "args": [],
141271
+ "deprecationReason": null,
141272
+ "description": "List of admin emails that were notified about this request",
141273
+ "isDeprecated": false,
141274
+ "name": "notifiedAdmins",
141275
+ "type": {
141276
+ "kind": "LIST",
141277
+ "name": null,
141278
+ "ofType": {
141279
+ "kind": "SCALAR",
141280
+ "name": "String",
141281
+ "ofType": null
141282
+ }
141283
+ }
141284
+ }
141285
+ ],
141286
+ "inputFields": null,
141287
+ "interfaces": [],
141288
+ "kind": "OBJECT",
141289
+ "name": "AlertAccessRequest",
141290
+ "possibleTypes": null
141291
+ },
141292
+ {
141293
+ "description": null,
141294
+ "enumValues": [
141295
+ {
141296
+ "deprecationReason": null,
141297
+ "description": null,
141298
+ "isDeprecated": false,
141299
+ "name": "PENDING"
141300
+ },
141301
+ {
141302
+ "deprecationReason": null,
141303
+ "description": null,
141304
+ "isDeprecated": false,
141305
+ "name": "RESOLVED"
141306
+ },
141307
+ {
141308
+ "deprecationReason": null,
141309
+ "description": null,
141310
+ "isDeprecated": false,
141311
+ "name": "EXPIRED"
141312
+ }
141313
+ ],
141314
+ "fields": null,
141315
+ "inputFields": null,
141316
+ "interfaces": null,
141317
+ "kind": "ENUM",
141318
+ "name": "AlertAccessRequestStatus",
141319
+ "possibleTypes": null
141320
+ },
141158
141321
  {
141159
141322
  "description": "Collibra ping information",
141160
141323
  "enumValues": null,
@@ -166825,6 +166988,33 @@
166825
166988
  "ofType": null
166826
166989
  }
166827
166990
  },
166991
+ {
166992
+ "args": [
166993
+ {
166994
+ "defaultValue": null,
166995
+ "description": "UUID of the alert to request access for",
166996
+ "name": "alertId",
166997
+ "type": {
166998
+ "kind": "NON_NULL",
166999
+ "name": null,
167000
+ "ofType": {
167001
+ "kind": "SCALAR",
167002
+ "name": "UUID",
167003
+ "ofType": null
167004
+ }
167005
+ }
167006
+ }
167007
+ ],
167008
+ "deprecationReason": null,
167009
+ "description": "(experimental) Request access to view an alert",
167010
+ "isDeprecated": false,
167011
+ "name": "requestAlertAccess",
167012
+ "type": {
167013
+ "kind": "OBJECT",
167014
+ "name": "AlertAccessRequestOutput",
167015
+ "ofType": null
167016
+ }
167017
+ },
166828
167018
  {
166829
167019
  "args": [
166830
167020
  {
@@ -187221,6 +187411,45 @@
187221
187411
  "name": "MergeAlertsInput",
187222
187412
  "possibleTypes": null
187223
187413
  },
187414
+ {
187415
+ "description": null,
187416
+ "enumValues": null,
187417
+ "fields": [
187418
+ {
187419
+ "args": [],
187420
+ "deprecationReason": null,
187421
+ "description": "Whether the operation was successful",
187422
+ "isDeprecated": false,
187423
+ "name": "success",
187424
+ "type": {
187425
+ "kind": "NON_NULL",
187426
+ "name": null,
187427
+ "ofType": {
187428
+ "kind": "SCALAR",
187429
+ "name": "Boolean",
187430
+ "ofType": null
187431
+ }
187432
+ }
187433
+ },
187434
+ {
187435
+ "args": [],
187436
+ "deprecationReason": null,
187437
+ "description": "The access request object",
187438
+ "isDeprecated": false,
187439
+ "name": "accessRequest",
187440
+ "type": {
187441
+ "kind": "OBJECT",
187442
+ "name": "AlertAccessRequest",
187443
+ "ofType": null
187444
+ }
187445
+ }
187446
+ ],
187447
+ "inputFields": null,
187448
+ "interfaces": [],
187449
+ "kind": "OBJECT",
187450
+ "name": "AlertAccessRequestOutput",
187451
+ "possibleTypes": null
187452
+ },
187224
187453
  {
187225
187454
  "description": null,
187226
187455
  "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",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.78
3
+ Version: 0.10.79
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=7eYMMKzh2XwX5ZJoTxXwA0eVuOwH_oot6X4m796JBDY,6013786
39
+ pycarlo/lib/schema.py,sha256=rSNz0LIYuUrl0CRuWftzzTrsf95hac2D57q7a2u936E,2596801
40
+ pycarlo-0.10.79.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.79.dist-info/METADATA,sha256=-JThEOBHD_kiPCg_ATH0qp4KBg_5b0CnGHDUgQWOKyc,8741
42
+ pycarlo-0.10.79.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.79.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.79.dist-info/RECORD,,