fix: decorator ordering
statcimethod doesn't return normal function so can't be "chained" the other way around [skip ci]
This commit is contained in:
parent
a5240824d5
commit
1dd719b123
1 changed files with 1 additions and 1 deletions
|
|
@ -922,8 +922,8 @@ class Database:
|
|||
if dt in self.value_cache:
|
||||
del self.value_cache[dt]
|
||||
|
||||
@deprecated
|
||||
@staticmethod
|
||||
@deprecated
|
||||
def set(doc, field, val):
|
||||
"""Set value in document. **Avoid**"""
|
||||
doc.db_set(field, val)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue