Context
In v2, resource client methods returned plain dicts with camelCase keys (e.g. run['defaultDatasetId']). In v3, they return Pydantic models with snake_case attributes (e.g. run.default_dataset_id).
To ease migration, we should add camelCase attribute access as deprecated aliases on the Pydantic models. For example, run.defaultDatasetId would still work but emit a deprecation warning pointing users to run.default_dataset_id.
References
Context
In v2, resource client methods returned plain dicts with camelCase keys (e.g.
run['defaultDatasetId']). In v3, they return Pydantic models with snake_case attributes (e.g.run.default_dataset_id).To ease migration, we should add camelCase attribute access as deprecated aliases on the Pydantic models. For example,
run.defaultDatasetIdwould still work but emit a deprecation warning pointing users torun.default_dataset_id.References