eoio.writers.base.WriteCapability

eoio.writers.base.WriteCapability#

class eoio.writers.base.WriteCapability(ok: bool, reason: str = '')[source]#

Whether a writer can express a given object in its format.

Parameters:
  • ok – Whether the object can be written.

  • reason – Why not, when ok is False. Should say what is missing, so the user can act on it.

__init__(ok: bool, reason: str = '') → None#

Methods

Attributes