Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure __getattr__ matches __getitem__'s behaviour #507

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 15, 2022

  1. Ensure __getattr__ matches __getitem__'s behaviour

    The `__getitem__` function does extra deserialisation that's not happening in __getattr__. As an example referencing a JSONB field with __getitem__ gets you a `dict` whereas `__getattr__` results in a `str`. This PR aligns their behaviour.
    circlingthesun committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    efb6497 View commit details
    Browse the repository at this point in the history