(cls, key, only_xmlns=False)
return xmlns, app_id
Takes an unique xmlns+app_id key generated by make_xmlns_app_key and spits out the xmlns and app_id.
Takes an unique xmlns+app_id key generated by make_xmlns_app_key and spits out the xmlns and app_id.
Takes an unique xmlns + app_id key generated by make_xmlns_app_key and spits out the xmlns and app_id .
def split_xmlns_app_key(cls, key, only_xmlns=False):
        """
            Takes an unique xmlns+app_id key generated by make_xmlns_app_key and spits out the xmlns and app_id.
        """
        if key is None:
            return key
        identify = key.split(' ')
        xmlns = identify[0]
        if only_xmlns:
            return xmlns
        app_id = identify[1] if len(identify) > 1 else MISSING_APP_ID
        return xmlns, app_id
def split_xmlns_app_key ( cls , key , only_xmlns = False ) : if key is None : return key identify = key . split ( ' ' ) xmlns = identify [ 0 ] if only_xmlns : return xmlns app_id = identify [ 1 ] if len ( identify ) > 1 else MISSING_APP_ID return xmlns , app_id