schema.py 211 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
from yams.buildobjs import EntityType, String

from cubes.array.schema import IntArray, FloatArray


class EntityTypeWithArrays(EntityType):
    name = String()
    iarray = IntArray()
    farray = FloatArray()