File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,17 @@ def get_types(file_path: str = ""):
49
49
return analysis_meta ["types_formatted" ]
50
50
51
51
52
+ @app .get ("/get_cs" )
53
+ def get_types (file_path : str = "" ):
54
+ is_safe = is_path_safe (file_path )
55
+ if not is_safe [0 ]:
56
+ return is_safe [1 ]
57
+ else :
58
+ analysis_meta = headergen .get_analysis_output (str (file_path ), out_path )
59
+
60
+ return analysis_meta ["pycg_output" ]
61
+
62
+
52
63
@app .get ("/get_analysis_notebook" )
53
64
def get_analysis (file_path : str = "" ):
54
65
is_safe = is_path_safe (file_path )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def package_files(directory):
34
34
35
35
setuptools .setup (
36
36
name = "headergen" ,
37
- version = "1.3.0 " ,
37
+ version = "1.3.1 " ,
38
38
description = "HeaderGen: Automated cell header generator" ,
39
39
long_description = open ("README.md" ).read (),
40
40
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments