def METHOD_NAME(feature: MapboxFeature) -> str:
    """
    Given a Mapbox Feature that represents an address, returns
    the street address, e.g. "150 Court Street".
    """
    assert "address" in feature.place_type
    # Not really sure if any real-world addresses don't have the address
    # property, but the Mapbox docs do say it's optional...
    if feature.address:
        return f"{feature.address} {feature.text}"
    return feature.text