示例#1
0
    def load_username(username, insensitive = False):
        """
Load Profile instance by user name.

:param username: Profile's user name
:param insensitive: Search case-insensitive for the given value

:return: (object) Profile instance on success
:since:  v0.2.00
        """

        raise NotImplementedException()
示例#2
0
    def load_email(email, insensitive = False):
        """
Load Profile instance by an e-mail address.

:param email: Profile's e-mail address
:param insensitive: Search case-insensitive for the given value

:return: (object) Profile instance on success
:since:  v0.2.00
        """

        raise NotImplementedException()