pycarlo 0.10.194__py3-none-any.whl → 0.10.196__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
@@ -1389,6 +1389,142 @@
1389
1389
  }
1390
1390
  }
1391
1391
  },
1392
+ {
1393
+ "args": [
1394
+ {
1395
+ "defaultValue": null,
1396
+ "description": "The integration ID",
1397
+ "name": "integrationId",
1398
+ "type": {
1399
+ "kind": "NON_NULL",
1400
+ "name": null,
1401
+ "ofType": {
1402
+ "kind": "SCALAR",
1403
+ "name": "UUID",
1404
+ "ofType": null
1405
+ }
1406
+ }
1407
+ },
1408
+ {
1409
+ "defaultValue": null,
1410
+ "description": "A query to filter teams",
1411
+ "name": "query",
1412
+ "type": {
1413
+ "kind": "SCALAR",
1414
+ "name": "String",
1415
+ "ofType": null
1416
+ }
1417
+ },
1418
+ {
1419
+ "defaultValue": null,
1420
+ "description": "List of team ids to filter by",
1421
+ "name": "ids",
1422
+ "type": {
1423
+ "kind": "LIST",
1424
+ "name": null,
1425
+ "ofType": {
1426
+ "kind": "SCALAR",
1427
+ "name": "String",
1428
+ "ofType": null
1429
+ }
1430
+ }
1431
+ },
1432
+ {
1433
+ "defaultValue": null,
1434
+ "description": "Page number (default: 0)",
1435
+ "name": "pageNumber",
1436
+ "type": {
1437
+ "kind": "SCALAR",
1438
+ "name": "Int",
1439
+ "ofType": null
1440
+ }
1441
+ },
1442
+ {
1443
+ "defaultValue": null,
1444
+ "description": "Page size (default: 100)",
1445
+ "name": "pageSize",
1446
+ "type": {
1447
+ "kind": "SCALAR",
1448
+ "name": "Int",
1449
+ "ofType": null
1450
+ }
1451
+ }
1452
+ ],
1453
+ "deprecationReason": null,
1454
+ "description": "(experimental) Get the list of Datadog incident teams",
1455
+ "isDeprecated": false,
1456
+ "name": "getDatadogTeams",
1457
+ "type": {
1458
+ "kind": "LIST",
1459
+ "name": null,
1460
+ "ofType": {
1461
+ "kind": "OBJECT",
1462
+ "name": "DatadogTeamOutput",
1463
+ "ofType": null
1464
+ }
1465
+ }
1466
+ },
1467
+ {
1468
+ "args": [
1469
+ {
1470
+ "defaultValue": null,
1471
+ "description": "The integration ID",
1472
+ "name": "integrationId",
1473
+ "type": {
1474
+ "kind": "NON_NULL",
1475
+ "name": null,
1476
+ "ofType": {
1477
+ "kind": "SCALAR",
1478
+ "name": "UUID",
1479
+ "ofType": null
1480
+ }
1481
+ }
1482
+ },
1483
+ {
1484
+ "defaultValue": null,
1485
+ "description": "A query to filter services",
1486
+ "name": "query",
1487
+ "type": {
1488
+ "kind": "SCALAR",
1489
+ "name": "String",
1490
+ "ofType": null
1491
+ }
1492
+ },
1493
+ {
1494
+ "defaultValue": null,
1495
+ "description": "Page number (default: 0)",
1496
+ "name": "pageNumber",
1497
+ "type": {
1498
+ "kind": "SCALAR",
1499
+ "name": "Int",
1500
+ "ofType": null
1501
+ }
1502
+ },
1503
+ {
1504
+ "defaultValue": null,
1505
+ "description": "Page size (default: 100)",
1506
+ "name": "pageSize",
1507
+ "type": {
1508
+ "kind": "SCALAR",
1509
+ "name": "Int",
1510
+ "ofType": null
1511
+ }
1512
+ }
1513
+ ],
1514
+ "deprecationReason": null,
1515
+ "description": "(experimental) Get the list of Datadog incident services",
1516
+ "isDeprecated": false,
1517
+ "name": "getDatadogServices",
1518
+ "type": {
1519
+ "kind": "LIST",
1520
+ "name": null,
1521
+ "ofType": {
1522
+ "kind": "OBJECT",
1523
+ "name": "DatadogServiceOutput",
1524
+ "ofType": null
1525
+ }
1526
+ }
1527
+ },
1392
1528
  {
1393
1529
  "args": [
1394
1530
  {
@@ -38106,6 +38242,18 @@
38106
38242
  "ofType": null
38107
38243
  }
38108
38244
  }
38245
+ },
38246
+ {
38247
+ "args": [],
38248
+ "deprecationReason": null,
38249
+ "description": "Default values for Datadog incident fields",
38250
+ "isDeprecated": false,
38251
+ "name": "defaultIncidentFields",
38252
+ "type": {
38253
+ "kind": "SCALAR",
38254
+ "name": "JSONString",
38255
+ "ofType": null
38256
+ }
38109
38257
  }
