This is to fix a CI regression that appeared once Pydantic 2.10 was released with the Sphinx build:
WARNING: Failed guarded type import with ModuleNotFoundError("No module named '_typeshed'")
WARNING: Cannot resolve forward reference in type annotations of "qiskit_ibm_runtime.options.DynamicalDecouplingOptions": name 'PydanticDataclass' is not defined
WARNING: Cannot resolve forward reference in type annotations of "qiskit_ibm_runtime.options.EnvironmentOptions": name 'PydanticDataclass' is not defined
WARNING: Cannot resolve forward reference in type annotations of "qiskit_ibm_runtime.options.EstimatorOptions": name 'PydanticDataclass' is not defined
WARNING: Cannot resolve forward reference in type annotations of "qiskit_ibm_runtime.options.ExecutionOptionsV2": name 'PydanticDataclass' is not defined
WARNING: Cannot resolve forward reference in type annotations of "qiskit_ibm_runtime.options.LayerNoiseLearningOptions": name 'PydanticDataclass' is not defined
This is to fix a CI regression that appeared once Pydantic 2.10 was released with the Sphinx build: