Skip to content

Commit

Permalink
reverted back to original (not required)
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 17, 2015
1 parent c05f2a7 commit 807cae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quorum/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ def get(cls, *args, **kwargs):
if not model and not raise_e: return model
cls.types(model)
if fill: cls.fill(model)
if eager: model = cls._eager(model, eager)
if build: cls.build(model, map = map, rules = rules, meta = meta)
if eager: model = cls._eager(model, eager)
return model if map else cls.old(model = model, safe = False)

@classmethod
Expand Down Expand Up @@ -502,8 +502,8 @@ def find(cls, *args, **kwargs):
)
models = [cls.types(model) for model in models]
if fill: models = [cls.fill(model) for model in models]
if eager: models = cls._eager(models, eager)
if build: [cls.build(model, map = map, rules = rules, meta = meta) for model in models]
if eager: models = cls._eager(models, eager)
models = models if map else [cls.old(model = model, safe = False) for model in models]
return models

Expand Down

0 comments on commit 807cae6

Please sign in to comment.