Skip to content

Instantly share code, notes, and snippets.

View lzc978's full-sized avatar
🎯
Focusing

Braveheart lzc978

🎯
Focusing
View GitHub Profile
@lzc978
lzc978 / annotation.py
Created June 3, 2019 05:54
Annotation
# ------ Create annotation check_params begin 2019-5-14 ------ #
__author__ = "brave_heart"
class CheckAnnotation(object):
"""
eg:
@CheckAnnotation.check_params
def func(params: str) -> str:
return ""
func("")