mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 22:17:37 +08:00
fix jwt decode
This commit is contained in:
@@ -25,6 +25,9 @@ class FormatMixin(object):
|
||||
|
||||
|
||||
class CRUDMixin(FormatMixin):
|
||||
def __init__(self, **kwargs):
|
||||
super(CRUDMixin, self).__init__(**kwargs)
|
||||
|
||||
@classmethod
|
||||
def create(cls, flush=False, **kwargs):
|
||||
return cls(**kwargs).save(flush=flush)
|
||||
|
Reference in New Issue
Block a user