(obj_list, app_id)
:param obj_list: list from objects with ``app_id`` property
    :returns: The first object with matching app_id
:param obj_list: list from objects with ``app_id`` property
    :returns: The first object with matching app_id
: param obj_list : list from objects with app_id property : returns : The first object with matching app_id
def filter_by_app(obj_list, app_id):
    """
    :param obj_list: list from objects with ``app_id`` property
    :returns: The first object with matching app_id
    """
    for item in obj_list:
        if item.app_id == app_id:
            return item
def filter_by_app ( obj_list , app_id ) : for item in obj_list : if item . app_id == app_id : return item