Skip to content

Commit

Permalink
Merge pull request #130 from foodszhang/fix_ref_deepcopy
Browse files Browse the repository at this point in the history
fix ref node copy
  • Loading branch information
gusibi authored Nov 6, 2018
2 parents 3fd9b8a + bb3e0b7 commit dc28efb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions swagger_py_codegen/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def __eq__(self, other):
else:
return False

def __deepcopy__(self, memo):
return RefNode(self._data, self.ref)

def copy(self):
return RefNode(self._data, self.ref)

Expand Down

0 comments on commit dc28efb

Please sign in to comment.