38110
38258
  ],
38111
38259
  "inputFields": null,
@@ -38169,6 +38317,92 @@
38169
38317
  "name": "DatadogUserOutput",
38170
38318
  "possibleTypes": null
38171
38319
  },
38320
+ {
38321
+ "description": "A Datadog incident team",
38322
+ "enumValues": null,
38323
+ "fields": [
38324
+ {
38325
+ "args": [],
38326
+ "deprecationReason": null,
38327
+ "description": "Datadog team id",
38328
+ "isDeprecated": false,
38329
+ "name": "id",
38330
+ "type": {
38331
+ "kind": "NON_NULL",
38332
+ "name": null,
38333
+ "ofType": {
38334
+ "kind": "SCALAR",
38335
+ "name": "String",
38336
+ "ofType": null
38337
+ }
38338
+ }
38339
+ },
38340
+ {
38341
+ "args": [],
38342
+ "deprecationReason": null,
38343
+ "description": "Team name",
38344
+ "isDeprecated": false,
38345
+ "name": "name",
38346
+ "type": {
38347
+ "kind": "NON_NULL",
38348
+ "name": null,
38349
+ "ofType": {
38350
+ "kind": "SCALAR",
38351
+ "name": "String",
38352
+ "ofType": null
38353
+ }
38354
+ }
38355
+ }
38356
+ ],
38357
+ "inputFields": null,
38358
+ "interfaces": [],
38359
+ "kind": "OBJECT",
38360
+ "name": "DatadogTeamOutput",
38361
+ "possibleTypes": null
38362
+ },
38363
+ {
38364
+ "description": "A Datadog incident service",
38365
+ "enumValues": null,
38366
+ "fields": [
38367
+ {
38368
+ "args": [],
38369
+ "deprecationReason": null,
38370
+ "description": "Datadog service id",
38371
+ "isDeprecated": false,
38372
+ "name": "id",
38373
+ "type": {
38374
+ "kind": "NON_NULL",
38375
+ "name": null,
38376
+ "ofType": {
38377
+ "kind": "SCALAR",
38378
+ "name": "String",
38379
+ "ofType": null
38380
+ }
38381
+ }
38382
+ },
38383
+ {
38384
+ "args": [],
38385
+ "deprecationReason": null,
38386
+ "description": "Service name",
38387
+ "isDeprecated": false,
38388
+ "name": "name",
38389
+ "type": {
38390
+ "kind": "NON_NULL",
38391
+ "name": null,
38392
+ "ofType": {
38393
+ "kind": "SCALAR",
38394
+ "name": "String",
38395
+ "ofType": null
38396
+ }
38397
+ }
38398
+ }
38399
+ ],
38400
+ "inputFields": null,
38401
+ "interfaces": [],
38402
+ "kind": "OBJECT",
38403
+ "name": "DatadogServiceOutput",
38404
+ "possibleTypes": null
38405
+ },
38172
38406
  {
38173
38407
  "description": null,
38174
38408
  "enumValues": null,
@@ -69705,6 +69939,22 @@
69705
69939
  "name": "String",
69706
69940
  "ofType": null
69707
69941
  }
