Typed parameter classes that provide type-safe parameter handling and conversion utilities for query processing.

SchemaFieldToStrConverter

SchemaFieldToStrConverter()
Abstract base class for converting schema fields to string representations.

Inheritance

Inheritance Chain:
  • SchemaFieldToStrConverter
  • Generic

TypedParam

TypedParam(param, required_type)

Parameters

param
Param
required
The parameter to be typed.
required_type
type[RequiredT]
required
The required type for this parameter.

Inheritance

Inheritance Chain:
  • TypedParam
  • Generic

Properties

param
Param
The underlying parameter object.
required_type
type[RequiredT]
The required type for this parameter.

Methods

get_typed_value()

get_typed_value(value) -> RequiredT
value
Any
required
The value to convert to the required type.
Returns: RequiredT - The value converted to the required type.