Replace models by decks in models warning (#1619)
This commit is contained in:
parent
f534dbb8e5
commit
d571ae29f0
@ -41,7 +41,7 @@ class ModelsDictProxy:
|
|||||||
|
|
||||||
def _warn(self) -> None:
|
def _warn(self) -> None:
|
||||||
print_deprecation_warning(
|
print_deprecation_warning(
|
||||||
"add-on should use methods on col.decks, not col.decks.decks dict"
|
"add-on should use methods on col.models, not col.models.models dict"
|
||||||
)
|
)
|
||||||
|
|
||||||
def __getitem__(self, item: Any) -> Any:
|
def __getitem__(self, item: Any) -> Any:
|
||||||
|
Loading…
Reference in New Issue
Block a user