Skip to content

Commit

Permalink
fix: switch to Unknown rather than Any
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 21, 2024
1 parent a394da2 commit 643f610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MLJInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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{<: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(Unknown),AbstractMatrix{<:Unknown}}
end

function tag_with_docstring(model_name::Symbol, description::String, bottom_matter::String)
Expand Down

0 comments on commit 643f610

Please sign in to comment.