def __init__(self, stub, logger): """Generic PL/SQL method """ PL_SQL_Block.__init__(self, stub, logger) self._name=self._stub['method_name'] self._method_block=None if self._stub.has_key('method_block'): self._method_block=self._stub['method_block'] self._type='PROCEDURE' confirm (self._type == self._stub['method_type'], 'It''s not a procedure.') self._params={} self._block_obj={} #block
def __init__(self, *args, **kwargs): """PL/SQL Outer block """ PL_SQL_Block.__init__(self, *args, **kwargs) self._type='OUTERBLOCK' self._src={}