Entity

class nyoibo.entities.Entity(**kwargs)

Entity.

This class must be superclass for classes that you want create getters or setters. All fields must starts with _.

Parameters:

kwargs – values to fields.

Raises:
  • FieldValueError – if the casting failed.

  • PrivateFieldError – if a field does not start with _. This exception is raised when program starts.