We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 789e8cb + 3603572 commit d78e9deCopy full SHA for d78e9de
swagger_py_codegen/parser.py
@@ -91,7 +91,10 @@ def pickle_search(self, path):
91
def get(self, path):
92
key = ''.join(path)
93
if key not in self._get_cached:
94
- self._get_cached[key] = dpath.util.get(self.data, list(path))
+ value = self.data
95
+ for p in path:
96
+ value = value[p]
97
+ self._get_cached[key] = value
98
return self._get_cached[key]
99
100
def set(self, path, data):
0 commit comments