Skip to content

inferParamTypes

function inferParamTypes(spec): Record<string, string> | undefined;

Defined in: src/schema.ts:145

Derive a paramTypes record from a SchemaLike spec. Maps common Arrow scalar types to Python-style type strings. Returns undefined if any field has a complex type (List, Map_, Dictionary, etc.).

ParameterType
specSchemaLike

Record<string, string> | undefined