Source code for LOGS.Entities.FormatInstrument
from typing import Optional
from LOGS.Auxiliary.Decorators import Endpoint
from LOGS.Entity.EntityWithStrId import EntityWithStrId
from LOGS.Interfaces.INamedEntity import INamedEntity
[docs]
@Endpoint("parser_instruments")
class FormatInstrument(EntityWithStrId, INamedEntity):
_description: Optional[str] = None
@property
def description(self) -> Optional[str]:
return self._description
@description.setter
def description(self, value):
self._description = self.checkAndConvertNullable(value, str, "description")