from typing import Any
from typing import List
from typing import Dict


def transform_database_account_resources(
        account_id: Any, name: Any, resource_group: Any, resources: List[Dict],
) -> List[Dict]:
    """
    Transform the SQL Database/Cassandra Keyspace/MongoDB Database/Table Resource response for neo4j ingestion.
    """
    for resource in resources:
        resource['database_account_name'] = name
        resource['database_account_id'] = account_id
        resource['resource_group_name'] = resource_group
    return resources