Skip to content

Commit 27fb14a

Browse files
committed
feat : added all the latest decorators.
1 parent ac91bfb commit 27fb14a

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

decorators/__init__.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
from .logging_decorator import log_execution
2-
from .retry_decorator import retry_on_exception
1+
from .async_safe import async_safe
2+
from .benchmark import benchmark
33
from .cache_decorator import cache_result
4-
from .time_decorator import time_execution
54
from .deprecated import deprecated
5+
from .logging_decorator import log_execution
6+
from .memoize import memoize
7+
from .once import once
68
from .rate_limiter import rate_limiter
9+
from .retry_decorator import retry_on_exception
710
from .suppress_exceptions import suppress_exceptions
11+
from .time_decorator import time_execution
812
from .validate_types import validate_types
913

1014
__all__ = [
@@ -15,5 +19,10 @@
1519
"deprecated",
1620
"rate_limiter",
1721
"suppress_exceptions",
18-
"validate_types"
22+
"validate_types",
23+
"async_safe",
24+
"benchmark",
25+
"memoize",
26+
"once"
27+
1928
]

0 commit comments

Comments
 (0)