pycarlo 0.10.98__tar.gz → 0.10.99__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.98 → pycarlo-0.10.99}/PKG-INFO +1 -1
  2. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/lib/schema.json +394 -0
  3. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/lib/schema.py +197 -1
  4. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.98 → pycarlo-0.10.99}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.98 → pycarlo-0.10.99}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.98 → pycarlo-0.10.99}/.coveragerc +0 -0
  8. {pycarlo-0.10.98 → pycarlo-0.10.99}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.98 → pycarlo-0.10.99}/.gitignore +0 -0
  10. {pycarlo-0.10.98 → pycarlo-0.10.99}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.98 → pycarlo-0.10.99}/LICENSE +0 -0
  12. {pycarlo-0.10.98 → pycarlo-0.10.99}/Makefile +0 -0
  13. {pycarlo-0.10.98 → pycarlo-0.10.99}/README.md +0 -0
  14. {pycarlo-0.10.98 → pycarlo-0.10.99}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.98 → pycarlo-0.10.99}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.98 → pycarlo-0.10.99}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.98 → pycarlo-0.10.99}/pyproject.toml +0 -0
  58. {pycarlo-0.10.98 → pycarlo-0.10.99}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.98 → pycarlo-0.10.99}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.98 → pycarlo-0.10.99}/requirements.txt +0 -0
  61. {pycarlo-0.10.98 → pycarlo-0.10.99}/setup.cfg +0 -0
  62. {pycarlo-0.10.98 → pycarlo-0.10.99}/setup.py +0 -0
  63. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.98 → pycarlo-0.10.99}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.98 → pycarlo-0.10.99}/utils/env.sh +0 -0
  90. {pycarlo-0.10.98 → pycarlo-0.10.99}/utils/generate.py +0 -0
  91. {pycarlo-0.10.98 → pycarlo-0.10.99}/utils/sample.env +0 -0
  92. {pycarlo-0.10.98 → pycarlo-0.10.99}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.98 → pycarlo-0.10.99}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.98
3
+ Version: 0.10.99
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -1151,6 +1151,47 @@
1151
1151
  }
1152
1152
  }
1153
1153
  },
1154
+ {
1155
+ "args": [
1156
+ {
1157
+ "defaultValue": null,
1158
+ "description": "The integration ID",
1159
+ "name": "integrationId",
1160
+ "type": {
1161
+ "kind": "NON_NULL",
1162
+ "name": null,
1163
+ "ofType": {
1164
+ "kind": "SCALAR",
1165
+ "name": "UUID",
1166
+ "ofType": null
1167
+ }
1168
+ }
1169
+ },
1170
+ {
1171
+ "defaultValue": null,
1172
+ "description": "A query to filter users",
1173
+ "name": "query",
1174
+ "type": {
1175
+ "kind": "SCALAR",
1176
+ "name": "String",
1177
+ "ofType": null
1178
+ }
1179
+ }
1180
+ ],
1181
+ "deprecationReason": null,
1182
+ "description": "(experimental) Get the list of Datadog users",
1183
+ "isDeprecated": false,
1184
+ "name": "getDatadogUsers",
1185
+ "type": {
1186
+ "kind": "LIST",
1187
+ "name": null,
1188
+ "ofType": {
1189
+ "kind": "OBJECT",
1190
+ "name": "DatadogUserOutput",
1191
+ "ofType": null
1192
+ }
1193
+ }
1194
+ },
1154
1195
  {
1155
1196
  "args": [
1156
1197
  {
@@ -33929,6 +33970,61 @@
33929
33970
  "name": "DatadogIntegrationOutput",
33930
33971
  "possibleTypes": null
33931
33972
  },
33973
+ {
33974
+ "description": "A Datadog user",
33975
+ "enumValues": null,
33976
+ "fields": [
33977
+ {
33978
+ "args": [],
33979
+ "deprecationReason": null,
33980
+ "description": "Datadog user id",
33981
+ "isDeprecated": false,
33982
+ "name": "id",
33983
+ "type": {
33984
+ "kind": "NON_NULL",
33985
+ "name": null,
33986
+ "ofType": {
33987
+ "kind": "SCALAR",
33988
+ "name": "String",
33989
+ "ofType": null
33990
+ }
33991
+ }
33992
+ },
33993
+ {
33994
+ "args": [],
33995
+ "deprecationReason": null,
33996
+ "description": "User email",
33997
+ "isDeprecated": false,
33998
+ "name": "email",
33999
+ "type": {
34000
+ "kind": "NON_NULL",
34001
+ "name": null,
34002
+ "ofType": {
34003
+ "kind": "SCALAR",
34004
+ "name": "String",
34005
+ "ofType": null
34006
+ }
34007
+ }
34008
+ },
34009
+ {
34010
+ "args": [],
34011
+ "deprecationReason": null,
34012
+ "description": "User name",
34013
+ "isDeprecated": false,
34014
+ "name": "name",
34015
+ "type": {
34016
+ "kind": "SCALAR",
34017
+ "name": "String",
34018
+ "ofType": null
34019
+ }
34020
+ }
34021
+ ],
34022
+ "inputFields": null,
34023
+ "interfaces": [],
34024
+ "kind": "OBJECT",
34025
+ "name": "DatadogUserOutput",
34026
+ "possibleTypes": null
34027
+ },
33932
34028
  {
33933
34029
  "description": null,
33934
34030
  "enumValues": null,
@@ -63096,6 +63192,50 @@
63096
63192
  "ofType": null
63097
63193
  }
63098
63194
  },
63195
+ {
63196
+ "args": [],
63197
+ "deprecationReason": null,
63198
+ "description": "Datadog internal incident identifier",
63199
+ "isDeprecated": false,
63200
+ "name": "ddIncidentId",
63201
+ "type": {
63202
+ "kind": "NON_NULL",
63203
+ "name": null,
63204
+ "ofType": {
63205
+ "kind": "SCALAR",
63206
+ "name": "String",
63207
+ "ofType": null
63208
+ }
63209
+ }
63210
+ },
63211
+ {
63212
+ "args": [],
63213
+ "deprecationReason": null,
63214
+ "description": "Datadog public incident identifier",
63215
+ "isDeprecated": false,
63216
+ "name": "ddPublicId",
63217
+ "type": {
63218
+ "kind": "NON_NULL",
63219
+ "name": null,
63220
+ "ofType": {
63221
+ "kind": "SCALAR",
63222
+ "name": "String",
63223
+ "ofType": null
63224
+ }
63225
+ }
63226
+ },
63227
+ {
63228
+ "args": [],
63229
+ "deprecationReason": null,
63230
+ "description": "Incident title captured at creation time",
63231
+ "isDeprecated": false,
63232
+ "name": "incidentTitle",
63233
+ "type": {
63234
+ "kind": "SCALAR",
63235
+ "name": "String",
63236
+ "ofType": null
63237
+ }
63238
+ },
63099
63239
  {
63100
63240
  "args": [],
63101
63241
  "deprecationReason": null,
@@ -143288,6 +143428,191 @@
143288
143428
  "ofType": null
143289
143429
  }
143290
143430
  },
