def METHOD_NAME(self):  # pylint: disable=inconsistent-return-statements
    """Create connection property for the NROService.
    If this is running in a Flask context,
    then either get the existing connection pool or create a new one
    and then return an acquired session
    :return: cx_Oracle.connection type
    """
    ctx = _app_ctx_stack.top
    if ctx is not None:
        if not hasattr(ctx, '_oracle_pool'):
            ctx._oracle_pool = self._create_pool()  # pylint: disable = protected-access; need this method
        return ctx._oracle_pool.acquire()  # pylint: disable = protected-access; need this method