Skip to content

Commit

Permalink
Revert some changes re: system checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Nov 21, 2024
1 parent 6b866aa commit 307995d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions arches/app/models/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,6 @@ def check_default_configs(default_configs, configs):

self.populate_null_nodegroups()

@classmethod
def check(cls, **kwargs):
"""Bypass GraphModel.check()."""
return super(models.GraphModel, cls).check(**kwargs)

def refresh_from_database(self):
"""
Updates card, edge, and node data from the database, bypassing the
Expand Down
3 changes: 1 addition & 2 deletions arches/app/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,7 @@ def save(self, *args, **kwargs):
@classmethod
def check(cls, **kwargs):
errors = super().check(**kwargs)
if kwargs["databases"]:
errors.extend(cls._check_publication_in_every_language())
errors.extend(cls._check_publication_in_every_language())
return errors

@classmethod
Expand Down

0 comments on commit 307995d

Please sign in to comment.