69942
+ },
69943
+ {
69944
+ "args": [],
69945
+ "deprecationReason": null,
69946
+ "description": "List of all retry attempts for this task run",
69947
+ "isDeprecated": false,
69948
+ "name": "attempts",
69949
+ "type": {
69950
+ "kind": "LIST",
69951
+ "name": null,
69952
+ "ofType": {
69953
+ "kind": "OBJECT",
69954
+ "name": "AirflowTaskRunAttempt",
69955
+ "ofType": null
69956
+ }
69957
+ }
69708
69958
  }
69709
69959
  ],
69710
69960
  "inputFields": null,
@@ -69766,6 +70016,206 @@
69766
70016
  "name": "AirflowUrls",
69767
70017
  "possibleTypes": null
69768
70018
  },
70019
+ {
70020
+ "description": "Individual attempt details for an Airflow task run",
70021
+ "enumValues": null,
70022
+ "fields": [
70023
+ {
70024
+ "args": [],
70025
+ "deprecationReason": null,
70026
+ "description": "Attempt number",
70027
+ "isDeprecated": false,
70028
+ "name": "attemptNumber",
70029
+ "type": {
70030
+ "kind": "NON_NULL",
70031
+ "name": null,
70032
+ "ofType": {
70033
+ "kind": "SCALAR",
70034
+ "name": "Int",
70035
+ "ofType": null
70036
+ }
70037
+ }
70038
+ },
70039
+ {
70040
+ "args": [],
70041
+ "deprecationReason": null,
70042
+ "description": "Attempt start time",
70043
+ "isDeprecated": false,
70044
+ "name": "startDate",
70045
+ "type": {
70046
+ "kind": "NON_NULL",
70047
+ "name": null,
70048
+ "ofType": {
70049
+ "kind": "SCALAR",
70050
+ "name": "DateTime",
70051
+ "ofType": null
70052
+ }
70053
+ }
70054
+ },
70055
+ {
70056
+ "args": [],
70057
+ "deprecationReason": null,
70058
+ "description": "Attempt end time",
70059
+ "isDeprecated": false,
70060
+ "name": "endDate",
70061
+ "type": {
70062
+ "kind": "SCALAR",
70063
+ "name": "DateTime",
70064
+ "ofType": null
70065
+ }
70066
+ },
70067
+ {
70068
+ "args": [],
70069
+ "deprecationReason": null,
70070
+ "description": "Attempt state",
70071
+ "isDeprecated": false,
70072
+ "name": "state",
70073
+ "type": {
70074
+ "kind": "NON_NULL",
70075
+ "name": null,
70076
+ "ofType": {
70077
+ "kind": "ENUM",
70078
+ "name": "AirflowRunState",
70079
+ "ofType": null
70080
+ }
70081
+ }
70082
+ },
70083
+ {
70084
+ "args": [],
70085
+ "deprecationReason": null,
70086
+ "description": "Whether attempt succeeded",
70087
+ "isDeprecated": false,
70088
+ "name": "success",
70089
+ "type": {
70090
+ "kind": "NON_NULL",
70091
+ "name": null,
70092
+ "ofType": {
70093
+ "kind": "SCALAR",
70094
+ "name": "Boolean",
70095
+ "ofType": null
70096
+ }
70097
+ }
70098
+ },
70099
+ {
70100
+ "args": [],
70101
+ "deprecationReason": null,
70102
+ "description": "Attempt duration in seconds",
70103
+ "isDeprecated": false,
70104
+ "name": "duration",
70105
+ "type": {
70106
+ "kind": "SCALAR",
70107
+ "name": "Float",
70108
+ "ofType": null
70109
+ }
70110
+ },
70111
+ {
70112
+ "args": [],
70113
+ "deprecationReason": null,
70114
+ "description": "Error message if failed",
70115
+ "isDeprecated": false,
70116
+ "name": "exceptionMessage",
70117
+ "type": {
70118
+ "kind": "SCALAR",
70119
+ "name": "String",
70120
+ "ofType": null
70121
+ }
70122
+ }
70123
+ ],
70124
+ "inputFields": null,
70125
+ "interfaces": [],
70126
+ "kind": "OBJECT",
70127
+ "name": "AirflowTaskRunAttempt",
70128
+ "possibleTypes": null
70129
+ },
70130
+ {
70131
+ "description": null,
70132
+ "enumValues": [
70133
+ {
70134
+ "deprecationReason": null,
70135
+ "description": null,
70136
+ "isDeprecated": false,
70137
+ "name": "failed"
70138
+ },
70139
+ {
70140
+ "deprecationReason": null,
70141
+ "description": null,
70142
+ "isDeprecated": false,
70143
+ "name": "queued"
70144
+ },
70145
+ {
70146
+ "deprecationReason": null,
70147
+ "description": null,
70148
+ "isDeprecated": false,
70149
+ "name": "running"
70150
+ },
70151
+ {
70152
+ "deprecationReason": null,
70153
+ "description": null,
70154
+ "isDeprecated": false,
70155
+ "name": "success"
70156
+ },
70157
+ {
70158
+ "deprecationReason": null,
70159
+ "description": null,
70160
+ "isDeprecated": false,
70161
+ "name": "unknown"
70162
+ },
70163
+ {
70164
+ "deprecationReason": null,
70165
+ "description": null,
70166
+ "isDeprecated": false,
70167
+ "name": "restarting"
70168
+ },
70169
+ {
70170
+ "deprecationReason": null,
70171
+ "description": null,
70172
+ "isDeprecated": false,
70173
+ "name": "up_for_retry"
70174
+ },
70175
+ {
70176
+ "deprecationReason": null,
70177
+ "description": null,
70178
+ "isDeprecated": false,
70179
+ "name": "up_for_reschedule"
70180
+ },
70181
+ {
70182
+ "deprecationReason": null,
70183
+ "description": null,
70184
+ "isDeprecated": false,
70185
+ "name": "upstream_failed"
70186
+ },
70187
+ {
70188
+ "deprecationReason": null,
70189
+ "description": null,
70190
+ "isDeprecated": false,
70191
+ "name": "skipped"
70192
+ },
70193
+ {
70194
+ "deprecationReason": null,
70195
+ "description": null,
70196
+ "isDeprecated": false,
70197
+ "name": "removed"
70198
+ },
70199
+ {
70200
+ "deprecationReason": null,
70201
+ "description": null,
70202
+ "isDeprecated": false,
70203
+ "name": "scheduled"
70204
+ },
70205
+ {
70206
+ "deprecationReason": null,
70207
+ "description": null,
70208
+ "isDeprecated": false,
70209
+ "name": "deferred"
70210
+ }
70211
+ ],
70212
+ "fields": null,
70213
+ "inputFields": null,
70214
+ "interfaces": null,
70215
+ "kind": "ENUM",
70216
+ "name": "AirflowRunState",
70217
+ "possibleTypes": null
70218
+ },
69769
70219
  {
69770
70220
  "description": null,
69771
70221
  "enumValues": null,
@@ -148821,95 +149271,6 @@
148821
149271
  "name": "AirflowDagRunInfo",
148822
149272
  "possibleTypes": null
148823
149273
  },
