]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Update association examples to Declarative API
authorMike Fiedler <miketheman@gmail.com>
Thu, 26 Jun 2025 19:04:03 +0000 (15:04 -0400)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 26 Jun 2025 19:17:59 +0000 (21:17 +0200)
commit904541a55ca3193171b48e57dd6b1b4fa31b0669
tree7c9bda5c0f8d6997b6099265e217e4efbb545bfb
parentc3fb776b1f18e9a2a6058ddca20e03f16b513f44
Update association examples to Declarative API

### Description

Follows initial attempt in #10450 - but starts with simpler association examples.

### Checklist
This pull request is:

- [x] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed

I was curious how to add these selectively to any of the type hint test suites, to prevent future drift, but didn't see anything too obvious.

Closes: #12031
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12031
Pull-request-sha: dad6239370f23d52b4c0a1b21eba5752e216207e

Change-Id: Id5c2d65137c5e9d7e87778acd51b965c2bcf315a
examples/association/basic_association.py
examples/association/dict_of_sets_with_default.py
examples/association/proxied_association.py