143431
+ {
143432
+ "args": [
143433
+ {
143434
+ "defaultValue": null,
143435
+ "description": "ID of the alert",
143436
+ "name": "alertId",
143437
+ "type": {
143438
+ "kind": "NON_NULL",
143439
+ "name": null,
143440
+ "ofType": {
143441
+ "kind": "SCALAR",
143442
+ "name": "UUID",
143443
+ "ofType": null
143444
+ }
143445
+ }
143446
+ },
143447
+ {
143448
+ "defaultValue": null,
143449
+ "description": "Email of the incident commander to assign",
143450
+ "name": "commanderEmail",
143451
+ "type": {
143452
+ "kind": "SCALAR",
143453
+ "name": "String",
143454
+ "ofType": null
143455
+ }
143456
+ },
143457
+ {
143458
+ "defaultValue": null,
143459
+ "description": "Description of the incident",
143460
+ "name": "description",
143461
+ "type": {
143462
+ "kind": "SCALAR",
143463
+ "name": "String",
143464
+ "ofType": null
143465
+ }
143466
+ },
143467
+ {
143468
+ "defaultValue": null,
143469
+ "description": "ID of the Datadog integration",
143470
+ "name": "integrationId",
143471
+ "type": {
143472
+ "kind": "NON_NULL",
143473
+ "name": null,
143474
+ "ofType": {
143475
+ "kind": "SCALAR",
143476
+ "name": "UUID",
143477
+ "ofType": null
143478
+ }
143479
+ }
143480
+ },
143481
+ {
143482
+ "defaultValue": null,
143483
+ "description": "Title of the incident",
143484
+ "name": "title",
143485
+ "type": {
143486
+ "kind": "NON_NULL",
143487
+ "name": null,
143488
+ "ofType": {
143489
+ "kind": "SCALAR",
143490
+ "name": "String",
143491
+ "ofType": null
143492
+ }
143493
+ }
143494
+ }
143495
+ ],
143496
+ "deprecationReason": null,
143497
+ "description": "(experimental) Create a Datadog incident for alert",
143498
+ "isDeprecated": false,
143499
+ "name": "createDatadogIncidentForAlert",
143500
+ "type": {
143501
+ "kind": "OBJECT",
143502
+ "name": "CreateDatadogIncidentForAlert",
143503
+ "ofType": null
143504
+ }
143505
+ },
143506
+ {
143507
+ "args": [
143508
+ {
143509
+ "defaultValue": null,
143510
+ "description": "ID of the alert",
143511
+ "name": "alertId",
143512
+ "type": {
143513
+ "kind": "NON_NULL",
143514
+ "name": null,
143515
+ "ofType": {
143516
+ "kind": "SCALAR",
143517
+ "name": "UUID",
143518
+ "ofType": null
143519
+ }
143520
+ }
143521
+ },
143522
+ {
143523
+ "defaultValue": null,
143524
+ "description": "Full Datadog incident URL (any site/region). Requires incident_read scope to resolve the incident UUID.",
143525
+ "name": "ddIncidentUrl",
143526
+ "type": {
143527
+ "kind": "NON_NULL",
143528
+ "name": null,
143529
+ "ofType": {
143530
+ "kind": "SCALAR",
143531
+ "name": "String",
143532
+ "ofType": null
143533
+ }
143534
+ }
143535
+ },
143536
+ {
143537
+ "defaultValue": null,
143538
+ "description": "ID of the Datadog integration",
143539
+ "name": "integrationId",
143540
+ "type": {
143541
+ "kind": "NON_NULL",
143542
+ "name": null,
143543
+ "ofType": {
143544
+ "kind": "SCALAR",
143545
+ "name": "UUID",
143546
+ "ofType": null
143547
+ }
143548
+ }
143549
+ }
143550
+ ],
143551
+ "deprecationReason": null,
143552
+ "description": "(experimental) Link Datadog Incident for Alert",
143553
+ "isDeprecated": false,
143554
+ "name": "linkDatadogIncidentForAlert",
143555
+ "type": {
143556
+ "kind": "OBJECT",
143557
+ "name": "LinkDatadogIncidentForAlert",
143558
+ "ofType": null
143559
+ }
143560
+ },
143561
+ {
143562
+ "args": [
143563
+ {
143564
+ "defaultValue": null,
143565
+ "description": "ID of the alert",
143566
+ "name": "alertId",
143567
+ "type": {
143568
+ "kind": "NON_NULL",
143569
+ "name": null,
143570
+ "ofType": {
143571
+ "kind": "SCALAR",
143572
+ "name": "UUID",
143573
+ "ofType": null
143574
+ }
143575
+ }
143576
+ },
143577
+ {
143578
+ "defaultValue": null,
143579
+ "description": "Datadog internal incident id",
143580
+ "name": "ddIncidentId",
143581
+ "type": {
143582
+ "kind": "NON_NULL",
143583
+ "name": null,
143584
+ "ofType": {
143585
+ "kind": "SCALAR",
143586
+ "name": "String",
143587
+ "ofType": null
143588
+ }
143589
+ }
143590
+ },
143591
+ {
143592
+ "defaultValue": null,
143593
+ "description": "ID of the Datadog integration",
143594
+ "name": "integrationId",
143595
+ "type": {
143596
+ "kind": "NON_NULL",
143597
+ "name": null,
143598
+ "ofType": {
143599
+ "kind": "SCALAR",
143600
+ "name": "UUID",
143601
+ "ofType": null
143602
+ }
143603
+ }
143604
+ }
143605
+ ],
143606
+ "deprecationReason": null,
143607
+ "description": "(experimental) Unlink Datadog Incident for Alert",
143608
+ "isDeprecated": false,
143609
+ "name": "unlinkDatadogIncidentForAlert",
143610
+ "type": {
143611
+ "kind": "OBJECT",
143612
+ "name": "UnlinkDatadogIncidentForAlert",
143613
+ "ofType": null
143614
+ }
143615
+ },
143291
143616
  {
143292
143617
  "args": [
143293
143618
  {
@@ -168322,6 +168647,75 @@
168322
168647
  "name": "DeleteDatadogIntegration",
168323
168648
  "possibleTypes": null
168324
168649
  },
168650
+ {
168651
+ "description": null,
168652
+ "enumValues": null,
168653
+ "fields": [
168654
+ {
168655
+ "args": [],
168656
+ "deprecationReason": null,
168657
+ "description": "The created Datadog incident",
168658
+ "isDeprecated": false,
168659
+ "name": "datadogIncident",
168660
+ "type": {
168661
+ "kind": "OBJECT",
168662
+ "name": "DatadogIncident",
168663
+ "ofType": null
168664
+ }
168665
+ }
168666
+ ],
168667
+ "inputFields": null,
168668
+ "interfaces": [],
168669
+ "kind": "OBJECT",
168670
+ "name": "CreateDatadogIncidentForAlert",
168671
+ "possibleTypes": null
168672
+ },
168673
+ {
168674
+ "description": null,
168675
+ "enumValues": null,
168676
+ "fields": [
168677
+ {
168678
+ "args": [],
168679
+ "deprecationReason": null,
168680
+ "description": "The linked Datadog incident",
168681
+ "isDeprecated": false,
168682
+ "name": "datadogIncident",
168683
+ "type": {
168684
+ "kind": "OBJECT",
168685
+ "name": "DatadogIncident",
168686
+ "ofType": null
168687
+ }
168688
+ }
168689
+ ],
168690
+ "inputFields": null,
168691
+ "interfaces": [],
168692
+ "kind": "OBJECT",
168693
+ "name": "LinkDatadogIncidentForAlert",
168694
+ "possibleTypes": null
168695
+ },
168696
+ {
168697
+ "description": null,
168698
+ "enumValues": null,
168699
+ "fields": [
168700
+ {
168701
+ "args": [],
168702
+ "deprecationReason": null,
168703
+ "description": "True if the incident was unlinked",
168704
+ "isDeprecated": false,
168705
+ "name": "unlinked",
168706
+ "type": {
168707
+ "kind": "SCALAR",
168708
+ "name": "Boolean",
168709
+ "ofType": null
168710
+ }
168711
+ }
168712
+ ],
168713
+ "inputFields": null,
168714
+ "interfaces": [],
168715
+ "kind": "OBJECT",
168716
+ "name": "UnlinkDatadogIncidentForAlert",
168717
+ "possibleTypes": null
168718
+ },
168325
168719
  {
168326
168720
  "description": "Create or update a table monitor",
168327
168721
  "enumValues": null,
@@ -15517,6 +15517,13 @@ class CreateDatabricksSecret(sgqlc.types.Type):
15517
15517
  """Name of the secret that was created"""
15518
15518
 
15519
15519
 
15520
+ class CreateDatadogIncidentForAlert(sgqlc.types.Type):
15521
+ __schema__ = schema
15522
+ __field_names__ = ("datadog_incident",)
15523
+ datadog_incident = sgqlc.types.Field("DatadogIncident", graphql_name="datadogIncident")
15524
+ """The created Datadog incident"""
15525
+
15526
+
15520
15527
  class CreateDatadogIntegration(sgqlc.types.Type):
15521
15528
  __schema__ = schema
15522
15529
  __field_names__ = ("datadog_integration",)
@@ -17652,6 +17659,21 @@ class DatadogIntegrationOutput(sgqlc.types.Type):
17652
17659
  """Datadog site (e.g. datadoghq.com)"""
17653
17660
 
17654
17661
 
17662
+ class DatadogUserOutput(sgqlc.types.Type):
17663
+ """A Datadog user"""
17664
+
17665
+ __schema__ = schema
17666
+ __field_names__ = ("id", "email", "name")
17667
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="id")
17668
+ """Datadog user id"""
17669
+
17670
+ email = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="email")
17671
+ """User email"""
17672
+
17673
+ name = sgqlc.types.Field(String, graphql_name="name")
17674
+ """User name"""
17675
+
17676
+
17655
17677
  class DatasetConnection(sgqlc.types.relay.Connection):
17656
17678
  __schema__ = schema
17657
17679
  __field_names__ = ("page_info", "edges")
@@ -23046,6 +23068,13 @@ class LinkAzureDevopsInstallation(sgqlc.types.Type):
23046
23068
  """Updated Azure DevOps installation"""
23047
23069
 
23048
23070
 
23071
+ class LinkDatadogIncidentForAlert(sgqlc.types.Type):
23072
+ __schema__ = schema
23073
+ __field_names__ = ("datadog_incident",)
23074
+ datadog_incident = sgqlc.types.Field("DatadogIncident", graphql_name="datadogIncident")
23075
+ """The linked Datadog incident"""
23076
+
23077
+
23049
23078
  class LinkGithubAppInstallation(sgqlc.types.Type):
23050
23079
  """Called from the FE as part of the post-installation callback. The
23051
23080
  "code" parameter is used to validate that the request is an
@@ -24418,6 +24447,9 @@ class Mutation(sgqlc.types.Type):
24418
24447
  "create_datadog_integration",
24419
24448
  "update_datadog_integration",
24420
24449
  "delete_datadog_integration",
24450
+ "create_datadog_incident_for_alert",
24451
+ "link_datadog_incident_for_alert",
24452
+ "unlink_datadog_incident_for_alert",
24421
24453
  "create_or_update_table_monitor",
24422
24454
  "pause_table_monitor",
24423
24455
  "delete_table_monitor",
@@ -25116,6 +25148,121 @@ class Mutation(sgqlc.types.Type):
25116
25148
  * `integration_id` (`UUID!`): The integration ID
25117
25149
  """
25118
25150
 
25151
+ create_datadog_incident_for_alert = sgqlc.types.Field(
25152
+ CreateDatadogIncidentForAlert,
25153
+ graphql_name="createDatadogIncidentForAlert",
25154
+ args=sgqlc.types.ArgDict(
25155
+ (
25156
+ (
25157
+ "alert_id",
25158
+ sgqlc.types.Arg(
25159
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
25160
+ ),
25161
+ ),
25162
+ (
25163
+ "commander_email",
25164
+ sgqlc.types.Arg(String, graphql_name="commanderEmail", default=None),
25165
+ ),
25166
+ ("description", sgqlc.types.Arg(String, graphql_name="description", default=None)),
25167
+ (
25168
+ "integration_id",
25169
+ sgqlc.types.Arg(
25170
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
25171
+ ),
25172
+ ),
25173
+ (
25174
+ "title",
25175
+ sgqlc.types.Arg(
25176
+ sgqlc.types.non_null(String), graphql_name="title", default=None
25177
+ ),
25178
+ ),
25179
+ )
25180
+ ),
25181
+ )
25182
+ """(experimental) Create a Datadog incident for alert
25183
+
25184
+ Arguments:
25185
+
25186
+ * `alert_id` (`UUID!`): ID of the alert
25187
+ * `commander_email` (`String`): Email of the incident commander to
25188
+ assign
25189
+ * `description` (`String`): Description of the incident
25190
+ * `integration_id` (`UUID!`): ID of the Datadog integration
25191
+ * `title` (`String!`): Title of the incident
25192
+ """
25193
+
25194
+ link_datadog_incident_for_alert = sgqlc.types.Field(
25195
+ LinkDatadogIncidentForAlert,
25196
+ graphql_name="linkDatadogIncidentForAlert",
25197
+ args=sgqlc.types.ArgDict(
25198
+ (
25199
+ (
25200
+ "alert_id",
25201
+ sgqlc.types.Arg(
25202
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
25203
+ ),
25204
+ ),
25205
+ (
25206
+ "dd_incident_url",
25207
+ sgqlc.types.Arg(
25208
+ sgqlc.types.non_null(String), graphql_name="ddIncidentUrl", default=None
25209
+ ),
25210
+ ),
25211
+ (
25212
+ "integration_id",
25213
+ sgqlc.types.Arg(
25214
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
25215
+ ),
25216
+ ),
25217
+ )
25218
+ ),
25219
+ )
25220
+ """(experimental) Link Datadog Incident for Alert
25221
+
25222
+ Arguments:
25223
+
25224
+ * `alert_id` (`UUID!`): ID of the alert
25225
+ * `dd_incident_url` (`String!`): Full Datadog incident URL (any
25226
+ site/region). Requires incident_read scope to resolve the
25227
+ incident UUID.
25228
+ * `integration_id` (`UUID!`): ID of the Datadog integration
25229
+ """
25230
+
25231
+ unlink_datadog_incident_for_alert = sgqlc.types.Field(
25232
+ "UnlinkDatadogIncidentForAlert",
25233
+ graphql_name="unlinkDatadogIncidentForAlert",
25234
+ args=sgqlc.types.ArgDict(
25235
+ (
25236
+ (
25237
+ "alert_id",
25238
+ sgqlc.types.Arg(
25239
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
25240
+ ),
25241
+ ),
25242
+ (
25243
+ "dd_incident_id",
25244
+ sgqlc.types.Arg(
25245
+ sgqlc.types.non_null(String), graphql_name="ddIncidentId", default=None
25246
+ ),
25247
+ ),
25248
+ (
25249
+ "integration_id",
25250
+ sgqlc.types.Arg(
25251
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
25252
+ ),
25253
+ ),
25254
+ )
25255
+ ),
25256
+ )
25257
+ """(experimental) Unlink Datadog Incident for Alert
25258
+
25259
+ Arguments:
25260
+
25261
+ * `alert_id` (`UUID!`): ID of the alert
25262
+ * `dd_incident_id` (`String!`): Datadog internal incident id
25263
+ * `integration_id` (`UUID!`): ID of the Datadog integration
25264
+ """
25265
+
25119
25266
  create_or_update_table_monitor = sgqlc.types.Field(
25120
25267
  CreateOrUpdateTableMonitor,
25121
25268
  graphql_name="createOrUpdateTableMonitor",
@@ -42542,6 +42689,7 @@ class Query(sgqlc.types.Type):
42542
42689
  "get_default_monitor_configuration",
42543
42690
  "test_datadog_credentials",
42544
42691
  "get_datadog_integrations",
42692
+ "get_datadog_users",
42545
42693
  "get_billing_credit_grants",
42546
42694
  "get_contract_commits",
42547
42695
  "get_billing_invoices",
@@ -43595,6 +43743,29 @@ class Query(sgqlc.types.Type):
43595
43743
  * `integration_id` (`UUID`): Filter by integration ID
43596
43744
  """
43597
43745
 
43746
+ get_datadog_users = sgqlc.types.Field(
43747
+ sgqlc.types.list_of(DatadogUserOutput),
43748
+ graphql_name="getDatadogUsers",
43749
+ args=sgqlc.types.ArgDict(
43750
+ (
43751
+ (
43752
+ "integration_id",
43753
+ sgqlc.types.Arg(
43754
+ sgqlc.types.non_null(UUID), graphql_name="integrationId", default=None
43755
+ ),
43756
+ ),
43757
+ ("query", sgqlc.types.Arg(String, graphql_name="query", default=None)),
43758
+ )
43759
+ ),
43760
+ )
43761
+ """(experimental) Get the list of Datadog users
43762
+
43763
+ Arguments:
43764
+
43765
+ * `integration_id` (`UUID!`): The integration ID
43766
+ * `query` (`String`): A query to filter users
43767
+ """
43768
+
43598
43769
  get_billing_credit_grants = sgqlc.types.Field(
43599
43770
  BillingCreditGrantResults,
43600
43771
  graphql_name="getBillingCreditGrants",
@@ -63677,6 +63848,13 @@ class UnknownVectorIndexMetadata(sgqlc.types.Type):
63677
63848
  vector_db = sgqlc.types.Field(String, graphql_name="vectorDb")
63678
63849
 
63679
63850
 
63851
+ class UnlinkDatadogIncidentForAlert(sgqlc.types.Type):
63852
+ __schema__ = schema
63853
+ __field_names__ = ("unlinked",)
63854
+ unlinked = sgqlc.types.Field(Boolean, graphql_name="unlinked")
63855
+ """True if the incident was unlinked"""
63856
+
63857
+
63680
63858
  class UnlinkJiraTicketForAlert(sgqlc.types.Type):
63681
63859
  __schema__ = schema
63682
63860
  __field_names__ = ("unlinked",)
@@ -69382,10 +69560,28 @@ class DatabricksTaskRun(sgqlc.types.Type, Node):
69382
69560
 
69383
69561
  class DatadogIncident(sgqlc.types.Type, NodeWithUUID):
69384
69562
  __schema__ = schema
69385
- __field_names__ = ("created_by", "display_name", "incident_url", "integration_id", "created_at")
69563
+ __field_names__ = (
69564
+ "created_by",
69565
+ "dd_incident_id",
69566
+ "dd_public_id",
69567
+ "incident_title",
69568
+ "display_name",
69569
+ "incident_url",
69570
+ "integration_id",
69571
+ "created_at",
69572
+ )
69386
69573
  created_by = sgqlc.types.Field("User", graphql_name="createdBy")
69387
69574
  """Creator"""
69388
69575
 
69576
+ dd_incident_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="ddIncidentId")
69577
+ """Datadog internal incident identifier"""
69578
+
69579
+ dd_public_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="ddPublicId")
69580
+ """Datadog public incident identifier"""
69581
+
69582
+ incident_title = sgqlc.types.Field(String, graphql_name="incidentTitle")
69583
+ """Incident title captured at creation time"""
69584
+
69389
69585
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="displayName")
69390
69586
 
69391
69587
  incident_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="incidentUrl")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.98
3
+ Version: 0.10.99
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
File without changes
File without changes
File without changes