from typing import List
from typing import Any


def find_object_by_key(list_: List[dict], search_key: str, search_value: Any) -> dict:
    """Find an object in a list, using a key/value pair to search.

    >>> fruits = [{"id": 1, "fruit": "banana"}, {"id": 2, "fruit": "apple"}, {"id": 3, "fruit": "mango"}]
    >>> find_object_by_key(fruits, "id", 1)
    {'id': 1, 'fruit': 'banana'}
    >>> find_object_by_key(fruits, "fruit", "banana")
    {'id': 1, 'fruit': 'banana'}
    >>> find_object_by_key(fruits, "fruit", "pear")
    {}
    >>> find_object_by_key(fruits, "fruit", "mango")
    {'id': 3, 'fruit': 'mango'}
    """
    for obj in list_:
        if obj.get(search_key) == search_value:
            return obj
    return {}