pycarlo 0.10.67__py3-none-any.whl → 0.10.69__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
@@ -887,6 +887,22 @@
887
887
  }
888
888
  }
889
889
  },
890
+ {
891
+ "args": [],
892
+ "deprecationReason": null,
893
+ "description": "(experimental) gets all available transform functions",
894
+ "isDeprecated": false,
895
+ "name": "getTransformFunctions",
896
+ "type": {
897
+ "kind": "LIST",
898
+ "name": null,
899
+ "ofType": {
900
+ "kind": "OBJECT",
901
+ "name": "TransformFunction",
902
+ "ofType": null
903
+ }
904
+ }
905
+ },
890
906
  {
891
907
  "args": [
892
908
  {
@@ -31484,13 +31500,9 @@
31484
31500
  "description": null,
31485
31501
  "name": "field",
31486
31502
  "type": {
31487
- "kind": "NON_NULL",
31488
- "name": null,
31489
- "ofType": {
31490
- "kind": "SCALAR",
31491
- "name": "String",
31492
- "ofType": null
31493
- }
31503
+ "kind": "SCALAR",
31504
+ "name": "String",
31505
+ "ofType": null
31494
31506
  }
31495
31507
  },
31496
31508
  {
@@ -32889,6 +32901,165 @@
32889
32901
  "name": "PredicateRequiredType",
32890
32902
  "possibleTypes": null
32891
32903
  },
32904
+ {
32905
+ "description": null,
32906
+ "enumValues": null,
32907
+ "fields": [
32908
+ {
32909
+ "args": [],
32910
+ "deprecationReason": null,
32911
+ "description": null,
32912
+ "isDeprecated": false,
32913
+ "name": "name",
32914
+ "type": {
32915
+ "kind": "NON_NULL",
32916
+ "name": null,
32917
+ "ofType": {
32918
+ "kind": "SCALAR",
32919
+ "name": "String",
32920
+ "ofType": null
32921
+ }
32922
+ }
32923
+ },
32924
+ {
32925
+ "args": [],
32926
+ "deprecationReason": null,
32927
+ "description": null,
32928
+ "isDeprecated": false,
32929
+ "name": "description",
32930
+ "type": {
32931
+ "kind": "NON_NULL",
32932
+ "name": null,
32933
+ "ofType": {
32934
+ "kind": "SCALAR",
32935
+ "name": "String",
32936
+ "ofType": null
32937
+ }
32938
+ }
32939
+ },
32940
+ {
32941
+ "args": [],
32942
+ "deprecationReason": null,
32943
+ "description": null,
32944
+ "isDeprecated": false,
32945
+ "name": "sql",
32946
+ "type": {
32947
+ "kind": "NON_NULL",
32948
+ "name": null,
32949
+ "ofType": {
32950
+ "kind": "SCALAR",
32951
+ "name": "String",
32952
+ "ofType": null
32953
+ }
32954
+ }
32955
+ },
32956
+ {
32957
+ "args": [],
32958
+ "deprecationReason": null,
32959
+ "description": null,
32960
+ "isDeprecated": false,
32961
+ "name": "supportedTypes",
32962
+ "type": {
32963
+ "kind": "NON_NULL",
32964
+ "name": null,
32965
+ "ofType": {
32966
+ "kind": "LIST",
32967
+ "name": null,
32968
+ "ofType": {
32969
+ "kind": "NON_NULL",
32970
+ "name": null,
32971
+ "ofType": {
32972
+ "kind": "ENUM",
32973
+ "name": "FieldType",
32974
+ "ofType": null
32975
+ }
32976
+ }
32977
+ }
32978
+ }
32979
+ },
32980
+ {
32981
+ "args": [],
32982
+ "deprecationReason": null,
32983
+ "description": null,
32984
+ "isDeprecated": false,
32985
+ "name": "requiredType",
32986
+ "type": {
32987
+ "kind": "NON_NULL",
32988
+ "name": null,
32989
+ "ofType": {
32990
+ "kind": "ENUM",
32991
+ "name": "PredicateRequiredType",
32992
+ "ofType": null
32993
+ }
32994
+ }
32995
+ },
32996
+ {
32997
+ "args": [],
32998
+ "deprecationReason": null,
32999
+ "description": null,
33000
+ "isDeprecated": false,
33001
+ "name": "supportedConnections",
33002
+ "type": {
33003
+ "kind": "NON_NULL",
33004
+ "name": null,
33005
+ "ofType": {
33006
+ "kind": "LIST",
33007
+ "name": null,
33008
+ "ofType": {
33009
+ "kind": "NON_NULL",
33010
+ "name": null,
33011
+ "ofType": {
33012
+ "kind": "SCALAR",
33013
+ "name": "String",
33014
+ "ofType": null
33015
+ }
33016
+ }
33017
+ }
33018
+ }
33019
+ },
33020
+ {
33021
+ "args": [],
33022
+ "deprecationReason": null,
33023
+ "description": null,
33024
+ "isDeprecated": false,
33025
+ "name": "responseFormat",
33026
+ "type": {
33027
+ "kind": "SCALAR",
33028
+ "name": "String",
33029
+ "ofType": null
33030
+ }
33031
+ },
33032
+ {
33033
+ "args": [],
33034
+ "deprecationReason": null,
33035
+ "description": null,
33036
+ "isDeprecated": false,
33037
+ "name": "category",
33038
+ "type": {
33039
+ "kind": "SCALAR",
33040
+ "name": "String",
33041
+ "ofType": null
33042
+ }
33043
+ },
33044
+ {
33045
+ "args": [],
33046
+ "deprecationReason": null,
33047
+ "description": null,
33048
+ "isDeprecated": false,
33049
+ "name": "standardPrompt",
33050
+ "type": {
33051
+ "kind": "SCALAR",
33052
+ "name": "String",
33053
+ "ofType": null
33054
+ }
33055
+ }
33056
+ ],
33057
+ "inputFields": null,
33058
+ "interfaces": [],
33059
+ "kind": "OBJECT",
33060
+ "name": "TransformFunction",
33061
+ "possibleTypes": null
33062
+ },
32892
33063
  {
32893
33064
  "description": null,
32894
33065
  "enumValues": null,
@@ -55313,10 +55484,10 @@
55313
55484
  {
55314
55485
  "defaultValue": null,
55315
55486
  "description": null,
55316
- "name": "offset",
55487
+ "name": "matchOnCatalog",
55317
55488
  "type": {
55318
55489
  "kind": "SCALAR",
55319
- "name": "Int",
55490
+ "name": "Boolean",
55320
55491
  "ofType": null
55321
55492
  }
55322
55493
  },
@@ -55362,17 +55533,13 @@
55362
55533
  }
55363
55534
  ],
55364
55535
  "deprecationReason": null,
55365
- "description": "Associated dbt project",
55536
+ "description": null,
55366
55537
  "isDeprecated": false,
55367
55538
  "name": "dbtJobs",
55368
55539
  "type": {
55369
- "kind": "NON_NULL",
55370
- "name": null,
55371
- "ofType": {
55372
- "kind": "OBJECT",
55373
- "name": "DbtJobConnection",
55374
- "ofType": null
55375
- }
55540
+ "kind": "OBJECT",
55541
+ "name": "DbtJobConnection",
55542
+ "ofType": null
55376
55543
  }
55377
55544
  },
