dev #10

Merged
李衍志523370910113 merged 238 commits from dev into master 2025-03-05 16:20:39 +08:00
Showing only changes of commit 38f0bc8598 - Show all commits

View File

@ -3,7 +3,6 @@ from typing import Union
import humanfriendly
# FIXME: we don't need to compact for int
class Memory(int):
jon-lee marked this conversation as resolved Outdated

what compact?

what compact?

no int input, should be done already, so it can be removed. I added that several commit before before you removed that 😇

no int input, should be done already, so it can be removed. I added that several commit before before you removed that 😇
def __new__(cls, value: Union[str, int]) -> "Memory":
if isinstance(value, str):