(self, name)
return not len(name) > 2048
Check name alias validity
Check name alias validity
Check name alias validity
def _name_is_valid(self, name):
        """Check name alias validity"""
        invalid_chars = ("/", ".", " ", "[", "]")
        if name and any(x in name for x in invalid_chars):
            return False
        return not len(name) > 2048
def _name_is_valid ( self , name ) : invalid_chars = ( "/" , "." , " " , "[" , "]" ) if name and any ( x in name for x in invalid_chars ) : return False return not len ( name ) > 2048