Schemas can be downloaded here https://docs.cdp.coinbase.com/downloads/derivatives/cde-sbe-xml-schemas-latest.tar.gz
with open('cde-sbe-order-api.xml', 'r') as f:
order_schema = sbe.Schema.parse(f)
Traceback (most recent call last):
File "fairx_messages.py", line 99, in
order_schema = sbe.Schema.parse(f)
File "/usr/lib/python3.6/site-packages/sbe/init.py", line 488, in parse
rv = _parse_schema(f)
File "/usr/lib/python3.6/site-packages/sbe/init.py", line 1037, in _parse_schema
return _parse_schema_impl(doc, None, schema_with_types.types)
File "/usr/lib/python3.6/site-packages/sbe/init.py", line 1154, in _parse_schema_impl
assert isinstance(stack[-1], Schema)
AssertionError