pycarlo 0.10.185__py3-none-any.whl → 0.10.187__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
@@ -1065,6 +1065,41 @@
1065
1065
  }
1066
1066
  }
1067
1067
  },
1068
+ {
1069
+ "args": [
1070
+ {
1071
+ "defaultValue": null,
1072
+ "description": "Filter by warehouse type (snowflake, bigquery, databricks)",
1073
+ "name": "warehouseType",
1074
+ "type": {
1075
+ "kind": "NON_NULL",
1076
+ "name": null,
1077
+ "ofType": {
1078
+ "kind": "SCALAR",
1079
+ "name": "String",
1080
+ "ofType": null
1081
+ }
1082
+ }
1083
+ }
1084
+ ],
1085
+ "deprecationReason": null,
1086
+ "description": "(experimental) Gets all available LLM models across warehouse types",
1087
+ "isDeprecated": false,
1088
+ "name": "getWarehouseSupportedLlmModels",
1089
+ "type": {
1090
+ "kind": "LIST",
1091
+ "name": null,
1092
+ "ofType": {
1093
+ "kind": "NON_NULL",
1094
+ "name": null,
1095
+ "ofType": {
1096
+ "kind": "OBJECT",
1097
+ "name": "LLMModel",
1098
+ "ofType": null
1099
+ }
1100
+ }
1101
+ }
1102
+ },
1068
1103
  {
1069
1104
  "args": [
1070
1105
  {
@@ -35502,6 +35537,16 @@
35502
35537
  }
35503
35538
  }
35504
35539
  },
35540
+ {
35541
+ "defaultValue": null,
35542
+ "description": null,
35543
+ "name": "modelName",
35544
+ "type": {
35545
+ "kind": "SCALAR",
35546
+ "name": "String",
35547
+ "ofType": null
35548
+ }
35549
+ },
35505
35550
  {
35506
35551
  "defaultValue": null,
35507
35552
  "description": null,
@@ -37259,6 +37304,109 @@
37259
37304
  "name": "TransformFunction",
37260
37305
  "possibleTypes": null
37261
37306
  },
37307
+ {
37308
+ "description": null,
37309
+ "enumValues": null,
37310
+ "fields": [
37311
+ {
37312
+ "args": [],
37313
+ "deprecationReason": null,
37314
+ "description": null,
37315
+ "isDeprecated": false,
37316
+ "name": "name",
37317
+ "type": {
37318
+ "kind": "NON_NULL",
37319
+ "name": null,
37320
+ "ofType": {
37321
+ "kind": "SCALAR",
37322
+ "name": "String",
37323
+ "ofType": null
37324
+ }
37325
+ }
37326
+ },
37327
+ {
37328
+ "args": [],
37329
+ "deprecationReason": null,
37330
+ "description": null,
37331
+ "isDeprecated": false,
37332
+ "name": "description",
37333
+ "type": {
37334
+ "kind": "NON_NULL",
37335
+ "name": null,
37336
+ "ofType": {
37337
+ "kind": "SCALAR",
37338
+ "name": "String",
37339
+ "ofType": null
37340
+ }
37341
+ }
37342
+ },
37343
+ {
37344
+ "args": [],
37345
+ "deprecationReason": null,
37346
+ "description": null,
37347
+ "isDeprecated": false,
37348
+ "name": "warehouseType",
37349
+ "type": {
37350
+ "kind": "NON_NULL",
37351
+ "name": null,
37352
+ "ofType": {
37353
+ "kind": "SCALAR",
37354
+ "name": "String",
37355
+ "ofType": null
37356
+ }
37357
+ }
37358
+ },
37359
+ {
37360
+ "args": [],
37361
+ "deprecationReason": null,
37362
+ "description": null,
37363
+ "isDeprecated": false,
37364
+ "name": "category",
37365
+ "type": {
37366
+ "kind": "NON_NULL",
37367
+ "name": null,
37368
+ "ofType": {
37369
+ "kind": "SCALAR",
37370
+ "name": "String",
37371
+ "ofType": null
37372
+ }
37373
+ }
37374
+ },
37375
+ {
37376
+ "args": [],
37377
+ "deprecationReason": null,
37378
+ "description": null,
37379
+ "isDeprecated": false,
37380
+ "name": "contextWindow",
37381
+ "type": {
37382
+ "kind": "NON_NULL",
37383
+ "name": null,
37384
+ "ofType": {
37385
+ "kind": "SCALAR",
37386
+ "name": "Int",
37387
+ "ofType": null
37388
+ }
37389
+ }
37390
+ },
37391
+ {
37392
+ "args": [],
37393
+ "deprecationReason": null,
37394
+ "description": null,
37395
+ "isDeprecated": false,
37396
+ "name": "regions",
37397
+ "type": {
37398
+ "kind": "SCALAR",
37399
+ "name": "GenericScalar",
37400
+ "ofType": null
37401
+ }
37402
+ }
37403
+ ],
37404
+ "inputFields": null,
37405
+ "interfaces": [],
37406
+ "kind": "OBJECT",
37407
+ "name": "LLMModel",
37408
+ "possibleTypes": null
37409
+ },
37262
37410
  {
37263
37411
  "description": null,
37264
37412
  "enumValues": null,
@@ -87223,6 +87371,18 @@
87223
87371
  }
