pycarlo 0.10.226__tar.gz → 0.10.234__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.226 → pycarlo-0.10.234}/PKG-INFO +1 -1
  2. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/lib/schema.json +73 -7
  3. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/lib/schema.py +29 -5
  4. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo.egg-info/PKG-INFO +1 -1
  5. {pycarlo-0.10.226 → pycarlo-0.10.234}/.circleci/README.md +0 -0
  6. {pycarlo-0.10.226 → pycarlo-0.10.234}/.circleci/config.yml +0 -0
  7. {pycarlo-0.10.226 → pycarlo-0.10.234}/.coveragerc +0 -0
  8. {pycarlo-0.10.226 → pycarlo-0.10.234}/.github/workflows/release.yml +0 -0
  9. {pycarlo-0.10.226 → pycarlo-0.10.234}/.gitignore +0 -0
  10. {pycarlo-0.10.226 → pycarlo-0.10.234}/.pre-commit-config.yaml +0 -0
  11. {pycarlo-0.10.226 → pycarlo-0.10.234}/LICENSE +0 -0
  12. {pycarlo-0.10.226 → pycarlo-0.10.234}/Makefile +0 -0
  13. {pycarlo-0.10.226 → pycarlo-0.10.234}/README.md +0 -0
  14. {pycarlo-0.10.226 → pycarlo-0.10.234}/examples/sample_circuit_breaker.py +0 -0
  15. {pycarlo-0.10.226 → pycarlo-0.10.234}/examples/sample_insight_upload.py +0 -0
  16. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/__init__.py +0 -0
  17. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/__init__.py +0 -0
  18. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/errors.py +0 -0
  19. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/files.py +0 -0
  20. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/http.py +0 -0
  21. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/mcon.py +0 -0
  22. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/retries.py +0 -0
  23. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/settings.py +0 -0
  24. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/common/utils.py +0 -0
  25. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/core/__init__.py +0 -0
  26. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/core/client.py +0 -0
  27. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/core/endpoint.py +0 -0
  28. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/core/operations.py +0 -0
  29. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/core/session.py +0 -0
  30. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/__init__.py +0 -0
  31. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/circuit_breakers/__init__.py +0 -0
  32. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/circuit_breakers/exceptions.py +0 -0
  33. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/circuit_breakers/service.py +0 -0
  34. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/dbt/__init__.py +0 -0
  35. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/dbt/dbt_importer.py +0 -0
  36. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/dbt/queries.py +0 -0
  37. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/exceptions.py +0 -0
  38. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/metadata/__init__.py +0 -0
  39. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/metadata/allow_block_list.py +0 -0
  40. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/metadata/metadata_filters_container.py +0 -0
  41. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/pii/__init__.py +0 -0
  42. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/pii/constants.py +0 -0
  43. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/pii/pii_filterer.py +0 -0
  44. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/pii/queries.py +0 -0
  45. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/pii/service.py +0 -0
  46. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/user/__init__.py +0 -0
  47. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/user/exceptions.py +0 -0
  48. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/user/models.py +0 -0
  49. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/user/queries.py +0 -0
  50. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/features/user/service.py +0 -0
  51. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/lib/README.md +0 -0
  52. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo/lib/__init__.py +0 -0
  53. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo.egg-info/SOURCES.txt +0 -0
  54. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo.egg-info/dependency_links.txt +0 -0
  55. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo.egg-info/requires.txt +0 -0
  56. {pycarlo-0.10.226 → pycarlo-0.10.234}/pycarlo.egg-info/top_level.txt +0 -0
  57. {pycarlo-0.10.226 → pycarlo-0.10.234}/pyproject.toml +0 -0
  58. {pycarlo-0.10.226 → pycarlo-0.10.234}/requirements-ci.txt +0 -0
  59. {pycarlo-0.10.226 → pycarlo-0.10.234}/requirements-dev.txt +0 -0
  60. {pycarlo-0.10.226 → pycarlo-0.10.234}/requirements.txt +0 -0
  61. {pycarlo-0.10.226 → pycarlo-0.10.234}/setup.cfg +0 -0
  62. {pycarlo-0.10.226 → pycarlo-0.10.234}/setup.py +0 -0
  63. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/__init__.py +0 -0
  64. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/common/__init__.py +0 -0
  65. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/common/data.json +0 -0
  66. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/common/test_files.py +0 -0
  67. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/common/test_http.py +0 -0
  68. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/common/test_mcon.py +0 -0
  69. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/common/test_retries.py +0 -0
  70. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/common/test_utils.py +0 -0
  71. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/__init__.py +0 -0
  72. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/circuit_breakers/__init__.py +0 -0
  73. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/circuit_breakers/test_service.py +0 -0
  74. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/dbt/__init__.py +0 -0
  75. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/dbt/sample_logs.txt +0 -0
  76. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/dbt/sample_manifest.json +0 -0
  77. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/dbt/sample_run_results.json +0 -0
  78. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/dbt/test_dbt_importer.py +0 -0
  79. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/metadata/test_dataset_filtering.py +0 -0
  80. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/pii/sample_events/sample_md_events_01.json +0 -0
  81. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/pii/sample_events/sample_md_events_02.json +0 -0
  82. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/pii/test_pii_filtering.py +0 -0
  83. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/user/__init__.py +0 -0
  84. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/features/user/test_user_service.py +0 -0
  85. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/test_client.py +0 -0
  86. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/test_operations.py +0 -0
  87. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/test_retry_decorator.py +0 -0
  88. {pycarlo-0.10.226 → pycarlo-0.10.234}/tests/test_session.py +0 -0
  89. {pycarlo-0.10.226 → pycarlo-0.10.234}/utils/env.sh +0 -0
  90. {pycarlo-0.10.226 → pycarlo-0.10.234}/utils/generate.py +0 -0
  91. {pycarlo-0.10.226 → pycarlo-0.10.234}/utils/sample.env +0 -0
  92. {pycarlo-0.10.226 → pycarlo-0.10.234}/utils/sanity.py +0 -0
  93. {pycarlo-0.10.226 → pycarlo-0.10.234}/utils/vars.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.226
