pycarlo 0.10.68__py3-none-any.whl → 0.10.70__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,
@@ -64355,7 +64526,7 @@
64355
64526
  {
64356
64527
  "args": [],
64357
64528
  "deprecationReason": null,
64358
- "description": "Task run duration",
64529
+ "description": "Task run duration in seconds",
64359
64530
  "isDeprecated": false,
64360
64531
  "name": "duration",
64361
64532
  "type": {
@@ -82475,13 +82646,9 @@
82475
82646
  "isDeprecated": false,
82476
82647
  "name": "field",
82477
82648
  "type": {
82478
- "kind": "NON_NULL",
82479
- "name": null,
82480
- "ofType": {
82481
- "kind": "SCALAR",
82482
- "name": "String",
82483
- "ofType": null
82484
- }
82649
+ "kind": "SCALAR",
82650
+ "name": "String",
82651
+ "ofType": null
82485
82652
  }
82486
82653
  },
82487
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.
@@ -65450,7 +65496,7 @@ class AirflowTaskRun(sgqlc.types.Type, Node):
65450
65496
  """Task attempt number"""
65451
65497
 
65452
65498
  duration = sgqlc.types.Field(Float, graphql_name="duration")
65453
- """Task run duration"""
65499
+ """Task run duration in seconds"""
65454
65500
 
65455
65501
  exception_message = sgqlc.types.Field(String, graphql_name="exceptionMessage")
65456
65502
  """Task failure error message"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.68
3
+ Version: 0.10.70
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=1hZltnoLIBYKVeC6TP0Wi_SSVPiuLl0vt5iAm1b3x94,5976479
39
- pycarlo/lib/schema.py,sha256=856KABvXkxXb2lW6bdtbGycvI8kRyzRvnRdesqavblM,2582606
40
- pycarlo-0.10.68.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.68.dist-info/METADATA,sha256=HGDtGddg8tjZmRD-lC1ljVd8RTxei3BEJgMsmVNELoA,8741
42
- pycarlo-0.10.68.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.68.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.68.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=DUmfy46t9aVSYfZu7RKIHcDjKW9gywmbWStkXJ0ijrg,5981389
39
+ pycarlo/lib/schema.py,sha256=ZfNrZzoiIy8SIJ4G786d03fmATLosFjcEx59VRbnLRg,2584086
40
+ pycarlo-0.10.70.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.70.dist-info/METADATA,sha256=P5W0mVH9s1fZH7JD80kWsJnS5L5vCQn6JpGbLuxFoaE,8741
42
+ pycarlo-0.10.70.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.70.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.70.dist-info/RECORD,,