148824
- {
148825
- "description": null,
148826
- "enumValues": [
148827
- {
148828
- "deprecationReason": null,
148829
- "description": null,
148830
- "isDeprecated": false,
148831
- "name": "failed"
148832
- },
148833
- {
148834
- "deprecationReason": null,
148835
- "description": null,
148836
- "isDeprecated": false,
148837
- "name": "queued"
148838
- },
148839
- {
148840
- "deprecationReason": null,
148841
- "description": null,
148842
- "isDeprecated": false,
148843
- "name": "running"
148844
- },
148845
- {
148846
- "deprecationReason": null,
148847
- "description": null,
148848
- "isDeprecated": false,
148849
- "name": "success"
148850
- },
148851
- {
148852
- "deprecationReason": null,
148853
- "description": null,
148854
- "isDeprecated": false,
148855
- "name": "unknown"
148856
- },
148857
- {
148858
- "deprecationReason": null,
148859
- "description": null,
148860
- "isDeprecated": false,
148861
- "name": "restarting"
148862
- },
148863
- {
148864
- "deprecationReason": null,
148865
- "description": null,
148866
- "isDeprecated": false,
148867
- "name": "up_for_retry"
148868
- },
148869
- {
148870
- "deprecationReason": null,
148871
- "description": null,
148872
- "isDeprecated": false,
148873
- "name": "up_for_reschedule"
148874
- },
148875
- {
148876
- "deprecationReason": null,
148877
- "description": null,
148878
- "isDeprecated": false,
148879
- "name": "upstream_failed"
148880
- },
148881
- {
148882
- "deprecationReason": null,
148883
- "description": null,
148884
- "isDeprecated": false,
148885
- "name": "skipped"
148886
- },
148887
- {
148888
- "deprecationReason": null,
148889
- "description": null,
148890
- "isDeprecated": false,
148891
- "name": "removed"
148892
- },
148893
- {
148894
- "deprecationReason": null,
148895
- "description": null,
148896
- "isDeprecated": false,
148897
- "name": "scheduled"
148898
- },
148899
- {
148900
- "deprecationReason": null,
148901
- "description": null,
148902
- "isDeprecated": false,
148903
- "name": "deferred"
148904
- }
148905
- ],
148906
- "fields": null,
148907
- "inputFields": null,
148908
- "interfaces": null,
148909
- "kind": "ENUM",
148910
- "name": "AirflowRunState",
148911
- "possibleTypes": null
148912
- },
148913
149274
  {
148914
149275
  "description": "Airflow capabilities information",
148915
149276
  "enumValues": null,
@@ -149907,6 +150268,16 @@
149907
150268
  }
