huskar_api/models/auth/application.py
def find(cls, authority, user_id, application_id):
        """Find an application auth by a condition-tuple.

        :param authority: ``AUTHORITY_READ`` or ``AUTHORITY_WRITE``
        :param user_id: The id of owner.
        :param application_id: The id of application.
        :returns: An :class:`ApplicationAuth` instance or ``None``.
        """
        assert authority in Authority
        id_ = cls.find_id(authority, user_id, application_id)
        return None if id_ is None else cls.get(id_)
Find an application auth by a condition-tuple.

        :param authority: ``AUTHORITY_READ`` or ``AUTHORITY_WRITE``
        :param user_id: The id of owner.
        :param application_id: The id of application.
        :returns: An :class:`ApplicationAuth` instance or ``None``.
        
Find an application auth by a condition-tuple.
Find an application auth by a condition - tuple .
def find(cls, authority, user_id, application_id):
        assert authority in Authority
        id_ = cls.find_id(authority, user_id, application_id)
        return None if id_ is None else cls.get(id_)
def find ( cls , authority , user_id , application_id ) : assert authority in Authority id_ = cls . find_id ( authority , user_id , application_id ) return None if id_ is None else cls . get ( id_ )
Find an application auth by a condition-tuple.
Find an application auth by a condition - tuple .
"""Find an application auth by a condition-tuple.

        :param authority: ``AUTHORITY_READ`` or ``AUTHORITY_WRITE``
        :param user_id: The id of owner.
        :param application_id: The id of application.
        :returns: An :class:`ApplicationAuth` instance or ``None``.
        """
An :class:`ApplicationAuth` instance or ``None``.
An : class : ` ApplicationAuth ` instance or ` ` None ` ` .
cls
authority
``AUTHORITY_READ`` or ``AUTHORITY_WRITE``
` ` AUTHORITY_READ ` ` or ` ` AUTHORITY_WRITE ` `
user_id
The id of owner.
The id of owner .
application_id
The id of application.
The id of application .