Allow an optional separator splitting the value and unit of the result of ByteSize.human_readable.#8706
Allow an optional separator splitting the value and unit of the result of ByteSize.human_readable.#8706sydney-runkle merged 5 commits intopydantic:mainfrom jks15satoshi:main
ByteSize.human_readable.#8706Conversation
CodSpeed Performance ReportMerging #8706 will not alter performanceComparing Summary
|
|
Please review |
sydney-runkle
left a comment
There was a problem hiding this comment.
I think it'd make more sense to support a str type separator, which is an empty string by default. Could you please use that approach instead?
Thanks for your work here. Looking forward to having this new feature.
OK. Changes committed. |
ByteSize.human_readable by a space character.ByteSize.human_readable.
sydney-runkle
left a comment
There was a problem hiding this comment.
Looks great, thanks! So excited to have this as a new feature in our upcoming minor release :).
Thanks so much! It's my pleasure. |
Change Summary
Allow splitting the value and unit of the result of
ByteSize.human_readablewith a separator providing by the argumentseparator.Related issue number
fix #8668
Checklist
Selected Reviewer: @adriangb