55378
55545
  {
@@ -82479,13 +82646,9 @@
82479
82646
  "isDeprecated": false,
82480
82647
  "name": "field",
82481
82648
  "type": {
82482
- "kind": "NON_NULL",
82483
- "name": null,
82484
- "ofType": {
82485
- "kind": "SCALAR",
82486
- "name": "String",
82487
- "ofType": null
82488
- }
82649
+ "kind": "SCALAR",
82650
+ "name": "String",
82651
+ "ofType": null
82489
82652
  }
82490
82653
  },
82491
82654
  {
pycarlo/lib/schema.py CHANGED
@@ -9737,7 +9737,7 @@ class TransformInput(sgqlc.types.Input):
9737
9737
 
9738
9738
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
9739
9739
 
9740
- field = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="field")
9740
+ field = sgqlc.types.Field(String, graphql_name="field")
9741
9741
 
9742
9742
  id = sgqlc.types.Field(String, graphql_name="id")
9743
9743
 
@@ -41982,6 +41982,7 @@ class Query(sgqlc.types.Type):
41982
41982
  "evaluate_sql_blocks",
41983
41983
  "generate_mc_sql",
41984
41984
  "get_sql_predicates",
41985
+ "get_transform_functions",
41985
41986
  "run_custom_query",
41986
41987
  "get_table_monitor_validation_statuses",
41987
41988
  "get_table_monitor_configuration",
@@ -42890,6 +42891,11 @@ class Query(sgqlc.types.Type):
42890
42891
  sgqlc.types.list_of(Predicate), graphql_name="getSqlPredicates"
42891
42892
  )
42892
42893
 
42894
+ get_transform_functions = sgqlc.types.Field(
42895
+ sgqlc.types.list_of("TransformFunction"), graphql_name="getTransformFunctions"
42896
+ )
42897
+ """(experimental) gets all available transform functions"""
42898
+
42893
42899
  run_custom_query = sgqlc.types.Field(
42894
42900
  "SQLResponse",
42895
42901
  graphql_name="runCustomQuery",
@@ -62717,11 +62723,51 @@ class Transform(sgqlc.types.Type):
62717
62723
 
62718
62724
  function = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="function")
62719
62725
 
62720
- field = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="field")
62726
+ field = sgqlc.types.Field(String, graphql_name="field")
62721
62727
 
62722
62728
  id = sgqlc.types.Field(String, graphql_name="id")
62723
62729
 
62724
62730
 
62731
+ class TransformFunction(sgqlc.types.Type):
62732
+ __schema__ = schema
62733
+ __field_names__ = (
62734
+ "name",
62735
+ "description",
62736
+ "sql",
62737
+ "supported_types",
62738
+ "required_type",
62739
+ "supported_connections",
62740
+ "response_format",
62741
+ "category",
62742
+ "standard_prompt",
62743
+ )
62744
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
62745
+
62746
+ description = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="description")
62747
+
62748
+ sql = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="sql")
62749
+
62750
+ supported_types = sgqlc.types.Field(
62751
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(FieldType))),
62752
+ graphql_name="supportedTypes",
62753
+ )
62754
+
62755
+ required_type = sgqlc.types.Field(
62756
+ sgqlc.types.non_null(PredicateRequiredType), graphql_name="requiredType"
62757
+ )
62758
+
62759
+ supported_connections = sgqlc.types.Field(
62760
+ sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))),
62761
+ graphql_name="supportedConnections",
62762
+ )
62763
+
62764
+ response_format = sgqlc.types.Field(String, graphql_name="responseFormat")
62765
+
62766
+ category = sgqlc.types.Field(String, graphql_name="category")
62767
+
62768
+ standard_prompt = sgqlc.types.Field(String, graphql_name="standardPrompt")
62769
+
62770
+
62725
62771
  class TriggerCircuitBreakerRule(sgqlc.types.Type):
62726
62772
  """Run a custom rule as a circuit breaker immediately. Supports rules
62727
62773
  that create a single query.
@@ -69115,11 +69161,14 @@ class DbtProject(sgqlc.types.Type, Node):
69115
69161
  """The date of the last test import we know about"""
69116
69162
 
69117
69163
  dbt_jobs = sgqlc.types.Field(
69118
- sgqlc.types.non_null(DbtJobConnection),
69164
+ DbtJobConnection,
69119
69165
  graphql_name="dbtJobs",
69120
69166
  args=sgqlc.types.ArgDict(
69121
69167
  (
69122
- ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
69168
+ (
69169
+ "match_on_catalog",
69170
+ sgqlc.types.Arg(Boolean, graphql_name="matchOnCatalog", default=None),
69171
+ ),
69123
69172
  ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
69124
69173
  ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
69125
69174
  ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
@@ -69127,11 +69176,9 @@ class DbtProject(sgqlc.types.Type, Node):
69127
69176
  )
69128
69177
  ),
69129
69178
  )
69130
- """Associated dbt project
69131
-
69132
- Arguments:
69179
+ """Arguments:
69133
69180
 
69134
- * `offset` (`Int`)None
69181
+ * `match_on_catalog` (`Boolean`)None
69135
69182
  * `before` (`String`)None
69136
69183
  * `after` (`String`)None
69137
69184
  * `first` (`Int`)None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.67
3
+ Version: 0.10.69
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=rSjhoo7iUpq2kiXt3pVk8EGDYgui2e-HpTua3P9szTY,5976605
39
- pycarlo/lib/schema.py,sha256=-9vGNr2tBRwb12UzaxaTQRODxgIL-loPx_ZNfcDsQmc,2582561
40
- pycarlo-0.10.67.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.67.dist-info/METADATA,sha256=uXwtEoruJUu3c3MM5X0TWol93hvRauHvB_0t1l3rNNg,8741
42
- pycarlo-0.10.67.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.67.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.67.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=MyvidPjuPib89BSAVPq0-OS0q5_kBwTBne_kNtsdOWA,5981378
39
+ pycarlo/lib/schema.py,sha256=fY94LZ_x9coroqFoP7WjP56eHB9UjBjq_U5CRLA2xV8,2584075
40
+ pycarlo-0.10.69.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.69.dist-info/METADATA,sha256=coqa2PT_5t6eLwIFuOsKAUyTQbE_nQDI2eL6bBWcAiU,8741
42
+ pycarlo-0.10.69.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.69.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.69.dist-info/RECORD,,