Skip to content

Commit

Permalink
aiida-v2 support: EntityExtrasMixin -> EntityExtras
Browse files Browse the repository at this point in the history
  • Loading branch information
Irratzo committed Dec 14, 2022
1 parent 60b880c commit 6fd468e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aiida_jutools/meta/extra/forms/KkrConstantsVersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self,
}

def load(self,
entity: _orm.EntityExtrasMixin,
entity: _orm.EntityExtras,
**kwargs):
"""This methods extends :py:meth:`~.util.ExtraForm.load`.
Expand Down
4 changes: 2 additions & 2 deletions aiida_jutools/meta/extra/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def value(self) -> _typing.Any:

@abc.abstractmethod
def load(self,
entity: _orm.EntityExtrasMixin,
entity: _orm.EntityExtras,
**kwargs):
"""Load an entity's extra's value into this form.
Expand All @@ -82,7 +82,7 @@ def clear(self):
self._value.pop(self._error_report_key, None)

def insert(self,
entity: _orm.EntityExtrasMixin,
entity: _orm.EntityExtras,
validate: bool = False,
overwrite: bool = False,
**kwargs) -> bool:
Expand Down

0 comments on commit 6fd468e

Please sign in to comment.