def get_namespace():
 name = os.environ.get(_ENV_CURRENT_NAMESPACE, None)
 if (name is None):
  name = _config.default_namespace_for_request()
  if (name is not None):
   set_namespace(name)
 if (name is None):
  name = ''
 return name

def get_namespace ( ) : name = os . environ . get ( _ENV_CURRENT_NAMESPACE , None ) if ( name is None ) : name = _config . default_namespace_for_request ( ) if ( name is not None ) : set_namespace ( name ) if ( name is None ) : name = '' return name
get the current default namespace or () namespace if unset .