87224
87372
  }
87225
87373
  },
87374
+ {
87375
+ "args": [],
87376
+ "deprecationReason": null,
87377
+ "description": null,
87378
+ "isDeprecated": false,
87379
+ "name": "modelName",
87380
+ "type": {
87381
+ "kind": "SCALAR",
87382
+ "name": "String",
87383
+ "ofType": null
87384
+ }
87385
+ },
87226
87386
  {
87227
87387
  "args": [],
87228
87388
  "deprecationReason": null,
@@ -125907,12 +126067,6 @@
125907
126067
  "isDeprecated": false,
125908
126068
  "name": "S3_QL_EVENTS"
125909
126069
  },
125910
- {
125911
- "deprecationReason": null,
125912
- "description": null,
125913
- "isDeprecated": false,
125914
- "name": "SLO"
125915
- },
125916
126070
  {
125917
126071
  "deprecationReason": null,
125918
126072
  "description": null,
pycarlo/lib/schema.py CHANGED
@@ -3178,7 +3178,6 @@ class InternalJobType(sgqlc.types.Enum):
3178
3178
  * `REPORTS`None
3179
3179
  * `S3_METADATA_EVENTS`None
3180
3180
  * `S3_QL_EVENTS`None
3181
- * `SLO`None
3182
3181
  * `SQL_QUERY`None
3183
3182
  * `STREAM_METADATA`None
3184
3183
  * `TABLEAU_GQL`None
@@ -3196,7 +3195,6 @@ class InternalJobType(sgqlc.types.Enum):
3196
3195
  "REPORTS",
3197
3196
  "S3_METADATA_EVENTS",
3198
3197
  "S3_QL_EVENTS",
3199
- "SLO",
3200
3198
  "SQL_QUERY",
3201
3199
  "STREAM_METADATA",
3202
3200
  "TABLEAU_GQL",
@@ -10042,6 +10040,7 @@ class TransformInput(sgqlc.types.Input):
10042
10040
  "output_type",
10043
10041
  "sql_expression",
10044
10042
  "field_config_list",
10043
+ "model_name",
10045
10044
  "function",
10046
10045
  "field",
10047
10046
  "id",
@@ -10065,6 +10064,8 @@ class TransformInput(sgqlc.types.Input):
10065
10064
  sgqlc.types.list_of(sgqlc.types.non_null(FieldConfigInput)), graphql_name="fieldConfigList"
10066
10065
  )
10067
10066
 
10067
+ model_name = sgqlc.types.Field(String, graphql_name="modelName")
10068
+
10068
10069
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
10069
10070
 
10070
10071
  field = sgqlc.types.Field(String, graphql_name="field")
@@ -23229,6 +23230,29 @@ class JobsPerformanceFacetResponse(sgqlc.types.Type):
23229
23230
  """Facet options"""
23230
23231
 
23231
23232
 
