base_expr#

class jsonpolars.base_expr.ExprEnum(value)[source]#

An enumeration.

jsonpolars.base_expr.to_dict(inst) Dict[str, Any][source]#

Convert an instance of BaseExpr to a dict. This dict can be used in BaseExpr.from_dict method to create a identical instance of the original BaseExpr instance.

class jsonpolars.base_expr.BaseExpr(type: str = _REQUIRED())[source]#
classmethod from_dict(dct: Dict[str, Any])[source]#

Create an instance of BaseExpr from either a human created dict, or a dict created by the BaseExpr.to_dict method.

jsonpolars.base_expr.parse_expr(dct: Dict[str, Any]) T_EXPR[source]#

Note: you have to import everything in the jsonpolars.expr module to make this work.