Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

skip_depth argument of spyne.protocol.ProtocolBase breaks primitive response #159

martijnvermaat opened this Issue Jul 16, 2012 · 1 comment


None yet
3 participants

If we specify skip_depth=2 in for example spyne.protocol.json.JsonObject, responses of methods with a primitive return type (e.g. _returns=spyne.model.primitive.String) can no longer be serialized:

File "spyne/protocol/_base.py", line 62, in unwrap_instance
  if len(out_type._type_info) == 1:
AttributeError: type object 'String' has no attribute '_type_info'

@ghost ghost assigned ugurcan377 Jul 23, 2012

ugurcan377 added a commit to ugurcan377/spyne that referenced this issue Jul 24, 2012

@ugurcan377 ugurcan377 referenced this issue Aug 6, 2012


Json test #170

plq added a commit to plq/spyne that referenced this issue Aug 6, 2012


plq commented Aug 6, 2012

fixed in trunk. the fix will be in 2.8.0

@plq plq closed this Aug 6, 2012

martijnvermaat added a commit to mutalyzer/mutalyzer that referenced this issue Dec 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment