Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAS-133152 / 25.04 / remove bidict from routing.py (and simplify dramatically) #15233

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

yocalebo
Copy link
Contributor

Remove bidict usage in routing.py. This, in turn, allowed me to dramatically simplify the kwargs variable generation by removing the most unnecessarily complicated for loop I've ever had the pleasure of dealing with. This is the last usage of bidict, so I've removed it from dependency list as well.

@yocalebo yocalebo requested review from sonicaj and a team December 18, 2024 14:30
@bugclerk bugclerk changed the title remove bidict from routing.py (and simplify dramatically) NAS-133152 / 25.04 / remove bidict from routing.py (and simplify dramatically) Dec 18, 2024
@bugclerk
Copy link
Contributor

@truenas truenas deleted a comment from bugclerk Dec 18, 2024
@yocalebo yocalebo merged commit e977671 into master Dec 18, 2024
2 checks passed
@yocalebo yocalebo deleted the rem-bidict branch December 18, 2024 14:56
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants