Passed
Push — master ( 4309e8...06e239 )
by Daniel
01:48
created

BasicNeedsForConverter.__init__()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
"""
2
Class Converter Specific Needs
3
4
Handling specific needs for Extractor script
5
"""
6
# package to handle files/folders and related metadata/operations
7
import os.path
8
# package to facilitate common operations
9
from tableau_hyper_management.BasicNeeds import BasicNeeds
10
11
12
class BasicNeedsForConverter:
13
    lcl_bn = None
14
15
    def __init__(self):
16
        self.lcl_bn = BasicNeeds()
17
18
    def fn_check_inputs_specific(self, input_parameters):
19
        self.fn_validate_single_value(os.path.dirname(input_parameters.output_file),
20
                                      'folder', 'output file')
21