(self)
return self._scope
Gets the scope object for this resource, which is assigned while executing the resource.
        Without a scope object, it is impossible to compute variables for use in template
        and conditional evaluation, hence the assert.
Gets the scope object for this resource, which is assigned while executing the resource.
        Without a scope object, it is impossible to compute variables for use in template
        and conditional evaluation, hence the assert.
Gets the scope object for this resource which is assigned while executing the resource . Without a scope object it is impossible to compute variables for use in template and conditional evaluation hence the assert .
def scope(self):
        """
        Gets the scope object for this resource, which is assigned while executing the resource.
        Without a scope object, it is impossible to compute variables for use in template
        and conditional evaluation, hence the assert.
        """
        if self._scope is None:
            role = Context().role()
            role.attach_child_scope_for(self)
        return self._scope
def scope ( self ) : if self . _scope is None : role = Context ( ) . role ( ) role . attach_child_scope_for ( self ) return self . _scope