nextpyp.client.gen.StreamLogMsg#

class nextpyp.client.gen.StreamLogMsg#

Bases: object

(no description yet)

Methods

__init__

deserialize

rtype:

StreamLogMsg

from_json

Creates a new class instance from JSON

serialize

rtype:

str

to_json

Converts this class instance into JSON

Attributes

TYPE_ID

timestamp

(no description yet)

level

(no description yet)

path

(no description yet)

line

(no description yet)

msg

(no description yet)

Details

__init__(timestamp, level, path, line, msg)#
Parameters:
  • timestamp (int) –

  • level (int) –

  • path (str) –

  • line (int) –

  • msg (str) –

Return type:

None

classmethod from_json(json, type_ids=None)#

Creates a new class instance from JSON

Return type:

StreamLogMsg

Parameters:
  • json (Dict[str, Any]) –

  • type_ids (Dict[str, str] | None) –

level: int#

(no description yet)

line: int#

(no description yet)

msg: str#

(no description yet)

path: str#

(no description yet)

timestamp: int#

(no description yet)

to_json()#

Converts this class instance into JSON

Return type:

Dict[str, Any]