fix(checker): handle setting unknown as column

This commit is contained in:
2026-07-07 10:01:59 +02:00
parent 56987f6cff
commit 4eb133ce17
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ class ColumnMethodRegistry(MethodRegistry[Call]):
# Build signature with new column type and generic operand # Build signature with new column type and generic operand
param_type: TypeVar = TypeVar(name="T", bound=None) param_type: TypeVar = TypeVar(name="T", bound=None)
signature = GenericType( signature = GenericType(
name="add", name=method,
params=[param_type], params=[param_type],
body=Function( body=Function(
params=ParamSpec( params=ParamSpec(

View File

@@ -132,7 +132,7 @@ class FrameManager:
location, location,
f"Cannot assign {type} to dataframe column. Must be a ColumnType", f"Cannot assign {type} to dataframe column. Must be a ColumnType",
) )
return frame return self._set_column(frame, name, ColumnType(type=UnknownType()))
return self._set_column(frame, name, type) return self._set_column(frame, name, type)
def get( def get(