def _build_raw_indicator(spec, context): wrapped = RawIndicatorSpec.wrap(spec) column = Column( id=wrapped.column_id, datatype=wrapped.datatype, is_nullable=wrapped.is_nullable, is_primary_key=wrapped.is_primary_key, ) return RawIndicator(wrapped.display_name, column, getter=wrapped.getter)
def _build_raw_indicator(spec, context): wrapped = RawIndicatorSpec.wrap(spec) column = Column( id=wrapped.column_id, datatype=wrapped.datatype, is_nullable=wrapped.is_nullable, is_primary_key=wrapped.is_primary_key, ) return RawIndicator( wrapped.display_name, column, getter=wrapped.getter )