3
+ Version: 0.10.234
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -28255,6 +28255,20 @@
28255
28255
  "ofType": null
28256
28256
  }
28257
28257
  },
28258
+ {
28259
+ "defaultValue": null,
28260
+ "description": "Order by fields. Use camelCase and '-' for desc. e.g. ['email', '-role']",
28261
+ "name": "orderBy",
28262
+ "type": {
28263
+ "kind": "LIST",
28264
+ "name": null,
28265
+ "ofType": {
28266
+ "kind": "SCALAR",
28267
+ "name": "String",
28268
+ "ofType": null
28269
+ }
28270
+ }
28271
+ },
28258
28272
  {
28259
28273
  "defaultValue": null,
28260
28274
  "description": null,
@@ -55754,6 +55768,18 @@
55754
55768
  "ofType": null
55755
55769
  }
55756
55770
  },
55771
+ {
55772
+ "args": [],
55773
+ "deprecationReason": null,
55774
+ "description": "A friendly name for the integration",
55775
+ "isDeprecated": false,
55776
+ "name": "name",
55777
+ "type": {
55778
+ "kind": "SCALAR",
55779
+ "name": "String",
55780
+ "ofType": null
55781
+ }
55782
+ },
55757
55783
  {
55758
55784
  "args": [
55759
55785
  {
@@ -61263,7 +61289,7 @@
61263
61289
  "name": "invalidRows",
61264
61290
  "type": {
61265
61291
  "kind": "SCALAR",
61266
- "name": "Int",
61292
+ "name": "String",
61267
61293
  "ofType": null
61268
61294
  }
61269
61295
  },
@@ -61283,6 +61309,18 @@
61283
61309
  }
61284
61310
  }
61285
61311
  },
61312
+ {
61313
+ "args": [],
61314
+ "deprecationReason": null,
61315
+ "description": "Number of user comments associated with the alert",
61316
+ "isDeprecated": false,
61317
+ "name": "commentCount",
61318
+ "type": {
61319
+ "kind": "SCALAR",
61320
+ "name": "Int",
61321
+ "ofType": null
61322
+ }
61323
+ },
61286
61324
  {
61287
61325
  "args": [],
61288
61326
  "deprecationReason": null,
@@ -63052,6 +63090,18 @@
63052
63090
  "name": "String",
63053
63091
  "ofType": null
63054
63092
  }
63093
+ },
63094
+ {
63095
+ "args": [],
63096
+ "deprecationReason": null,
63097
+ "description": "SQL expression used in the evaluation",
63098
+ "isDeprecated": false,
63099
+ "name": "sqlExpression",
63100
+ "type": {
63101
+ "kind": "SCALAR",
63102
+ "name": "String",
63103
+ "ofType": null
63104
+ }
63055
63105
  }
63056
63106
  ],
63057
63107
  "inputFields": null,
@@ -112050,6 +112100,22 @@
112050
112100
  "ofType": null
112051
112101
  }
112052
112102
  },
112103
+ {
112104
+ "args": [],
112105
+ "deprecationReason": null,
112106
+ "description": "True if size collection is enabled for the asset",
112107
+ "isDeprecated": false,
112108
+ "name": "sizeCollectionEnabled",
112109
+ "type": {
112110
+ "kind": "NON_NULL",
112111
+ "name": null,
112112
+ "ofType": {
112113
+ "kind": "SCALAR",
112114
+ "name": "Boolean",
112115
+ "ofType": null
112116
+ }
112117
+ }
112118
+ },
112053
112119
  {
112054
112120
  "args": [],
112055
112121
  "deprecationReason": null,
@@ -137996,6 +138062,12 @@
137996
138062
  "description": null,
137997
138063
  "isDeprecated": false,
137998
138064
  "name": "NOTIFIED"
138065
+ },
138066
+ {
138067
+ "deprecationReason": null,
138068
+ "description": null,
138069
+ "isDeprecated": false,
138070
+ "name": "RESOLVED"
137999
138071
  }
138000
138072
  ],
138001
138073
  "fields": null,
@@ -146186,12 +146258,6 @@
146186
146258
  {
146187
146259
  "description": null,
146188
146260
  "enumValues": [
146189
- {
146190
- "deprecationReason": null,
146191
- "description": null,
146192
- "isDeprecated": false,
146193
- "name": "AI_FEATURES_OFF"
146194
- },
146195
146261
  {
146196
146262
  "deprecationReason": null,
146197
146263
  "description": null,
@@ -1764,7 +1764,6 @@ class DecryptionServiceUpdateTypeEnum(sgqlc.types.Enum):
1764
1764
  class DenialReason(sgqlc.types.Enum):
1765
1765
  """Enumeration Choices:
1766
1766
 
1767
- * `AI_FEATURES_OFF`None
1768
1767
  * `ENTITLEMENTS`None
1769
1768
  * `INVALID_USER`None
1770
1769
  * `TROUBLESHOOTING_AGENT_OFF`None
@@ -1773,7 +1772,6 @@ class DenialReason(sgqlc.types.Enum):
1773
1772
 
1774
1773
  __schema__ = schema
1775
1774
  __choices__ = (
1776
- "AI_FEATURES_OFF",
1777
1775
  "ENTITLEMENTS",
1778
1776
  "INVALID_USER",
1779
1777
  "TROUBLESHOOTING_AGENT_OFF",
@@ -4867,10 +4865,11 @@ class Status(sgqlc.types.Enum):
4867
4865
 
4868
4866
  * `NOTIFIED`None
4869
4867
  * `PENDING`None
4868
+ * `RESOLVED`None
4870
4869
  """
4871
4870
 
4872
4871
  __schema__ = schema
4873
- __choices__ = ("NOTIFIED", "PENDING")
4872
+ __choices__ = ("NOTIFIED", "PENDING", "RESOLVED")
4874
4873
 
4875
4874
 
4876
4875
  class StorageEncryptionType(sgqlc.types.Enum):
@@ -20779,7 +20778,7 @@ class EventEdge(sgqlc.types.Type):
20779
20778
 
20780
20779
  class EventEvaluation(sgqlc.types.Type):
20781
20780
  __schema__ = schema
20782
- __field_names__ = ("field", "function", "prompt", "output_type")
20781
+ __field_names__ = ("field", "function", "prompt", "output_type", "sql_expression")
20783
20782
  field = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="field")
20784
20783
  """Field evaluated"""
20785
20784
 
@@ -20792,6 +20791,9 @@ class EventEvaluation(sgqlc.types.Type):
20792
20791
  output_type = sgqlc.types.Field(String, graphql_name="outputType")
20793
20792
  """Output type used in the evaluation"""
20794
20793
 
20794
+ sql_expression = sgqlc.types.Field(String, graphql_name="sqlExpression")
20795
+ """SQL expression used in the evaluation"""
20796
+
20795
20797
 
20796
20798
  class EventGroup(sgqlc.types.Type):
20797
20799
  __schema__ = schema
@@ -23448,6 +23450,7 @@ class JobExecutionHistoryLog(sgqlc.types.Type):
23448
23450
  "comparison_data_source_type",
23449
23451
  "table_monitor_warning",
23450
23452
  "size_collection_table_mcon",
23453
+ "size_collection_enabled",
23451
23454
  "total_invocations_count",
23452
23455
  "total_result_count",
23453
23456
  "total_execution_duration",
@@ -23495,6 +23498,11 @@ class JobExecutionHistoryLog(sgqlc.types.Type):
23495
23498
  size_collection_table_mcon = sgqlc.types.Field(String, graphql_name="sizeCollectionTableMcon")
23496
23499
  """MCON of the table for size collection executions in table monitors"""
23497
23500
 
23501
+ size_collection_enabled = sgqlc.types.Field(
23502
+ sgqlc.types.non_null(Boolean), graphql_name="sizeCollectionEnabled"
23503
+ )
23504
+ """True if size collection is enabled for the asset"""
23505
+
23498
23506
  total_invocations_count = sgqlc.types.Field(Int, graphql_name="totalInvocationsCount")
23499
23507
  """Total number of invocations for the job execution. May be null if
23500
23508
  execution has not completed.
@@ -60775,6 +60783,12 @@ class Query(sgqlc.types.Type):
60775
60783
  ),
60776
60784
  ),
60777
60785
  ("search", sgqlc.types.Arg(String, graphql_name="search", default=None)),
60786
+ (
60787
+ "order_by",
60788
+ sgqlc.types.Arg(
60789
+ sgqlc.types.list_of(String), graphql_name="orderBy", default=None
60790
+ ),
60791
+ ),
60778
60792
  ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
60779
60793
  ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
60780
60794
  ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
@@ -60792,6 +60806,8 @@ class Query(sgqlc.types.Type):
60792
60806
  * `roles` (`[String]`): Filter by user roles
60793
60807
  * `search` (`String`): Filter by first name, last name or email
60794
60808
  address
60809
+ * `order_by` (`[String]`): Order by fields. Use camelCase and '-'
60810
+ for desc. e.g. ['email', '-role']
60795
60811
  * `offset` (`Int`)None
60796
60812
  * `before` (`String`)None
60797
60813
  * `after` (`String`)None
@@ -71253,6 +71269,7 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
71253
71269
  "monitor_tags",
71254
71270
  "invalid_rows",
71255
71271
  "domains",
71272
+ "comment_count",
71256
71273
  "jira_tickets",
71257
71274
  "service_now_incidents",
71258
71275
  "opsgenie_incidents",
@@ -71300,12 +71317,15 @@ class Alert(sgqlc.types.Type, NodeWithUUID):
71300
71317
  )
71301
71318
  """Monitor tags associated with the alert"""
71302
71319
 
71303
- invalid_rows = sgqlc.types.Field(Int, graphql_name="invalidRows")
71320
+ invalid_rows = sgqlc.types.Field(String, graphql_name="invalidRows")
71304
71321
  """Number of invalid rows of a breached monitor if available"""
71305
71322
 
71306
71323
  domains = sgqlc.types.Field(sgqlc.types.list_of(DomainRef), graphql_name="domains")
71307
71324
  """List of domain associated with the alert"""
71308
71325
 
71326
+ comment_count = sgqlc.types.Field(Int, graphql_name="commentCount")
71327
+ """Number of user comments associated with the alert"""
71328
+
71309
71329
  jira_tickets = sgqlc.types.Field(sgqlc.types.list_of("JiraTicket"), graphql_name="jiraTickets")
71310
71330
  """Jira tickets associated with the alert"""
71311
71331
 
@@ -75119,6 +75139,7 @@ class DbtProject(sgqlc.types.Type, Node):
75119
75139
  "config",
75120
75140
  "last_model_import",
75121
75141
  "last_test_import",
75142
+ "name",
75122
75143
  "dbt_jobs",
75123
75144
  "dbt_nodes",
75124
75145
  "dbt_edges",
@@ -75171,6 +75192,9 @@ class DbtProject(sgqlc.types.Type, Node):
75171
75192
  last_test_import = sgqlc.types.Field(DateTime, graphql_name="lastTestImport")
75172
75193
  """The date of the last test import we know about"""
75173
75194
 
75195
+ name = sgqlc.types.Field(String, graphql_name="name")
75196
+ """A friendly name for the integration"""
75197
+
75174
75198
  dbt_jobs = sgqlc.types.Field(
75175
75199
  DbtJobConnection,
75176
75200
  graphql_name="dbtJobs",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.226
3
+ Version: 0.10.234
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