def get(self, key, value):
for element in self.neoindex[key][value]:<EOL><INDENT>if self.indexClass == "<STR_LIT>":<EOL><INDENT>yield Vertex(element)<EOL><DEDENT>elif self.indexClass == "<STR_LIT>":<EOL><INDENT>yield Edge(element)<EOL><DEDENT>else:<EOL><INDENT>raise TypeError(self.indexClass)<EOL><DEDENT><DEDENT>
Gets an element from an index under a given
        key-value pair
        @params key: Index key string
        @params value: Index value string
        @returns A generator of Vertex or Edge objects