def _backcompat_doc_blocks(doc_blocks: Any) -> List[str]:
    """
    Make doc_blocks backwards-compatible for scenarios where a user specifies `doc_blocks` on a model or column.
    Mashumaro will raise a serialization error if the specified `doc_blocks` isn't a list of strings.
    In such a scenario, this method returns an empty list to avoid a serialization error.
    Further along, `_get_doc_blocks` in `manifest.py` populates the correct `doc_blocks` for the happy path.
    """

    if isinstance(doc_blocks, list) and all(isinstance(x, str) for x in doc_blocks):
        return doc_blocks

    return []

    Make doc_blocks backwards-compatible for scenarios where a user specifies `doc_blocks` on a model or column.
    Mashumaro will raise a serialization error if the specified `doc_blocks` isn't a list of strings.
    In such a scenario, this method returns an empty list to avoid a serialization error.
    Further along, `_get_doc_blocks` in `manifest.py` populates the correct `doc_blocks` for the happy path.
    
core/dbt/artifacts/resources/v1/components.py