重构第一版:重新验证2.0推荐写法

This commit is contained in:
geeker
2026-09-24 17:19:56 +08:00
parent 81db17ba9e
commit 0d71808498
21 changed files with 1887 additions and 936 deletions
+7
View File
@@ -0,0 +1,7 @@
from typing import Annotated
def say_hello(name: Annotated[str, "this is just metadata"]) -> str:
return f"Hello {name}"
print(say_hello('Annotated'))