Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
Use Component.accept to resolve reference value
Browse files Browse the repository at this point in the history
  • Loading branch information
rightlag committed Aug 9, 2017
1 parent 3837701 commit 8def445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aptos/visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def visit_reference(self, reference, *args):
schema = self.context['definitions'][definition]
reference.value = Creator.create(schema.get('type')).unmarshal(schema)
# Resolve the value returned from the Creator.
self.visit_primitive(reference.value, *args)
reference.value.accept(self, *args)
reference.resolved = True
return reference

Expand Down

0 comments on commit 8def445

Please sign in to comment.