149908
150269
  }
149909
150270
  },
150271
+ {
150272
+ "defaultValue": null,
150273
+ "description": "Default values for Datadog incident fields",
150274
+ "name": "defaultIncidentFields",
150275
+ "type": {
150276
+ "kind": "SCALAR",
150277
+ "name": "JSONString",
150278
+ "ofType": null
150279
+ }
150280
+ },
149910
150281
  {
149911
150282
  "defaultValue": null,
149912
150283
  "description": "Identifying name",
@@ -149968,6 +150339,16 @@
149968
150339
  "ofType": null
149969
150340
  }
149970
150341
  },
150342
+ {
150343
+ "defaultValue": null,
150344
+ "description": "Default values for Datadog incident fields",
150345
+ "name": "defaultIncidentFields",
150346
+ "type": {
150347
+ "kind": "SCALAR",
150348
+ "name": "JSONString",
150349
+ "ofType": null
150350
+ }
150351
+ },
149971
150352
  {
149972
150353
  "defaultValue": null,
149973
150354
  "description": "The integration ID",
@@ -150084,6 +150465,16 @@
150084
150465
  "ofType": null
150085
150466
  }
150086
150467
  },
150468
+ {
150469
+ "defaultValue": null,
150470
+ "description": "Additional incident fields (key->value).",
150471
+ "name": "fields",
150472
+ "type": {
150473
+ "kind": "SCALAR",
150474
+ "name": "JSONString",
150475
+ "ofType": null
150476
+ }
150477
+ },
150087
150478
  {
150088
150479
  "defaultValue": null,
150089
150480
  "description": "ID of the Datadog integration",
@@ -184265,7 +184656,7 @@
184265
184656
  },
