X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=aspects%2F__init__.py;fp=aspects%2F__init__.py;h=aa7b05c57f2c1d276613bd700546ca19affaacaf;hb=40785ed42aacff32beac8f18cb65e5534eb9d064;hp=cdab6d60086e9ea83a2e8274e353cdd36d9ee169;hpb=f5b0dff0ebde4366af74ae6a0d894bf7893f95f4;p=plcapi.git diff --git a/aspects/__init__.py b/aspects/__init__.py index cdab6d6..aa7b05c 100644 --- a/aspects/__init__.py +++ b/aspects/__init__.py @@ -7,6 +7,8 @@ from aspects.ratelimitaspects import RateLimitAspect def apply_omf_aspect(): # track all PLC methods to add OMF hooks weave_class_method(OMFAspect(), Method, "__call__") + +def apply_ratelimit_aspect(): weave_class_method(RateLimitAspect(), Method, "__call__") def apply_debugger_aspect():