Skip to content

Instantly share code, notes, and snippets.

@akelch
akelch / boneGenV3.py
Last active December 10, 2021 10:51
BoneGen
class xxRel(RelSkel):
name =stringBone(descr="FFFFFFFFFF", required = True)
nameMult = stringBone(descr="gggg", multiple = True, required = True)
spac = spatialBone(descr="GPS POINT",indexed=False, boundsLat=(30.0, 70.0), boundsLng=(-20.0, 50.0), gridDimensions=(1000.0, 1000.0))
class exampleSkel(Skeleton):
def __new__(cls, *args, **kwargs):
bones = [ baseBone, booleanBone, colorBone, credentialBone,numericBone,
dateBone, emailBone, fileBone, passwordBone,