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
Traceback (most recent call last):
File ".venv\lib\site-packages\pydal\objects.py", line 167, in __getattr__
return self.__getitem__(k)
File ".venv\lib\site-packages\pydal\objects.py", line 147, in __getitem__
raise KeyError(key)
KeyError: 'field1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 16, in <module>
row.field1
File ".venv\lib\site-packages\pydal\objects.py", line 169, in __getattr__
raise AttributeError
AttributeError
Using with_alias() in .select causes non-aliasd fields to be inaccessible on the resulting row:
Without alias, this works:
With alias, this fails with AttributeError during handling of KeyError:
Error caused:
version:
Full runnable reproduction
The text was updated successfully, but these errors were encountered: