All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.PythonAddon.stg Maven / Gradle / Ivy

group T;

PythonApiParam(type, name) ::= <<

>>

PythonApiSetter(type, paramName, name) ::= <<
params[''] = self.raptureAPI.fixTypes()
>>


PythonApiFn(sdkName, apitype, name, apiParams, setterParams, ret, comment) ::= <<
    def do_(self,):
        '''
        
        '''
        params = {}
        params['context'] = self.raptureAPI.context
        
        ret= self.raptureAPI.runMultipart("//", "", params)
        return ret['response']

>>

PythonApi(types, fns) ::= <<
    
>>

PythonApiFile(apis, module) ::= <<

import multipart, json, numpy

class API:
    def __init__(self, raptureAPI):
        self.raptureAPI = raptureAPI


>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy