def METHOD_NAME(
    subscriber_client: pubsub_v1.SubscriberClient, topic_path: str
) -> Iterator[str]:
    METHOD_NAME = subscriber_client.METHOD_NAME(PROJECT_ID, SUBSCRIPTION_ID)
    subscription = subscriber_client.create_subscription(
        request={"name": METHOD_NAME, "topic": topic_path}
    )
    yield subscription.name
    try:
        subscriber_client.delete_subscription(
            request={"subscription": METHOD_NAME}
        )
    except NotFound:
        pass