You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest versions of pydal introduced a breaking change in the behavior of the with_alias method used with as_list. In the previous version (20241111.2), when using with_alias with as_list, the aliased fields were returned as keys of the dict representing the record, but in the latest version, they are only available in the _extra dict.
The text was updated successfully, but these errors were encountered:
mbelletti
changed the title
pydal-20241204.1 with_alias broke backward compatibilty with old code.
pydal-20241204.1 with_alias + as_list broke backward compatibilty with old code.
Dec 12, 2024
The latest versions of pydal introduced a breaking change in the behavior of the
with_alias
method used withas_list
. In the previous version (20241111.2), when usingwith_alias
withas_list
, the aliased fields were returned as keys of the dict representing the record, but in the latest version, they are only available in the _extra dict.It seems the bug is introduced here: 16c9395
This change breaks backward compatibility with existing code that relied on the old behavior.
pydal-20241111.2
pydal-20241204.1
The text was updated successfully, but these errors were encountered: