credmark.cmf.types.series.SeriesModelStartEndIntervalInput

DTO class SeriesModelStartEndIntervalInput(*, interval, start, end, modelInput=None, modelSlug, modelVersion=None)[source]

Bases: BaseModel

Show JSON schema
{
   "title": "SeriesModelStartEndIntervalInput",
   "type": "object",
   "properties": {
      "interval": {
         "title": "Interval",
         "type": "integer"
      },
      "start": {
         "title": "Start",
         "type": "integer"
      },
      "end": {
         "title": "End",
         "type": "integer"
      },
      "modelInput": {
         "title": "Modelinput",
         "anyOf": [
            {
               "type": "object"
            },
            {
               "$ref": "#/definitions/BaseModel"
            },
            {
               "type": "integer"
            },
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ]
      },
      "modelSlug": {
         "title": "Modelslug",
         "type": "string"
      },
      "modelVersion": {
         "title": "Modelversion",
         "type": "string"
      }
   },
   "required": [
      "interval",
      "start",
      "end",
      "modelSlug"
   ],
   "skip_test": true,
   "definitions": {
      "BaseModel": {
         "title": "BaseModel",
         "type": "object",
         "properties": {}
      }
   }
}

Config
  • schema_extra: dict = {‘skip_test’: True}

Fields
Parameters
Return type

None

field end: int [Required]
field interval: int [Required]
field modelInput: Optional[Union[dict, BaseModel, IntDTO, StrDTO, FloatDTO]] = None
field modelSlug: str [Required]
field modelVersion: Optional[str] = None
field start: int [Required]