Package io.higson.runtime.invoker
Class PythonPreprocessor
java.lang.Object
io.higson.runtime.invoker.PythonPreprocessor
Purpose of this class is to provide proper python body with enriched function definition and arguments.
Name of the function will be normalized - any
'.' [dot] character will be replaced with "_" [underscore].
The body of the function will be indented. Other structure will be kept, like spaces and new lines.
The result of any #apply method will return something like:
def test_function(arg1, arg2):
return 'this is body'
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PythonPreprocessor
public PythonPreprocessor()
-
-
Method Details
-
apply
-
apply
-