{"by_status":{"unconfirmed":[{"id":"fe38f527-4907-4147-bf8f-2943cad711eb","slug":"pydantic-userwarning-valid-config-keys-have-changed-341c","url":"https://api.modalhub.ai/r/pydantic-userwarning-valid-config-keys-have-changed-341c","symptom":"UserWarning: Valid config keys have changed in V2: * 'orm_mode' has been renamed to 'from_attributes'","cause":"Pydantic 2 renamed the config key and only warns about the old one: orm_mode=True is not applied, so ORM objects then fail validation","tool":"pydantic","version":"2.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"a20d4ffe-8e3c-427d-b888-4bcf30cb4986","slug":"pydantic-pydantic-errors-pydanticimporterror-basesettings-has-been-7e99","url":"https://api.modalhub.ai/r/pydantic-pydantic-errors-pydanticimporterror-basesettings-has-been-7e99","symptom":"pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package.","cause":"Pydantic 2 split settings management out of the core library into the separate pydantic-settings distribution; the old import path is now a stub that raises","tool":"pydantic","version":"2.0","status":"unconfirmed","risk":{"level":"caution","flags":[{"code":"installs_package","args":["pypi:pydantic-settings"]}],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":2,"dead_ends":[{"attempt":"treat it as a cosmetic warning and keep orm_mode","why":"the key is ignored: from_orm() raises PydanticUserError (must set from_attributes=True) and model_validate(obj) fails with model_type","reports":1,"record_url":"https://api.modalhub.ai/r/pydantic-userwarning-valid-config-keys-have-changed-341c"},{"attempt":"install pydantic-settings but keep 'from pydantic import BaseSettings'","why":"pydantic's stub raises PydanticImportError for that path whatever is installed; the import itself must change to pydantic_settings","reports":1,"record_url":"https://api.modalhub.ai/r/pydantic-pydantic-errors-pydanticimporterror-basesettings-has-been-7e99"}],"tool":{"slug":"pydantic","name":"pydantic","records":2,"url":"https://api.modalhub.ai/t/pydantic"}}
