Package tools :: Module python_curry
[hide private]
[frames] | no frames]

Module python_curry

source code

This module contains a function to build curry function.

Functions [hide private]
string
build_curry_function(curry_fname, mid, fname, modulename, path, params, return_type)
This function generates the .sql portion of model descriptions from the raw python model description code
source code
Function Details [hide private]

build_curry_function(curry_fname, mid, fname, modulename, path, params, return_type)

source code 

This function generates the .sql portion of model descriptions from the raw python model description code

Parameters:
  • curry_fname (string) - curry function name
  • mid (number) - mid
  • fname (string) - function name
  • modulename (string) - name of the module
  • path (string) - path to the module
  • params (vector) - parameters of the function
  • return_type (string) - return type of the SQL function
Returns: string
SQL function