Repository navigation
Commit 0447286
committed
fix: store_entity accepts any model instance, not just Entity (fixes #121)
Use isinstance(param, StoreEntityParam) instead of isinstance(param, Entity)
to detect param type. This handles controllers and models whose Entity
base class differs after fetch_schema regeneration.1 parent 00bad82 commit 0447286
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1624 | 1624 | | |
1625 | 1625 | | |
1626 | 1626 | | |
1627 | | - | |
1628 | | - | |
1629 | 1627 | | |
1630 | 1628 | | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
1631 | 1632 | | |
1632 | 1633 | | |
1633 | 1634 | | |
| |||
0 commit comments