def get_by_signature(user_id, app_id):
        '''
        Get the collection.
        '''
        try:
            return TabCollect.get(
                (TabCollect.user_id == user_id) &
                (TabCollect.post_id == app_id)
            )
        except:
            return None
def get_by_signature ( user_id , app_id ) : try : return TabCollect . get ( ( TabCollect . user_id == user_id ) & ( TabCollect . post_id == app_id ) ) except : return None
Get the collection.