Duplicated code between mistral.utils and mistral_lib.utils
Bug #1815183 reported by
Kevin Pouget
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
ali abdelal |
Bug Description
Is there any reason to keep functions `cut`, `cut_string`, `cut_list` and `cut_dict`, present in mistral_lib.utils, duplicated in mistral.utils ?
Could be convenient to use the mistral_lib ones only, to be able to update/fix utils functions at one place.
Changed in mistral: | |
assignee: | nobody → Kevin Pouget (kpouget) |
Changed in mistral: | |
milestone: | train-2 → train-1 |
Changed in mistral: | |
assignee: | Kevin Pouget (kpouget) → ali (alielal) |
To post a comment you must log in.
You're correct. They are not needed in mistral repo anymore. It's just a left over from the refactoring around mistral-lib. I'm in favour of moving all utils actually into mistral-lib.