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

Show an example of a custom Record class #960

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

jparise
Copy link
Contributor

@jparise jparise commented Oct 4, 2022

This demonstrates a dot-notation implementation as suggested by this
FAQ item.

@jparise
Copy link
Contributor Author

jparise commented Oct 4, 2022

@elprans The build failure appears to be on master as well: https://github.com/MagicStack/asyncpg/actions/runs/3184175023

@jparise
Copy link
Contributor Author

jparise commented Oct 4, 2022

@elprans The build failure appears to be on master as well: https://github.com/MagicStack/asyncpg/actions/runs/3184175023

Fixed by #961

This demonstrates a dot-notation implementation as suggested by this
FAQ item.
@elprans elprans merged commit 84c99bf into MagicStack:master Oct 11, 2022
@jparise jparise deleted the faq-record-dot branch October 11, 2022 21:29
elprans added a commit that referenced this pull request Oct 26, 2022
Support Python 3.11 and PostgreSQL 15.  This release also drops support
for Python 3.6.

Changes
=======

* Add arm64 mac and linux wheels
  (by @ddelange in 7bd6c49 for #954)

* Add Python 3.11 to the test matrix
  (by @elprans in 5f908e6 for #948)

* Exclude .venv from flake8 (#958)
  (by @jparise in 40b16ea for #958)

* Upgrade to flake8 5.0.4 (from 3.9.2) (#961)
  (by @jparise in 0e73fec for #961)

* Show an example of a custom Record class (#960)
  (by @jparise in 84c99bf for #960)

* Use the exact type name in Record.__repr__ (#959)
  (by @jparise in eccdf61 for #959)

* Drop Python 3.6 support (#940)
  (by @bryanforbes in bb0cb39 for #940)

* Test on Python 3.11 and PostgreSQL 15, fix workflow deprecations (#968)
  (by @elprans in eab7fdf for #968)
@elprans elprans mentioned this pull request Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants