bayesline.api.equity.UploadSettings#

pydantic model bayesline.api.equity.UploadSettings#

Settings for uploading data.

Show JSON schema
{
   "title": "UploadSettings",
   "description": "Settings for uploading data.",
   "type": "object",
   "properties": {
      "data_type": {
         "title": "Data Type",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "data_type"
   ]
}

Config:
  • frozen: bool = True

  • extra: str = forbid

Fields:
  • data_type (str)

Validators:

field data_type: str [Required]#
Validated by:
  • _strip_unknown_on_load

get_references() Sequence[str | int]#

Get references for this settings object.

Returns#

Sequence[str | int]

A sequence of references (strings or integers) for this settings object.

property menu_type: type[UploadSettingsMenu]#

Get the menu type for this settings object.

Returns#

type[UploadSettingsMenu]

The menu type for this settings object.