From 1be49f473997259ebaeb7b19ca39dbdd1d21f702 Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Sat, 21 Dec 2024 16:29:23 -0500 Subject: [PATCH] fix: switch to `Unknown` rather than `Any` --- src/MLJInterface.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MLJInterface.jl b/src/MLJInterface.jl index 6dafa404..f93be7f9 100644 --- a/src/MLJInterface.jl +++ b/src/MLJInterface.jl @@ -625,12 +625,12 @@ MMI.metadata_model( function MMI.target_scitype( ::Type{<:SRRegressor{D,L,E}} ) where {D<:AbstractDimensions,L,E<:TemplateExpression} - return AbstractVector{<:Any} + return AbstractVector{<:MMI.Unknown} end function MMI.target_scitype( ::Type{<:MultitargetSRRegressor{D,L,E}} ) where {D<:AbstractDimensions,L,E<:TemplateExpression} - return Union{MMI.Table(Any),AbstractMatrix{<:Any}} + return Union{MMI.Table(MMI.Unknown),AbstractMatrix{<:MMI.Unknown}} end function tag_with_docstring(model_name::Symbol, description::String, bottom_matter::String)