lazy= is keyword-only in 0.5.0
This commit is contained in:
parent
d91266b564
commit
bbac042319
2 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
## 0.4.1
|
## 0.4.1
|
||||||
|
|
||||||
- Fixed return types for `.sqlalchemy` module.
|
- Fixed return types for `.sqlalchemy` module.
|
||||||
- `sqlalchemy.parent_children()` now takes a `lazy` parameter. Backported from 0.5.1.
|
- `sqlalchemy.parent_children()` now takes a `lazy` parameter. Backported from 0.5.0.
|
||||||
|
|
||||||
## 0.4.0
|
## 0.4.0
|
||||||
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
## 0.3.8
|
## 0.3.8
|
||||||
|
|
||||||
- Fixed return types for `.sqlalchemy` module.
|
- Fixed return types for `.sqlalchemy` module.
|
||||||
- `sqlalchemy.parent_children()` now takes a `lazy` parameter. Backported from 0.5.1.
|
- `sqlalchemy.parent_children()` now takes a `lazy` parameter. Backported from 0.5.0.
|
||||||
|
|
||||||
## 0.3.7
|
## 0.3.7
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -204,7 +204,7 @@ def age_pair(*, nullable: bool = False, **ka) -> tuple[Column, Column]:
|
||||||
return (date_col, acc_col)
|
return (date_col, acc_col)
|
||||||
|
|
||||||
|
|
||||||
def parent_children(keyword: str, /, lazy='selectin', **kwargs) -> tuple[Incomplete[Relationship], Incomplete[Relationship]]:
|
def parent_children(keyword: str, /, *, lazy='selectin', **kwargs) -> tuple[Incomplete[Relationship], Incomplete[Relationship]]:
|
||||||
"""
|
"""
|
||||||
Self-referential one-to-many relationship pair.
|
Self-referential one-to-many relationship pair.
|
||||||
Parent comes first, children come later.
|
Parent comes first, children come later.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue