pycarlo 0.10.212__py3-none-any.whl → 0.10.214__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
@@ -223,6 +223,156 @@
223
223
  "ofType": null
224
224
  }
225
225
  },
226
+ {
227
+ "args": [
228
+ {
229
+ "defaultValue": null,
230
+ "description": null,
231
+ "name": "domainIds",
232
+ "type": {
233
+ "kind": "LIST",
234
+ "name": null,
235
+ "ofType": {
236
+ "kind": "SCALAR",
237
+ "name": "UUID",
238
+ "ofType": null
239
+ }
240
+ }
241
+ },
242
+ {
243
+ "defaultValue": null,
244
+ "description": null,
245
+ "name": "tags",
246
+ "type": {
247
+ "kind": "LIST",
248
+ "name": null,
249
+ "ofType": {
250
+ "kind": "INPUT_OBJECT",
251
+ "name": "TagKeyValuePairInput",
252
+ "ofType": null
253
+ }
254
+ }
255
+ },
256
+ {
257
+ "defaultValue": null,
258
+ "description": null,
259
+ "name": "dataProductIds",
260
+ "type": {
261
+ "kind": "LIST",
262
+ "name": null,
263
+ "ofType": {
264
+ "kind": "SCALAR",
265
+ "name": "UUID",
266
+ "ofType": null
267
+ }
268
+ }
269
+ },
270
+ {
271
+ "defaultValue": "0",
272
+ "description": null,
273
+ "name": "offset",
274
+ "type": {
275
+ "kind": "SCALAR",
276
+ "name": "Int",
277
+ "ofType": null
278
+ }
279
+ },
280
+ {
281
+ "defaultValue": "15",
282
+ "description": null,
283
+ "name": "limit",
284
+ "type": {
285
+ "kind": "SCALAR",
286
+ "name": "Int",
287
+ "ofType": null
288
+ }
289
+ }
290
+ ],
291
+ "deprecationReason": null,
292
+ "description": "(experimental) Get paginated monitor counts grouped by creator",
293
+ "isDeprecated": false,
294
+ "name": "getMonitorCountsByCreator",
295
+ "type": {
296
+ "kind": "OBJECT",
297
+ "name": "CreatorMonitorCountsResponse",
298
+ "ofType": null
299
+ }
300
+ },
301
+ {
302
+ "args": [
303
+ {
304
+ "defaultValue": null,
305
+ "description": null,
306
+ "name": "domainIds",
307
+ "type": {
308
+ "kind": "LIST",
309
+ "name": null,
310
+ "ofType": {
311
+ "kind": "SCALAR",
312
+ "name": "UUID",
313
+ "ofType": null
314
+ }
315
+ }
316
+ },
317
+ {
318
+ "defaultValue": null,
319
+ "description": null,
320
+ "name": "tags",
321
+ "type": {
322
+ "kind": "LIST",
323
+ "name": null,
324
+ "ofType": {
325
+ "kind": "INPUT_OBJECT",
326
+ "name": "TagKeyValuePairInput",
327
+ "ofType": null
328
+ }
329
+ }
330
+ },
331
+ {
332
+ "defaultValue": null,
333
+ "description": null,
334
+ "name": "dataProductIds",
335
+ "type": {
336
+ "kind": "LIST",
337
+ "name": null,
338
+ "ofType": {
339
+ "kind": "SCALAR",
340
+ "name": "UUID",
341
+ "ofType": null
342
+ }
343
+ }
344
+ },
345
+ {
346
+ "defaultValue": "0",
347
+ "description": null,
348
+ "name": "offset",
349
+ "type": {
350
+ "kind": "SCALAR",
351
+ "name": "Int",
352
+ "ofType": null
353
+ }
354
+ },
355
+ {
356
+ "defaultValue": "15",
357
+ "description": null,
358
+ "name": "limit",
359
+ "type": {
360
+ "kind": "SCALAR",
361
+ "name": "Int",
362
+ "ofType": null
363
+ }
364
+ }
365
+ ],
366
+ "deprecationReason": null,
367
+ "description": "(experimental) Get paginated monitor counts grouped by monitor type",
368
+ "isDeprecated": false,
369
+ "name": "getMonitorCountsByType",
370
+ "type": {
371
+ "kind": "OBJECT",
372
+ "name": "MonitorTypeCountsResponse",
373
+ "ofType": null
374
+ }
375
+ },
226
376
  {
227
377
  "args": [
228
378
  {
@@ -3393,10 +3543,24 @@
3393
3543
  "ofType": null
3394
3544
  }
3395
3545
  }
3546
+ },
3547
+ {
3548
+ "defaultValue": null,
3549
+ "description": "Filter by task mcons",
3550
+ "name": "taskMcons",
3551
+ "type": {
3552
+ "kind": "LIST",
3553
+ "name": null,
3554
+ "ofType": {
3555
+ "kind": "SCALAR",
3556
+ "name": "String",
3557
+ "ofType": null
3558
+ }
3559
+ }
3396
3560
  }
3397
3561
  ],
3398
3562
  "deprecationReason": null,
3399
- "description": "(experimental) Get ETL tasks for the given set of ETL Jobs",
3563
+ "description": "(experimental) Get ETL tasks for the given set of ETL Jobs or specific tasks by mcons",
3400
3564
  "isDeprecated": false,
3401
3565
  "name": "getEtlTasks",
3402
3566
  "type": {
@@ -3405,6 +3569,51 @@
3405
3569
  "ofType": null
3406
3570
  }
3407
3571
  },
3572
+ {
3573
+ "args": [
3574
+ {
3575
+ "defaultValue": null,
3576
+ "description": "Search string to filter by name",
3577
+ "name": "search",
3578
+ "type": {
3579
+ "kind": "NON_NULL",
3580
+ "name": null,
3581
+ "ofType": {
3582
+ "kind": "SCALAR",
3583
+ "name": "String",
3584
+ "ofType": null
3585
+ }
3586
+ }
3587
+ },
3588
+ {
3589
+ "defaultValue": "50",
3590
+ "description": "Maximum results to return",
3591
+ "name": "limit",
3592
+ "type": {
3593
+ "kind": "SCALAR",
3594
+ "name": "Int",
3595
+ "ofType": null
3596
+ }
3597
+ }
3598
+ ],
3599
+ "deprecationReason": null,
3600
+ "description": "(experimental) Search for ETL jobs and tasks by name across all types",
3601
+ "isDeprecated": false,
3602
+ "name": "searchEtlJobsAndTasks",
3603
+ "type": {
3604
+ "kind": "LIST",
3605
+ "name": null,
3606
+ "ofType": {
3607
+ "kind": "NON_NULL",
3608
+ "name": null,
3609
+ "ofType": {
3610
+ "kind": "OBJECT",
3611
+ "name": "ETLJobOrTaskSearchResult",
3612
+ "ofType": null
3613
+ }
3614
+ }
3615
+ }
3616
+ },
3408
3617
  {
3409
3618
  "args": [
3410
3619
  {
@@ -32704,6 +32913,309 @@
32704
32913
  "name": "FacetEntry",
32705
32914
  "possibleTypes": null
32706
32915
  },
32916
+ {
32917
+ "description": null,
32918
+ "enumValues": null,
32919
+ "fields": [
32920
+ {
32921
+ "args": [],
32922
+ "deprecationReason": null,
32923
+ "description": null,
32924
+ "isDeprecated": false,
32925
+ "name": "results",
32926
+ "type": {
32927
+ "kind": "NON_NULL",
32928
+ "name": null,
32929
+ "ofType": {
32930
+ "kind": "LIST",
32931
+ "name": null,
32932
+ "ofType": {
32933
+ "kind": "OBJECT",
32934
+ "name": "CreatorMonitorCount",
32935
+ "ofType": null
32936
+ }
32937
+ }
32938
+ }
32939
+ },
32940
+ {
32941
+ "args": [],
32942
+ "deprecationReason": null,
32943
+ "description": null,
32944
+ "isDeprecated": false,
32945
+ "name": "totalCount",
32946
+ "type": {
32947
+ "kind": "NON_NULL",
32948
+ "name": null,
32949
+ "ofType": {
32950
+ "kind": "SCALAR",
32951
+ "name": "Int",
32952
+ "ofType": null
32953
+ }
32954
+ }
32955
+ },
32956
+ {
32957
+ "args": [],
32958
+ "deprecationReason": null,
32959
+ "description": null,
32960
+ "isDeprecated": false,
32961
+ "name": "offset",
32962
+ "type": {
32963
+ "kind": "NON_NULL",
32964
+ "name": null,
32965
+ "ofType": {
32966
+ "kind": "SCALAR",
32967
+ "name": "Int",
32968
+ "ofType": null
32969
+ }
32970
+ }
32971
+ },
32972
+ {
32973
+ "args": [],
32974
+ "deprecationReason": null,
32975
+ "description": null,
32976
+ "isDeprecated": false,
32977
+ "name": "limit",
32978
+ "type": {
32979
+ "kind": "NON_NULL",
32980
+ "name": null,
32981
+ "ofType": {
32982
+ "kind": "SCALAR",
32983
+ "name": "Int",
32984
+ "ofType": null
32985
+ }
32986
+ }
32987
+ }
32988
+ ],
32989
+ "inputFields": null,
32990
+ "interfaces": [],
32991
+ "kind": "OBJECT",
32992
+ "name": "CreatorMonitorCountsResponse",
32993
+ "possibleTypes": null
32994
+ },
32995
+ {
32996
+ "description": null,
32997
+ "enumValues": null,
32998
+ "fields": [
32999
+ {
33000
+ "args": [],
33001
+ "deprecationReason": null,
33002
+ "description": null,
33003
+ "isDeprecated": false,
33004
+ "name": "creator",
33005
+ "type": {
33006
+ "kind": "NON_NULL",
33007
+ "name": null,
33008
+ "ofType": {
33009
+ "kind": "OBJECT",
33010
+ "name": "CreatorDimension",
33011
+ "ofType": null
33012
+ }
33013
+ }
33014
+ },
33015
+ {
33016
+ "args": [],
33017
+ "deprecationReason": null,
33018
+ "description": null,
33019
+ "isDeprecated": false,
33020
+ "name": "count",
33021
+ "type": {
33022
+ "kind": "NON_NULL",
33023
+ "name": null,
33024
+ "ofType": {
33025
+ "kind": "SCALAR",
33026
+ "name": "Int",
33027
+ "ofType": null
33028
+ }
33029
+ }
33030
+ }
33031
+ ],
33032
+ "inputFields": null,
33033
+ "interfaces": [],
33034
+ "kind": "OBJECT",
33035
+ "name": "CreatorMonitorCount",
33036
+ "possibleTypes": null
33037
+ },
33038
+ {
33039
+ "description": null,
33040
+ "enumValues": null,
33041
+ "fields": [
33042
+ {
33043
+ "args": [],
33044
+ "deprecationReason": null,
33045
+ "description": null,
33046
+ "isDeprecated": false,
33047
+ "name": "fullName",
33048
+ "type": {
33049
+ "kind": "NON_NULL",
33050
+ "name": null,
33051
+ "ofType": {
33052
+ "kind": "SCALAR",
33053
+ "name": "String",
33054
+ "ofType": null
33055
+ }
33056
+ }
33057
+ },
33058
+ {
33059
+ "args": [],
33060
+ "deprecationReason": null,
33061
+ "description": null,
33062
+ "isDeprecated": false,
33063
+ "name": "email",
33064
+ "type": {
33065
+ "kind": "NON_NULL",
33066
+ "name": null,
33067
+ "ofType": {
33068
+ "kind": "SCALAR",
33069
+ "name": "String",
33070
+ "ofType": null
33071
+ }
33072
+ }
33073
+ },
33074
+ {
33075
+ "args": [],
33076
+ "deprecationReason": null,
33077
+ "description": null,
33078
+ "isDeprecated": false,
33079
+ "name": "userId",
33080
+ "type": {
33081
+ "kind": "NON_NULL",
33082
+ "name": null,
33083
+ "ofType": {
33084
+ "kind": "SCALAR",
33085
+ "name": "String",
33086
+ "ofType": null
33087
+ }
33088
+ }
33089
+ }
33090
+ ],
33091
+ "inputFields": null,
33092
+ "interfaces": [],
33093
+ "kind": "OBJECT",
33094
+ "name": "CreatorDimension",
33095
+ "possibleTypes": null
33096
+ },
33097
+ {
33098
+ "description": null,
33099
+ "enumValues": null,
33100
+ "fields": [
33101
+ {
33102
+ "args": [],
33103
+ "deprecationReason": null,
33104
+ "description": null,
33105
+ "isDeprecated": false,
33106
+ "name": "results",
33107
+ "type": {
33108
+ "kind": "NON_NULL",
33109
+ "name": null,
33110
+ "ofType": {
33111
+ "kind": "LIST",
33112
+ "name": null,
33113
+ "ofType": {
33114
+ "kind": "OBJECT",
33115
+ "name": "MonitorTypeCount",
33116
+ "ofType": null
33117
+ }
33118
+ }
33119
+ }
33120
+ },
33121
+ {
33122
+ "args": [],
33123
+ "deprecationReason": null,
33124
+ "description": null,
33125
+ "isDeprecated": false,
33126
+ "name": "totalCount",
33127
+ "type": {
33128
+ "kind": "NON_NULL",
33129
+ "name": null,
33130
+ "ofType": {
33131
+ "kind": "SCALAR",
33132
+ "name": "Int",
33133
+ "ofType": null
33134
+ }
33135
+ }
33136
+ },
33137
+ {
33138
+ "args": [],
33139
+ "deprecationReason": null,
33140
+ "description": null,
33141
+ "isDeprecated": false,
33142
+ "name": "offset",
33143
+ "type": {
33144
+ "kind": "NON_NULL",
33145
+ "name": null,
33146
+ "ofType": {
33147
+ "kind": "SCALAR",
33148
+ "name": "Int",
33149
+ "ofType": null
33150
+ }
33151
+ }
33152
+ },
33153
+ {
33154
+ "args": [],
33155
+ "deprecationReason": null,
33156
+ "description": null,
33157
+ "isDeprecated": false,
33158
+ "name": "limit",
33159
+ "type": {
33160
+ "kind": "NON_NULL",
33161
+ "name": null,
33162
+ "ofType": {
33163
+ "kind": "SCALAR",
33164
+ "name": "Int",
33165
+ "ofType": null
33166
+ }
33167
+ }
33168
+ }
33169
+ ],
33170
+ "inputFields": null,
33171
+ "interfaces": [],
33172
+ "kind": "OBJECT",
33173
+ "name": "MonitorTypeCountsResponse",
33174
+ "possibleTypes": null
33175
+ },
33176
+ {
33177
+ "description": null,
33178
+ "enumValues": null,
33179
+ "fields": [
33180
+ {
33181
+ "args": [],
33182
+ "deprecationReason": null,
33183
+ "description": null,
33184
+ "isDeprecated": false,
33185
+ "name": "monitorType",
33186
+ "type": {
33187
+ "kind": "NON_NULL",
33188
+ "name": null,
33189
+ "ofType": {
33190
+ "kind": "SCALAR",
33191
+ "name": "String",
33192
+ "ofType": null
33193
+ }
33194
+ }
33195
+ },
33196
+ {
33197
+ "args": [],
33198
+ "deprecationReason": null,
33199
+ "description": null,
33200
+ "isDeprecated": false,
33201
+ "name": "count",
33202
+ "type": {
33203
+ "kind": "NON_NULL",
33204
+ "name": null,
33205
+ "ofType": {
33206
+ "kind": "SCALAR",
33207
+ "name": "Int",
33208
+ "ofType": null
33209
+ }
33210
+ }
33211
+ }
33212
+ ],
33213
+ "inputFields": null,
33214
+ "interfaces": [],
33215
+ "kind": "OBJECT",
33216
+ "name": "MonitorTypeCount",
33217
+ "possibleTypes": null
33218
+ },
32707
33219
  {
32708
33220
  "description": "A Logs integration (for monitor execution logging)",
32709
33221
  "enumValues": null,
@@ -55265,6 +55777,22 @@
55265
55777
  "ofType": null
55266
55778
  }
55267
55779
  },
55780
+ {
55781
+ "args": [],
55782
+ "deprecationReason": null,
55783
+ "description": "List of domain associated with the alert",
55784
+ "isDeprecated": false,
55785
+ "name": "domains",
55786
+ "type": {
55787
+ "kind": "LIST",
55788
+ "name": null,
55789
+ "ofType": {
55790
+ "kind": "OBJECT",
55791
+ "name": "DomainRef",
55792
+ "ofType": null
55793
+ }
55794
+ }
55795
+ },
55268
55796
  {
55269
55797
  "args": [],
55270
55798
  "deprecationReason": null,
@@ -56275,6 +56803,41 @@
56275
56803
  "name": "TagKeyValuePairOutput",
56276
56804
  "possibleTypes": null
56277
56805
  },
56806
+ {
56807
+ "description": null,
56808
+ "enumValues": null,
56809
+ "fields": [
56810
+ {
56811
+ "args": [],
56812
+ "deprecationReason": null,
56813
+ "description": "Domain UUID",
56814
+ "isDeprecated": false,
56815
+ "name": "uuid",
56816
+ "type": {
56817
+ "kind": "SCALAR",
56818
+ "name": "UUID",
56819
+ "ofType": null
56820
+ }
56821
+ },
56822
+ {
56823
+ "args": [],
56824
+ "deprecationReason": null,
56825
+ "description": "Domain label",
56826
+ "isDeprecated": false,
56827
+ "name": "name",
56828
+ "type": {
56829
+ "kind": "SCALAR",
56830
+ "name": "String",
56831
+ "ofType": null
56832
+ }
56833
+ }
56834
+ ],
56835
+ "inputFields": null,
56836
+ "interfaces": [],
56837
+ "kind": "OBJECT",
56838
+ "name": "DomainRef",
56839
+ "possibleTypes": null
56840
+ },
56278
56841
  {
56279
56842
  "description": null,
56280
56843
  "enumValues": null,
@@ -97358,6 +97921,104 @@
97358
97921
  "name": "ETLTasksType",
97359
97922
  "possibleTypes": null
97360
97923
  },
97924
+ {
97925
+ "description": "Search result for ETL jobs and tasks",
97926
+ "enumValues": null,
97927
+ "fields": [
97928
+ {
97929
+ "args": [],
97930
+ "deprecationReason": null,
97931
+ "description": "Monte Carlo full identifier for an entity",
97932
+ "isDeprecated": false,
97933
+ "name": "mcon",
97934
+ "type": {
97935
+ "kind": "NON_NULL",
97936
+ "name": null,
97937
+ "ofType": {
97938
+ "kind": "SCALAR",
97939
+ "name": "String",
97940
+ "ofType": null
97941
+ }
97942
+ }
97943
+ },
97944
+ {
97945
+ "args": [],
97946
+ "deprecationReason": null,
97947
+ "description": "Name of the job or task",
97948
+ "isDeprecated": false,
97949
+ "name": "name",
97950
+ "type": {
97951
+ "kind": "NON_NULL",
97952
+ "name": null,
97953
+ "ofType": {
97954
+ "kind": "SCALAR",
97955
+ "name": "String",
97956
+ "ofType": null
97957
+ }
97958
+ }
97959
+ },
97960
+ {
97961
+ "args": [],
97962
+ "deprecationReason": null,
97963
+ "description": "ETL type (airflow, databricks, azure-data-factory, dbt)",
97964
+ "isDeprecated": false,
97965
+ "name": "etlType",
97966
+ "type": {
97967
+ "kind": "NON_NULL",
97968
+ "name": null,
97969
+ "ofType": {
97970
+ "kind": "ENUM",
97971
+ "name": "EtlType",
97972
+ "ofType": null
97973
+ }
97974
+ }
97975
+ },
97976
+ {
97977
+ "args": [],
97978
+ "deprecationReason": null,
97979
+ "description": "Whether this is a job or task",
97980
+ "isDeprecated": false,
97981
+ "name": "assetType",
97982
+ "type": {
97983
+ "kind": "NON_NULL",
97984
+ "name": null,
97985
+ "ofType": {
97986
+ "kind": "ENUM",
97987
+ "name": "ETLAssetType",
97988
+ "ofType": null
97989
+ }
97990
+ }
97991
+ }
97992
+ ],
97993
+ "inputFields": null,
97994
+ "interfaces": [],
97995
+ "kind": "OBJECT",
97996
+ "name": "ETLJobOrTaskSearchResult",
97997
+ "possibleTypes": null
97998
+ },
97999
+ {
98000
+ "description": "Enum to distinguish between jobs and tasks",
98001
+ "enumValues": [
98002
+ {
98003
+ "deprecationReason": null,
98004
+ "description": null,
98005
+ "isDeprecated": false,
98006
+ "name": "JOB"
98007
+ },
98008
+ {
98009
+ "deprecationReason": null,
98010
+ "description": null,
98011
+ "isDeprecated": false,
98012
+ "name": "TASK"
98013
+ }
98014
+ ],
98015
+ "fields": null,
98016
+ "inputFields": null,
98017
+ "interfaces": null,
98018
+ "kind": "ENUM",
98019
+ "name": "ETLAssetType",
98020
+ "possibleTypes": null
98021
+ },
97361
98022
  {
97362
98023
  "description": "Data product metric with calculated data points",
97363
98024
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -1769,6 +1769,19 @@ class DetectorStatus(sgqlc.types.Enum):
1769
1769
  __choices__ = ("ACTIVE", "INACTIVE", "TRAINING")
1770
1770
 
1771
1771
 
1772
+ class ETLAssetType(sgqlc.types.Enum):
1773
+ """Enum to distinguish between jobs and tasks
1774
+
1775
+ Enumeration Choices:
1776
+
1777
+ * `JOB`None
1778
+ * `TASK`None
1779
+ """
1780
+
1781
+ __schema__ = schema
1782
+ __choices__ = ("JOB", "TASK")
1783
+
1784
+
1772
1785
  class EdgeType(sgqlc.types.Enum):
1773
1786
  """Enumeration Choices:
1774
1787
 
@@ -17027,6 +17040,38 @@ class CreateWebexIntegration(sgqlc.types.Type):
17027
17040
  """The integration that was created"""
17028
17041
 
17029
17042
 
17043
+ class CreatorDimension(sgqlc.types.Type):
17044
+ __schema__ = schema
17045
+ __field_names__ = ("full_name", "email", "user_id")
17046
+ full_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="fullName")
17047
+
17048
+ email = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="email")
17049
+
17050
+ user_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="userId")
17051
+
17052
+
17053
+ class CreatorMonitorCount(sgqlc.types.Type):
17054
+ __schema__ = schema
17055
+ __field_names__ = ("creator", "count")
17056
+ creator = sgqlc.types.Field(sgqlc.types.non_null(CreatorDimension), graphql_name="creator")
17057
+
17058
+ count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="count")
17059
+
17060
+
17061
+ class CreatorMonitorCountsResponse(sgqlc.types.Type):
17062
+ __schema__ = schema
17063
+ __field_names__ = ("results", "total_count", "offset", "limit")
17064
+ results = sgqlc.types.Field(
17065
+ sgqlc.types.non_null(sgqlc.types.list_of(CreatorMonitorCount)), graphql_name="results"
17066
+ )
17067
+
17068
+ total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="totalCount")
17069
+
17070
+ offset = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="offset")
17071
+
17072
+ limit = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="limit")
17073
+
17074
+
17030
17075
  class CustomComparisonMetric(sgqlc.types.Type):
17031
17076
  __schema__ = schema
17032
17077
  __field_names__ = ("uuid", "display_name", "source_sql_expression", "target_sql_expression")
@@ -19848,6 +19893,16 @@ class DomainOutput(sgqlc.types.Type):
19848
19893
  """
19849
19894
 
19850
19895
 
19896
+ class DomainRef(sgqlc.types.Type):
19897
+ __schema__ = schema
19898
+ __field_names__ = ("uuid", "name")
19899
+ uuid = sgqlc.types.Field(UUID, graphql_name="uuid")
19900
+ """Domain UUID"""
19901
+
19902
+ name = sgqlc.types.Field(String, graphql_name="name")
19903
+ """Domain label"""
19904
+
19905
+
19851
19906
  class DomainRestrictionConnection(sgqlc.types.relay.Connection):
19852
19907
  __schema__ = schema
19853
19908
  __field_names__ = ("page_info", "edges")
@@ -19989,6 +20044,24 @@ class Dynamic(sgqlc.types.Type):
19989
20044
  """Explanation if min/max is missing"""
19990
20045
 
19991
20046
 
20047
+ class ETLJobOrTaskSearchResult(sgqlc.types.Type):
20048
+ """Search result for ETL jobs and tasks"""
20049
+
20050
+ __schema__ = schema
20051
+ __field_names__ = ("mcon", "name", "etl_type", "asset_type")
20052
+ mcon = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="mcon")
20053
+ """Monte Carlo full identifier for an entity"""
20054
+
20055
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
20056
+ """Name of the job or task"""
20057
+
20058
+ etl_type = sgqlc.types.Field(sgqlc.types.non_null(EtlType), graphql_name="etlType")
20059
+ """ETL type (airflow, databricks, azure-data-factory, dbt)"""
20060
+
20061
+ asset_type = sgqlc.types.Field(sgqlc.types.non_null(ETLAssetType), graphql_name="assetType")
20062
+ """Whether this is a job or task"""
20063
+
20064
+
19992
20065
  class ETLJobsConnectionTypeConnection(sgqlc.types.relay.Connection):
19993
20066
  """Etl Jobs"""
19994
20067
 
@@ -25359,6 +25432,28 @@ class MonitorTable(sgqlc.types.Type):
25359
25432
  """List of MCONs for the tables with this identifier"""
25360
25433
 
25361
25434
 
25435
+ class MonitorTypeCount(sgqlc.types.Type):
25436
+ __schema__ = schema
25437
+ __field_names__ = ("monitor_type", "count")
25438
+ monitor_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="monitorType")
25439
+
25440
+ count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="count")
25441
+
25442
+
25443
+ class MonitorTypeCountsResponse(sgqlc.types.Type):
25444
+ __schema__ = schema
25445
+ __field_names__ = ("results", "total_count", "offset", "limit")
25446
+ results = sgqlc.types.Field(
25447
+ sgqlc.types.non_null(sgqlc.types.list_of(MonitorTypeCount)), graphql_name="results"
25448
+ )
25449
+
25450
+ total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="totalCount")
25451
+
25452
+ offset = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="offset")
25453
+
25454
+ limit = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="limit")
25455
+
25456
+
25362
25457
  class MonitorWarehouse(sgqlc.types.Type):
25363
25458
  """Warehouse assets referenced by monitors, grouped by name"""
25364
25459
 
@@ -44724,6 +44819,8 @@ class Query(sgqlc.types.Type):
44724
44819
  __field_names__ = (
44725
44820
  "get_table_monitor_metric",
44726
44821
  "get_tables_for_coverage_dashboard",
44822
+ "get_monitor_counts_by_creator",
44823
+ "get_monitor_counts_by_type",
44727
44824
  "get_logs_integrations",
44728
44825
  "generate_webhook_url",
44729
44826
  "get_user_id",
@@ -44793,6 +44890,7 @@ class Query(sgqlc.types.Type):
44793
44890
  "get_etl_jobs",
44794
44891
  "get_etl_jobs_v2",
44795
44892
  "get_etl_tasks",
44893
+ "search_etl_jobs_and_tasks",
44796
44894
  "get_data_product",
44797
44895
  "get_data_product_v2",
44798
44896
  "get_data_products",
@@ -45295,6 +45393,85 @@ class Query(sgqlc.types.Type):
45295
45393
  * `data_product_ids` (`[UUID]`)None
45296
45394
  """
45297
45395
 
45396
+ get_monitor_counts_by_creator = sgqlc.types.Field(
45397
+ CreatorMonitorCountsResponse,
45398
+ graphql_name="getMonitorCountsByCreator",
45399
+ args=sgqlc.types.ArgDict(
45400
+ (
45401
+ (
45402
+ "domain_ids",
45403
+ sgqlc.types.Arg(
45404
+ sgqlc.types.list_of(UUID), graphql_name="domainIds", default=None
45405
+ ),
45406
+ ),
45407
+ (
45408
+ "tags",
45409
+ sgqlc.types.Arg(
45410
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
45411
+ ),
45412
+ ),
45413
+ (
45414
+ "data_product_ids",
45415
+ sgqlc.types.Arg(
45416
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
45417
+ ),
45418
+ ),
45419
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=0)),
45420
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=15)),
45421
+ )
45422
+ ),
45423
+ )
45424
+ """(experimental) Get paginated monitor counts grouped by creator
45425
+
45426
+ Arguments:
45427
+
45428
+ * `domain_ids` (`[UUID]`)None
45429
+ * `tags` (`[TagKeyValuePairInput]`)None
45430
+ * `data_product_ids` (`[UUID]`)None
45431
+ * `offset` (`Int`)None (default: `0`)
45432
+ * `limit` (`Int`)None (default: `15`)
45433
+ """
45434
+
45435
+ get_monitor_counts_by_type = sgqlc.types.Field(
45436
+ MonitorTypeCountsResponse,
45437
+ graphql_name="getMonitorCountsByType",
45438
+ args=sgqlc.types.ArgDict(
45439
+ (
45440
+ (
45441
+ "domain_ids",
45442
+ sgqlc.types.Arg(
45443
+ sgqlc.types.list_of(UUID), graphql_name="domainIds", default=None
45444
+ ),
45445
+ ),
45446
+ (
45447
+ "tags",
45448
+ sgqlc.types.Arg(
45449
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
45450
+ ),
45451
+ ),
45452
+ (
45453
+ "data_product_ids",
45454
+ sgqlc.types.Arg(
45455
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
45456
+ ),
45457
+ ),
45458
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=0)),
45459
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=15)),
45460
+ )
45461
+ ),
45462
+ )
45463
+ """(experimental) Get paginated monitor counts grouped by monitor
45464
+ type
45465
+
45466
+ Arguments:
45467
+
45468
+ * `domain_ids` (`[UUID]`)None
45469
+ * `tags` (`[TagKeyValuePairInput]`)None
45470
+ * `data_product_ids` (`[UUID]`)None
45471
+ * `offset` (`Int`)None (default: `0`)
45472
+ * `limit` (`Int`)None (default: `15`)
45473
+ """
45474
+
45298
45475
  get_logs_integrations = sgqlc.types.Field(
45299
45476
  sgqlc.types.list_of(LogsIntegrationOutput),
45300
45477
  graphql_name="getLogsIntegrations",
@@ -47075,16 +47252,48 @@ class Query(sgqlc.types.Type):
47075
47252
  sgqlc.types.list_of(String), graphql_name="jobMcons", default=None
47076
47253
  ),
47077
47254
  ),
47255
+ (
47256
+ "task_mcons",
47257
+ sgqlc.types.Arg(
47258
+ sgqlc.types.list_of(String), graphql_name="taskMcons", default=None
47259
+ ),
47260
+ ),
47078
47261
  )
47079
47262
  ),
47080
47263
  )
47081
- """(experimental) Get ETL tasks for the given set of ETL Jobs
47264
+ """(experimental) Get ETL tasks for the given set of ETL Jobs or
47265
+ specific tasks by mcons
47082
47266
 
47083
47267
  Arguments:
47084
47268
 
47085
47269
  * `first` (`Int!`): Page size
47086
47270
  * `offset` (`Int!`): Page offset
47087
47271
  * `job_mcons` (`[String]`): Filter by job mcons
47272
+ * `task_mcons` (`[String]`): Filter by task mcons
47273
+ """
47274
+
47275
+ search_etl_jobs_and_tasks = sgqlc.types.Field(
47276
+ sgqlc.types.list_of(sgqlc.types.non_null(ETLJobOrTaskSearchResult)),
47277
+ graphql_name="searchEtlJobsAndTasks",
47278
+ args=sgqlc.types.ArgDict(
47279
+ (
47280
+ (
47281
+ "search",
47282
+ sgqlc.types.Arg(
47283
+ sgqlc.types.non_null(String), graphql_name="search", default=None
47284
+ ),
47285
+ ),
47286
+ ("limit", sgqlc.types.Arg(Int, graphql_name="limit", default=50)),
47287
+ )
47288
+ ),
47289
+ )
47290
+ """(experimental) Search for ETL jobs and tasks by name across all
47291
+ types
47292
+
47293
+ Arguments:
47294
+
47295
+ * `search` (`String!`): Search string to filter by name
47296
+ * `limit` (`Int`): Maximum results to return (default: `50`)
47088
47297
  """
47089
47298
 
47090
47299
  get_data_product = sgqlc.types.Field(
@@ -70743,6 +70952,7 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
70743
70952
  "audiences",
70744
70953
  "monitor_tags",
70745
70954
  "invalid_rows",
70955
+ "domains",
70746
70956
  "jira_tickets",
70747
70957
  "service_now_incidents",
70748
70958
  "opsgenie_incidents",
@@ -70793,6 +71003,9 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
70793
71003
  invalid_rows = sgqlc.types.Field(Int, graphql_name="invalidRows")
70794
71004
  """Number of invalid rows of a breached monitor if available"""
70795
71005
 
71006
+ domains = sgqlc.types.Field(sgqlc.types.list_of(DomainRef), graphql_name="domains")
71007
+ """List of domain associated with the alert"""
71008
+
70796
71009
  jira_tickets = sgqlc.types.Field(sgqlc.types.list_of("JiraTicket"), graphql_name="jiraTickets")
70797
71010
  """Jira tickets associated with the alert"""
70798
71011
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.212
3
+ Version: 0.10.214
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=wOcTuWUTukT7BI4HHisvFeqjT4pTQXTR7ySLo0sQHyA,6387177
39
- pycarlo/lib/schema.py,sha256=U90TzQz2QdNbqWzu4kCgkxhZ709hLxQ1554-fuvAWKw,2778600
40
- pycarlo-0.10.212.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.212.dist-info/METADATA,sha256=IgU1cqrQnbbYWe8paIs-TpyRw79w15YAqSPty7InTSM,8742
42
- pycarlo-0.10.212.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.212.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.212.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=oovZP-m-Lx3J05etaA-8un9ORHzCpZ-DZ5EHJhzI6oM,6406892
39
+ pycarlo/lib/schema.py,sha256=rvMFNZeVdpzijDFoQuCz37haXPzh9ea7wExA2nLx7XQ,2785933
40
+ pycarlo-0.10.214.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.214.dist-info/METADATA,sha256=IN0wLFsYx5OMQrJYnl6_cuMvKxG0rrYD9QN7JFq4QgE,8742
42
+ pycarlo-0.10.214.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.214.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.214.dist-info/RECORD,,