tableau_hyper_management.BasicNeedsForConverter   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A BasicNeedsForConverter.__init__() 0 2 1
A BasicNeedsForConverter.fn_check_inputs_specific() 0 3 1
1
"""
2
Class Converter Specific Needs
3
4
Handling specific needs for Extractor script
5
"""
6
# package to facilitate common operations
7
from tableau_hyper_management.BasicNeeds import os, BasicNeeds
8
9
10
class BasicNeedsForConverter:
11
    lcl_bn = None
12
13
    def __init__(self):
14
        self.lcl_bn = BasicNeeds()
15
16
    def fn_check_inputs_specific(self, input_parameters):
17
        self.lcl_bn.fn_validate_single_value(os.path.dirname(input_parameters.output_file),
18
                                             'folder', 'output file')
19