Created
February 5, 2020 14:20
-
-
Save shaungehring/98750c7d3bed204457655e5c84315866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@self.user.resolve_references | |
def resolve_user_references(representations): | |
results = [] | |
for req in representations: | |
kwargs = { | |
"id": req.get('id') | |
} | |
data = self.ds.getUser(**kwargs)[0] | |
results.append(User(**data)) | |
return results |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment