async def METHOD_NAME(
    self,
    request: UpdateEntityTypeRequest,
) -> OntologyElementMetadata:
    """Update an entity type."""
    endpoint = self.base / "entity-types"
    return await _send_request(
        endpoint,
        "PUT",
        request,
        OntologyElementMetadata,
    )