Passed
Push — release ( 8e2c57...89a8a3 )
by Konstantinos
02:14
created

so_magic.data.backend.init_backend()   A

Complexity

Conditions 1

Size

Total Lines 15
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
nop 1
dl 0
loc 15
rs 10
c 0
b 0
f 0
1
from .engine import Engine
2
3
4
def init_engine(engine_type='pd'):
5
    return Engine.from_backend(engine_type)
6