def METHOD_NAME(job: Union[V1Job, Job]) -> List[str]:
    try:
        owner_references = getattr(job.metadata, "owner_references", []) or getattr(
            job.metadata, "ownerReferences", []
        )
        return [owner_ref.name for owner_ref in owner_references]
    except Exception:
        return []