credmark.cmf.types.adt.Maybe

DTO class Maybe(*, just=None)[source]

Bases: GenericModel, Generic[DTOCLS]

Show JSON schema
{
   "title": "Maybe",
   "type": "object",
   "properties": {
      "just": {
         "title": "Just"
      }
   }
}

Fields
Parameters

just (Optional[DTOCLS]) –

Return type

None

field just: Optional[DTOCLS] = None
get_just(obj)[source]
Parameters

obj (DTOCLS) –

Return type

DTOCLS

classmethod none()[source]