我知道我们可以将资源嵌入到另一个资源中,但是下面的模式似乎不起作用?使一组资源可嵌入另一个资源的正确方法是什么?
outer = {
'type': 'dict',
'schema': {
'inner': {
'type': 'list',
'schema': {
'type': 'objectid',
'required': True,
'data_relation': {
'resource': 'other_resources',
'embeddable': True,
},
},
},
}
}