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

tableau_hyper_management.BasicNeedsForConverter   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 21
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 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