On 01/08/13 18:54, Ken Prows wrote:
Unfortunately, Category._type_info['children'] = Array(Category) dies with:

Hi,

Sorry but I can't reproduce this. Here's the test:

https://github.com/plq/spyne/commit/b61cdbcec4245381dc9b98cb2db88ccf03298c6f

I see that you're running Spyne trunk, (2.10 isn't released yet) can you try this test after either getting the latest code from my fork or reverting back to a stable Spyne?

Here are the instructions for testing on a stable Spyne:

git clone git://github.com/arskom/spyne
cd spyne
git checkout spyne-2.9.3
python -c "import spyne; assert spyne.__file__ == 'spyne/__init__.py'" && \
spyne/test/model/test_complex.py TestSelfRefence.test_self_referential_array_workaround

Here's what I see:

==============

{'Category': {'children': {'Category': [{'children': {}, 'id': 0},
                                        {'children': {}, 'id': 1}]},
              'id': None}}
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK

==============

Thanks,
Burak


_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to