build.middlewares   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
2
3
from loader import dp
4
from .throttling import ThrottlingMiddleware
5
6
7
if __name__ == "middlewares":
8
    dp.middleware.setup(ThrottlingMiddleware())
9