184266
184657
  {
184267
184658
  "defaultValue": null,
184268
- "description": "Field-value pairs to include as additional fields (when creating incidents in ServiceNow or JIRA)",
184659
+ "description": "Field-value pairs to include as additional fields (when creating incidents in ServiceNow, Datadog or JIRA)",
184269
184660
  "name": "includeIncidentFields",
184270
184661
  "type": {
184271
184662
  "kind": "SCALAR",
pycarlo/lib/schema.py CHANGED
@@ -8131,7 +8131,7 @@ class NotificationExtra(sgqlc.types.Input):
8131
8131
 
8132
8132
  include_incident_fields = sgqlc.types.Field(JSONString, graphql_name="includeIncidentFields")
8133
8133
  """Field-value pairs to include as additional fields (when creating
8134
- incidents in ServiceNow or JIRA)
8134
+ incidents in ServiceNow, Datadog or JIRA)
8135
8135
  """
8136
8136
 
8137
8137
  jira_project_id = sgqlc.types.Field(Int, graphql_name="jiraProjectId")
@@ -12929,6 +12929,41 @@ class AirflowTaskEdge(sgqlc.types.Type):
12929
12929
  """A cursor for use in pagination"""
12930
12930
 
12931
12931
 
12932
+ class AirflowTaskRunAttempt(sgqlc.types.Type):
12933
+ """Individual attempt details for an Airflow task run"""
12934
+
12935
+ __schema__ = schema
12936
+ __field_names__ = (
12937
+ "attempt_number",
12938
+ "start_date",
12939
+ "end_date",
12940
+ "state",
12941
+ "success",
12942
+ "duration",
12943
+ "exception_message",
12944
+ )
12945
+ attempt_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="attemptNumber")
12946
+ """Attempt number"""
12947
+
12948
+ start_date = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="startDate")
12949
+ """Attempt start time"""
12950
+
12951
+ end_date = sgqlc.types.Field(DateTime, graphql_name="endDate")
12952
+ """Attempt end time"""
12953
+
12954
+ state = sgqlc.types.Field(sgqlc.types.non_null(AirflowRunState), graphql_name="state")
12955
+ """Attempt state"""
12956
+
12957
+ success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="success")
12958
+ """Whether attempt succeeded"""
12959
+
12960
+ duration = sgqlc.types.Field(Float, graphql_name="duration")
12961
+ """Attempt duration in seconds"""
12962
+
12963
+ exception_message = sgqlc.types.Field(String, graphql_name="exceptionMessage")
12964
+ """Error message if failed"""
12965
+
12966
+
12932
12967
  class AirflowTaskRunConnection(sgqlc.types.relay.Connection):
12933
12968
  __schema__ = schema
12934
12969
  __field_names__ = ("page_info", "edges")
@@ -18421,7 +18456,7 @@ class DatadogIntegrationOutput(sgqlc.types.Type):
18421
18456
  """A Datadog integration"""
18422
18457
 
18423
18458
  __schema__ = schema
18424
- __field_names__ = ("integration_id", "integration_name", "site")
18459
+ __field_names__ = ("integration_id", "integration_name", "site", "default_incident_fields")
18425
18460
  integration_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="integrationId")
18426
18461
  """The integration ID"""
18427
18462
 
@@ -18433,6 +18468,33 @@ class DatadogIntegrationOutput(sgqlc.types.Type):
18433
18468
  site = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="site")
18434
18469
  """Datadog site (e.g. datadoghq.com)"""
18435
18470
 
18471
+ default_incident_fields = sgqlc.types.Field(JSONString, graphql_name="defaultIncidentFields")
18472
+ """Default values for Datadog incident fields"""
18473
+
18474
+
18475
+ class DatadogServiceOutput(sgqlc.types.Type):
18476
+ """A Datadog incident service"""
18477
+
18478
+ __schema__ = schema
18479
+ __field_names__ = ("id", "name")
18480
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="id")
18481
+ """Datadog service id"""
18482
+
18483
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
18484
+ """Service name"""
18485
+
18486
+
18487
+ class DatadogTeamOutput(sgqlc.types.Type):
18488
+ """A Datadog incident team"""
18489
+
18490
+ __schema__ = schema
18491
+ __field_names__ = ("id", "name")
18492
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="id")
18493
+ """Datadog team id"""
18494
+
18495
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
18496
+ """Team name"""
18497
+
18436
18498
 
18437
18499
  class DatadogUserOutput(sgqlc.types.Type):
18438
18500
  """A Datadog user"""
@@ -26129,6 +26191,10 @@ class Mutation(sgqlc.types.Type):
26129
26191
  sgqlc.types.non_null(String), graphql_name="applicationKey", default=None
26130
26192
  ),
26131
26193
  ),
