def get_namespace(self, owner):
    if self.dynamic:
        return self._namespace(owner)
    else:
        return self._namespace
def get_namespace(self, owner):
    if self.dynamic:
        return self._namespace(owner)
    else:
        return self._namespace