Skip to content

Conversation

@sfc-gh-mvashishtha
Copy link
Contributor

@sfc-gh-mvashishtha sfc-gh-mvashishtha commented Aug 4, 2025

I introduced a subtle bug that caused some cases of __init__ to not respect AutoSwitchBackend.disable() here:

if len(input_backends) == 1 and (

That should be < 2 as it was before; otherwise __init__ from a non-modin input (e.g. the dict in this case) will auto-switch regardless of the value of AutoSwitchBackend.

Resolves #7640

Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@snowflake.com>
@sfc-gh-mvashishtha sfc-gh-mvashishtha merged commit e3724b6 into modin-project:main Aug 4, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: AutoSwitchBackend.disable() does not work with Snowpandas

2 participants