26194
+ (
26195
+ "default_incident_fields",
26196
+ sgqlc.types.Arg(JSONString, graphql_name="defaultIncidentFields", default=None),
26197
+ ),
26132
26198
  (
26133
26199
  "integration_name",
26134
26200
  sgqlc.types.Arg(
@@ -26150,6 +26216,8 @@ class Mutation(sgqlc.types.Type):
26150
26216
 
26151
26217
  * `api_key` (`String!`): Datadog API key
26152
26218
  * `application_key` (`String!`): Datadog Application key
26219
+ * `default_incident_fields` (`JSONString`): Default values for
26220
+ Datadog incident fields
26153
26221
  * `integration_name` (`String!`): Identifying name
26154
26222
  * `site` (`String!`): Datadog site (e.g. datadoghq.com)
26155
26223
  """
@@ -26164,6 +26232,10 @@ class Mutation(sgqlc.types.Type):
26164
26232
  "application_key",
26165
26233
  sgqlc.types.Arg(String, graphql_name="applicationKey", default=None),
26166
26234
  ),
26235
+ (
26236
+ "default_incident_fields",
26237
+ sgqlc.types.Arg(JSONString, graphql_name="defaultIncidentFields", default=None),
26238
+ ),
26167
26239
  (
26168
26240
  "integration_id",
26169
26241
  sgqlc.types.Arg(
@@ -26191,6 +26263,8 @@ class Mutation(sgqlc.types.Type):
26191
26263
 
26192
26264
  * `api_key` (`String`): Datadog API key
26193
26265
  * `application_key` (`String`): Datadog Application key
26266
+ * `default_incident_fields` (`JSONString`): Default values for
26267
+ Datadog incident fields
26194
26268
  * `integration_id` (`UUID!`): The integration ID
26195
26269
  * `integration_name` (`String!`): Identifying name
26196
26270
  * `site` (`String!`): Datadog site (e.g. datadoghq.com)
@@ -26233,6 +26307,7 @@ class Mutation(sgqlc.types.Type):
26233
26307
  sgqlc.types.Arg(String, graphql_name="commanderEmail", default=None),
26234
26308
  ),
26235
26309
  ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
26310
+ ("fields", sgqlc.types.Arg(JSONString, graphql_name="fields", default=None)),
26236
26311
  (
26237
26312
  "integration_id",
26238
26313
  sgqlc.types.Arg(
@@ -26256,6 +26331,8 @@ class Mutation(sgqlc.types.Type):
26256
26331
  * `commander_email` (`String`): Email of the incident commander to
26257
26332
  assign
26258
26333
  * `description` (`String`): Description of the incident
26334
+ * `fields` (`JSONString`): Additional incident fields
26335
+ (key->value).
26259
26336
  * `integration_id` (`UUID!`): ID of the Datadog integration
26260
26337
  * `title` (`String!`): Title of the incident
26261
26338
  """
@@ -44556,6 +44633,8 @@ class Query(sgqlc.types.Type):
44556
44633
  "test_datadog_credentials",
44557
44634
  "get_datadog_integrations",
44558
44635
  "get_datadog_users",
44636
+ "get_datadog_teams",
44637
+ "get_datadog_services",
44559
44638
  "get_billing_credit_grants",
44560
44639
  "get_contract_commits",
44561
44640
  "get_billing_invoices",
@@ -45769,6 +45848,65 @@ class Query(sgqlc.types.Type):
45769
45848
  * `query` (`String`): A query to filter users
45770
45849
  """
45771
45850
 
45851
+ get_datadog_teams = sgqlc.types.Field(
45852
+ sgqlc.types.list_of(DatadogTeamOutput),
45853
+ graphql_name="getDatadogTeams",
45854
+ args=sgqlc.types.ArgDict(
45855
+ (
45856
+ (
45857
+ "integration_id",
45858
+ sgqlc.types.Arg(
45859
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
45860
+ ),
45861
+ ),
45862
+ ("query", sgqlc.types.Arg(String, graphql_name="query", default=None)),
45863
+ (
45864
+ "ids",
45865
+ sgqlc.types.Arg(sgqlc.types.list_of(String), graphql_name="ids", default=None),
45866
+ ),
45867
+ ("page_number", sgqlc.types.Arg(Int, graphql_name="pageNumber", default=None)),
45868
+ ("page_size", sgqlc.types.Arg(Int, graphql_name="pageSize", default=None)),
45869
+ )
45870
+ ),
45871
+ )
45872
+ """(experimental) Get the list of Datadog incident teams
45873
+
45874
+ Arguments:
45875
+
45876
+ * `integration_id` (`UUID!`): The integration ID
45877
+ * `query` (`String`): A query to filter teams
45878
+ * `ids` (`[String]`): List of team ids to filter by
45879
+ * `page_number` (`Int`): Page number (default: 0)
45880
+ * `page_size` (`Int`): Page size (default: 100)
45881
+ """
45882
+
45883
+ get_datadog_services = sgqlc.types.Field(
45884
+ sgqlc.types.list_of(DatadogServiceOutput),
45885
+ graphql_name="getDatadogServices",
45886
+ args=sgqlc.types.ArgDict(
45887
+ (
45888
+ (
45889
+ "integration_id",
45890
+ sgqlc.types.Arg(
45891
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
45892
+ ),
45893
+ ),
45894
+ ("query", sgqlc.types.Arg(String, graphql_name="query", default=None)),
45895
+ ("page_number", sgqlc.types.Arg(Int, graphql_name="pageNumber", default=None)),
45896
+ ("page_size", sgqlc.types.Arg(Int, graphql_name="pageSize", default=None)),
45897
+ )
45898
+ ),
45899
+ )
45900
+ """(experimental) Get the list of Datadog incident services
45901
+
45902
+ Arguments:
45903
+
45904
+ * `integration_id` (`UUID!`): The integration ID
45905
+ * `query` (`String`): A query to filter services
45906
+ * `page_number` (`Int`): Page number (default: 0)
45907
+ * `page_size` (`Int`): Page size (default: 100)
45908
+ """
45909
+
45772
45910
  get_billing_credit_grants = sgqlc.types.Field(
45773
45911
  BillingCreditGrantResults,
45774
45912
  graphql_name="getBillingCreditGrants",
@@ -70238,6 +70376,7 @@ class AirflowTaskRun(sgqlc.types.Type, Node):
70238
70376
  "task_mcon",
70239
70377
  "job_mcon",
70240
70378
  "log_url",
70379
+ "attempts",
70241
70380
  )
70242
70381
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
70243
70382
 
@@ -70306,6 +70445,11 @@ class AirflowTaskRun(sgqlc.types.Type, Node):
70306
70445
  log_url = sgqlc.types.Field(String, graphql_name="logUrl")
70307
70446
  """Log URL for the Task Run"""
70308
70447
 
70448
+ attempts = sgqlc.types.Field(
70449
+ sgqlc.types.list_of(AirflowTaskRunAttempt), graphql_name="attempts"
70450
+ )
70451
+ """List of all retry attempts for this task run"""
70452
+
70309
70453
 
70310
70454
  class AlationIntegration(sgqlc.types.Type, Node):
70311
70455
  __schema__ = schema
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.194
3
+ Version: 0.10.196
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=UEjfprp10pXE6593WmYyj2kER6DuIxBIkc84HUTPBVM,6336286
39
- pycarlo/lib/schema.py,sha256=plDIF2K1mq-nUIksRS9WNxXZ1Pz25tIC4somKPrD4F4,2759178
40
- pycarlo-0.10.194.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.194.dist-info/METADATA,sha256=4weWf_U3sSZg5WXxeS1bDNjbjMikBFDSoPSeoc0iv7k,8742
42
- pycarlo-0.10.194.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.194.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.194.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=VH9Oa4XS4D2wgcpO7WKOn-dg9tNJtkqqREXB-hVSjQA,6348559
39
+ pycarlo/lib/schema.py,sha256=-_90Hv3J2DL9DilenddmJDJAHTyqymfBR4Fn81GztTM,2764433
40
+ pycarlo-0.10.196.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.196.dist-info/METADATA,sha256=f0rSzKRurBGS5F0WpwwlL3zJkF3JF3ltGwSO8pni78w,8742
42
+ pycarlo-0.10.196.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.196.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.196.dist-info/RECORD,,