This commit is contained in:
2025-04-16 00:51:36 +08:00
parent e220b9d296
commit 5ac346932f
19 changed files with 6319 additions and 426 deletions
@@ -0,0 +1,12 @@
registry = {}
def register(func):
registry[func.__name__] = func
return func
def execture(name):
if name in registry:
return registry[name]
else:
print(f"Function {name} not found in registry.")
return None