23233
+ class LLMModel(sgqlc.types.Type):
23234
+ __schema__ = schema
23235
+ __field_names__ = (
23236
+ "name",
23237
+ "description",
23238
+ "warehouse_type",
23239
+ "category",
23240
+ "context_window",
23241
+ "regions",
23242
+ )
23243
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
23244
+
23245
+ description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="description")
23246
+
23247
+ warehouse_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="warehouseType")
23248
+
23249
+ category = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="category")
23250
+
23251
+ context_window = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name="contextWindow")
23252
+
23253
+ regions = sgqlc.types.Field(GenericScalar, graphql_name="regions")
23254
+
23255
+
23232
23256
  class LabelCount(sgqlc.types.Type):
23233
23257
  __schema__ = schema
23234
23258
  __field_names__ = ("label", "count")
@@ -44500,6 +44524,7 @@ class Query(sgqlc.types.Type):
44500
44524
  "generate_mc_sql",
44501
44525
  "get_sql_predicates",
44502
44526
  "get_transform_functions",
44527
+ "get_warehouse_supported_llm_models",
44503
44528
  "run_custom_query",
44504
44529
  "get_table_monitor_validation_statuses",
44505
44530
  "get_table_monitor_configuration",
@@ -45532,6 +45557,29 @@ class Query(sgqlc.types.Type):
45532
45557
  )
45533
45558
  """(experimental) Gets all available transform functions"""
45534
45559
 
45560
+ get_warehouse_supported_llm_models = sgqlc.types.Field(
45561
+ sgqlc.types.list_of(sgqlc.types.non_null(LLMModel)),
45562
+ graphql_name="getWarehouseSupportedLlmModels",
45563
+ args=sgqlc.types.ArgDict(
45564
+ (
45565
+ (
45566
+ "warehouse_type",
45567
+ sgqlc.types.Arg(
45568
+ sgqlc.types.non_null(String), graphql_name="warehouseType", default=None
45569
+ ),
45570
+ ),
45571
+ )
45572
+ ),
45573
+ )
45574
+ """(experimental) Gets all available LLM models across warehouse
45575
+ types
45576
+
45577
+ Arguments:
45578
+
45579
+ * `warehouse_type` (`String!`): Filter by warehouse type
45580
+ (snowflake, bigquery, databricks)
45581
+ """
45582
+
45535
45583
  run_custom_query = sgqlc.types.Field(
45536
45584
  "SQLResponse",
45537
45585
  graphql_name="runCustomQuery",
@@ -67255,6 +67303,7 @@ class Transform(sgqlc.types.Type):
67255
67303
  "output_type",
67256
67304
  "sql_expression",
67257
67305
  "field_config_list",
67306
+ "model_name",
67258
67307
  "function",
67259
67308
  "field",
67260
67309
  "id",
@@ -67278,6 +67327,8 @@ class Transform(sgqlc.types.Type):
67278
67327
  sgqlc.types.list_of(sgqlc.types.non_null(FieldConfig)), graphql_name="fieldConfigList"
67279
67328
  )
67280
67329
 
67330
+ model_name = sgqlc.types.Field(String, graphql_name="modelName")
67331
+
67281
67332
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
67282
67333
 
67283
67334
  field = sgqlc.types.Field(String, graphql_name="field")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.185
3
+ Version: 0.10.187
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=BSHvPzz4iNRcIUt6m0EaxCSwvM-0_GyGv3KK2ZXeQuo,6326661
39
- pycarlo/lib/schema.py,sha256=DiLA7cehL0JQBDtFHECKrDx2-RL6ECsHooT3TR4LCOg,2755115
40
- pycarlo-0.10.185.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.185.dist-info/METADATA,sha256=ynNxJd6Mo_HCFLbigLfLswRwXNtDFA_0ZilfN-zeJjE,8742
42
- pycarlo-0.10.185.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.185.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.185.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=nt5wlIIdK7HcBLX0NHTZfXhRHlPW5sqAHFdeXpMUfFg,6331212
39
+ pycarlo/lib/schema.py,sha256=aHt10OtMC08NrpHzh45ZuTEhIm29gkjd9G1FVsJj2Wg,2756760
40
+ pycarlo-0.10.187.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.187.dist-info/METADATA,sha256=H6ykyQXljY3EjZzbIiVO9RKg54AFqujtm-0-1DFi4EI,8742
42
+ pycarlo-0.10.187.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.187.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.187.dist-info/RECORD,,