pycarlo 0.10.170__tar.gz → 0.10.172__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.170 → pycarlo-0.10.172}/PKG-INFO +1 -1
  2. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/lib/schema.json +106 -32
  3. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/lib/schema.py +46 -1
  4. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.170 → pycarlo-0.10.172}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.170 → pycarlo-0.10.172}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.170 → pycarlo-0.10.172}/.coveragerc +0 -0
  8. {pycarlo-0.10.170 → pycarlo-0.10.172}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.170 → pycarlo-0.10.172}/.gitignore +0 -0
  10. {pycarlo-0.10.170 → pycarlo-0.10.172}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.170 → pycarlo-0.10.172}/LICENSE +0 -0
  12. {pycarlo-0.10.170 → pycarlo-0.10.172}/Makefile +0 -0
  13. {pycarlo-0.10.170 → pycarlo-0.10.172}/README.md +0 -0
  14. {pycarlo-0.10.170 → pycarlo-0.10.172}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.170 → pycarlo-0.10.172}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.170 → pycarlo-0.10.172}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.170 → pycarlo-0.10.172}/pyproject.toml +0 -0
  58. {pycarlo-0.10.170 → pycarlo-0.10.172}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.170 → pycarlo-0.10.172}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.170 → pycarlo-0.10.172}/requirements.txt +0 -0
  61. {pycarlo-0.10.170 → pycarlo-0.10.172}/setup.cfg +0 -0
  62. {pycarlo-0.10.170 → pycarlo-0.10.172}/setup.py +0 -0
  63. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.170 → pycarlo-0.10.172}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.170 → pycarlo-0.10.172}/utils/env.sh +0 -0
  90. {pycarlo-0.10.170 → pycarlo-0.10.172}/utils/generate.py +0 -0
  91. {pycarlo-0.10.170 → pycarlo-0.10.172}/utils/sample.env +0 -0
  92. {pycarlo-0.10.170 → pycarlo-0.10.172}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.170 → pycarlo-0.10.172}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.170
3
+ Version: 0.10.172
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -10109,6 +10109,16 @@
10109
10109
  "name": "Boolean",
10110
10110
  "ofType": null
10111
10111
  }
10112
+ },
10113
+ {
10114
+ "defaultValue": null,
10115
+ "description": "Sampling configuration to only read a subset of the data",
10116
+ "name": "rowSamplingConfig",
10117
+ "type": {
10118
+ "kind": "INPUT_OBJECT",
10119
+ "name": "MonitorSamplingConfigInput",
10120
+ "ofType": null
10121
+ }
10112
10122
  }
10113
10123
  ],
10114
10124
  "deprecationReason": null,
@@ -111978,6 +111988,37 @@
111978
111988
  "name": "SamplingEnabledMetricTypes",
111979
111989
  "possibleTypes": null
111980
111990
  },
111991
+ {
111992
+ "description": null,
111993
+ "enumValues": null,
111994
+ "fields": null,
111995
+ "inputFields": [
111996
+ {
111997
+ "defaultValue": null,
111998
+ "description": null,
111999
+ "name": "percentage",
112000
+ "type": {
112001
+ "kind": "SCALAR",
112002
+ "name": "Float",
112003
+ "ofType": null
112004
+ }
112005
+ },
112006
+ {
112007
+ "defaultValue": null,
112008
+ "description": null,
112009
+ "name": "count",
112010
+ "type": {
112011
+ "kind": "SCALAR",
112012
+ "name": "Int",
112013
+ "ofType": null
112014
+ }
112015
+ }
112016
+ ],
112017
+ "interfaces": null,
112018
+ "kind": "INPUT_OBJECT",
112019
+ "name": "MonitorSamplingConfigInput",
112020
+ "possibleTypes": null
112021
+ },
111981
112022
  {
111982
112023
  "description": null,
111983
112024
  "enumValues": null,
@@ -126298,7 +126339,7 @@
126298
126339
  {
126299
126340
  "args": [],
126300
126341
  "deprecationReason": null,
126301
- "description": "The hash keys of query groups in query performance events",
126342
+ "description": "Hash used to group events related to the same query",
126302
126343
  "isDeprecated": false,
126303
126344
  "name": "queryGroupHash",
126304
126345
  "type": {
@@ -166417,6 +166458,47 @@
166417
166458
  "ofType": null
166418
166459
  }
166419
166460
  },
166461
+ {
166462
+ "args": [
166463
+ {
166464
+ "defaultValue": null,
166465
+ "description": "The alert's UUID",
166466
+ "name": "alertId",
166467
+ "type": {
166468
+ "kind": "NON_NULL",
166469
+ "name": null,
166470
+ "ofType": {
166471
+ "kind": "SCALAR",
166472
+ "name": "UUID",
166473
+ "ofType": null
166474
+ }
166475
+ }
166476
+ },
166477
+ {
166478
+ "defaultValue": null,
166479
+ "description": "Invitee's email",
166480
+ "name": "email",
166481
+ "type": {
166482
+ "kind": "NON_NULL",
166483
+ "name": null,
166484
+ "ofType": {
166485
+ "kind": "SCALAR",
166486
+ "name": "String",
166487
+ "ofType": null
166488
+ }
166489
+ }
166490
+ }
166491
+ ],
166492
+ "deprecationReason": null,
166493
+ "description": "(experimental) Send an invitation to a non-user for an alert",
166494
+ "isDeprecated": false,
166495
+ "name": "sendAlertInvite",
166496
+ "type": {
166497
+ "kind": "OBJECT",
166498
+ "name": "SendAlertInvite",
166499
+ "ofType": null
166500
+ }
166501
+ },
166420
166502
  {
166421
166503
  "args": [
166422
166504
  {
@@ -186872,37 +186954,6 @@
186872
186954
  "name": "CreateOrUpdateAgentMonitor",
186873
186955
  "possibleTypes": null
186874
186956
  },
186875
- {
186876
- "description": null,
186877
- "enumValues": null,
186878
- "fields": null,
186879
- "inputFields": [
186880
- {
186881
- "defaultValue": null,
186882
- "description": null,
186883
- "name": "percentage",
186884
- "type": {
186885
- "kind": "SCALAR",
186886
- "name": "Float",
186887
- "ofType": null
186888
- }
186889
- },
186890
- {
186891
- "defaultValue": null,
186892
- "description": null,
186893
- "name": "count",
186894
- "type": {
186895
- "kind": "SCALAR",
186896
- "name": "Int",
186897
- "ofType": null
186898
- }
186899
- }
186900
- ],
186901
- "interfaces": null,
186902
- "kind": "INPUT_OBJECT",
186903
- "name": "MonitorSamplingConfigInput",
186904
- "possibleTypes": null
186905
- },
186906
186957
  {
186907
186958
  "description": null,
186908
186959
  "enumValues": null,
@@ -187715,6 +187766,29 @@
187715
187766
  "name": "AlertStatusInput",
187716
187767
  "possibleTypes": null
187717
187768
  },
187769
+ {
187770
+ "description": "Send an invitation to a non-user for an existing alert",
187771
+ "enumValues": null,
187772
+ "fields": [
187773
+ {
187774
+ "args": [],
187775
+ "deprecationReason": null,
187776
+ "description": null,
187777
+ "isDeprecated": false,
187778
+ "name": "success",
187779
+ "type": {
187780
+ "kind": "SCALAR",
187781
+ "name": "Boolean",
187782
+ "ofType": null
187783
+ }
187784
+ }
187785
+ ],
187786
+ "inputFields": null,
187787
+ "interfaces": [],
187788
+ "kind": "OBJECT",
187789
+ "name": "SendAlertInvite",
187790
+ "possibleTypes": null
187791
+ },
187718
187792
  {
187719
187793
  "description": "Create or update a domain",
187720
187794
  "enumValues": null,
@@ -20247,7 +20247,7 @@ class EventGroupKey(sgqlc.types.Type):
20247
20247
  """The metric type of the grouped events"""
20248
20248
 
20249
20249
  query_group_hash = sgqlc.types.Field(String, graphql_name="queryGroupHash")
20250
- """The hash keys of query groups in query performance events"""
20250
+ """Hash used to group events related to the same query"""
20251
20251
 
20252
20252
  job_mcon = sgqlc.types.Field(String, graphql_name="jobMcon")
20253
20253
  """MCON of the job of the grouped events"""
@@ -25510,6 +25510,7 @@ class Mutation(sgqlc.types.Type):
25510
25510
  "bulk_update_incidents",
25511
25511
  "bulk_update_alerts",
25512
25512
  "update_alert",
25513
+ "send_alert_invite",
25513
25514
  "create_or_update_domain",
25514
25515
  "delete_domain",
25515
25516
  "create_or_update_authorization_group",
@@ -37091,6 +37092,34 @@ class Mutation(sgqlc.types.Type):
37091
37092
  * `uuid` (`UUID!`): UUID of the alert to update
37092
37093
  """
37093
37094
 
37095
+ send_alert_invite = sgqlc.types.Field(
37096
+ "SendAlertInvite",
37097
+ graphql_name="sendAlertInvite",
37098
+ args=sgqlc.types.ArgDict(
37099
+ (
37100
+ (
37101
+ "alert_id",
37102
+ sgqlc.types.Arg(
37103
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
37104
+ ),
37105
+ ),
37106
+ (
37107
+ "email",
37108
+ sgqlc.types.Arg(
37109
+ sgqlc.types.non_null(String), graphql_name="email", default=None
37110
+ ),
37111
+ ),
37112
+ )
37113
+ ),
37114
+ )
37115
+ """(experimental) Send an invitation to a non-user for an alert
37116
+
37117
+ Arguments:
37118
+
37119
+ * `alert_id` (`UUID!`): The alert's UUID
37120
+ * `email` (`String!`): Invitee's email
37121
+ """
37122
+
37094
37123
  create_or_update_domain = sgqlc.types.Field(
37095
37124
  CreateOrUpdateDomain,
37096
37125
  graphql_name="createOrUpdateDomain",
@@ -49928,6 +49957,12 @@ class Query(sgqlc.types.Type):
49928
49957
  "return_total_count",
49929
49958
  sgqlc.types.Arg(Boolean, graphql_name="returnTotalCount", default=False),
49930
49959
  ),
49960
+ (
49961
+ "row_sampling_config",
49962
+ sgqlc.types.Arg(
49963
+ MonitorSamplingConfigInput, graphql_name="rowSamplingConfig", default=None
49964
+ ),
49965
+ ),
49931
49966
  )
49932
49967
  ),
49933
49968
  )
@@ -49953,6 +49988,8 @@ class Query(sgqlc.types.Type):
49953
49988
  do not run (default: `true`)
49954
49989
  * `return_total_count` (`Boolean`): Returns the total count of
49955
49990
  rows from the sampling query (default: `false`)
49991
+ * `row_sampling_config` (`MonitorSamplingConfigInput`): Sampling
49992
+ configuration to only read a subset of the data
49956
49993
  """
49957
49994
 
49958
49995
  get_field_health_sampling_conditions = sgqlc.types.Field(
@@ -62538,6 +62575,14 @@ class SelectGitlabProjects(sgqlc.types.Type):
62538
62575
  success = sgqlc.types.Field(Boolean, graphql_name="success")
62539
62576
 
62540
62577
 
62578
+ class SendAlertInvite(sgqlc.types.Type):
62579
+ """Send an invitation to a non-user for an existing alert"""
62580
+
62581
+ __schema__ = schema
62582
+ __field_names__ = ("success",)
62583
+ success = sgqlc.types.Field(Boolean, graphql_name="success")
62584
+
62585
+
62541
62586
  class SendDbtArtifactsEvent(sgqlc.types.Type):
62542
62587
  """Publish a Dbt artifacts event to Kinesis stream"""
62543
62588
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.170
3
+ Version: 0.10.172
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