experiment pool init

This commit is contained in:
seehi 2024-06-04 10:28:39 +08:00
parent 46aa6f1975
commit 471310f3b3
14 changed files with 258 additions and 55 deletions

View file

@ -72,7 +72,6 @@ class File:
class MemoryFileSystem(_MemoryFileSystem):
@classmethod
def _strip_protocol(cls, path):
return super()._strip_protocol(str(path))

View file

@ -23,5 +23,5 @@ def get_func_full_name(func, *args) -> str:
if inspect.ismethod(func) or (inspect.isfunction(func) and "self" in inspect.signature(func).parameters):
cls_name = args[0].__class__.__name__
return f"{func.__module__}.{cls_name}.{func.__name__}"
return f"{func.__module__}.{func.__name__}"