Created
December 4, 2014 14:50
-
-
Save bryanyang0528/2a9b15388aa99dc78637 to your computer and use it in GitHub Desktop.
origin
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
def get_entity(self, key): | |
entities = self.get_entities([key]) | |
if entities: | |
return entities[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment