Completed
Push — master ( a73913...a94802 )
by Max
13s queued 11s
created

structured_data._class_placeholder   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 2

2 Functions

Rating   Name   Duplication   Size   Complexity  
A is_placeholder() 0 2 1
A placeholder() 0 3 1
1
def placeholder(function):
2
    function.is_placeholder = True
3
    return function
4
5
6
def is_placeholder(function) -> bool:
7
    return getattr(function, "is_placeholder", False)
8