kes.fields package

Submodules

kes.fields.imagefield module

class kes.fields.imagefield.ImageField(property_id: uuid.UUID, image_ref: Optional[kes.fields.imagefield.ImageField.ImageRef] = None)

Bases: object

This class allows saving and reading images in fields

class ImageRef(name: str, value_id: uuid.UUID)

Bases: object

class ImageUpload(name: str, key: str)

Bases: object

save(stub: kes.proto.table_pb2_grpc.TableStub, name: str, data: bytes)

Writes the given binary stream as the image of this field

kes.fields.locationfield module

Location field module.

class kes.fields.locationfield.LocationField(property_id: uuid.UUID)

Bases: object

This class allows saving and reading location in fields

class Point(name: str, latitude: float, longitude: float, address: str)

Bases: object

A point contained within a location field