bayesline.api.equity.UploadParserResult#

pydantic model bayesline.api.equity.UploadParserResult#

Result of a parser operation.

Parameters#

parserstr | None

The name of the parser that was used.

successbool

Whether the parsing was successful.

messageslist[str]

List of messages from the parsing operation.

Show JSON schema
{
   "title": "UploadParserResult",
   "description": "Result of a parser operation.\n\nParameters\n----------\nparser : str | None\n    The name of the parser that was used.\nsuccess : bool\n    Whether the parsing was successful.\nmessages : list[str]\n    List of messages from the parsing operation.",
   "type": "object",
   "properties": {
      "parser": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Parser"
      },
      "success": {
         "title": "Success",
         "type": "boolean"
      },
      "messages": {
         "items": {
            "type": "string"
         },
         "title": "Messages",
         "type": "array"
      }
   },
   "additionalProperties": false,
   "required": [
      "success",
      "messages"
   ]
}

Config:
  • frozen: bool = True

  • extra: str = forbid

Fields:
  • messages (list[str])

  • parser (str | None)

  • success (bool)

field parser: str | None = None#
field success: bool [Required]#
field messages: list[str] [Required]#