-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadditional_questions.py
More file actions
28 lines (23 loc) · 903 Bytes
/
Copy pathadditional_questions.py
File metadata and controls
28 lines (23 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import yaml
class LinkedinAdditionalQuestions:
def checkboxConfigData(self):
try:
with open('additional_questions\check.yaml') as check:
data = yaml.load(check, Loader=yaml.FullLoader)
except Exception as e:
print("Error in Parsing yaml : " + str(e))
return data
def inputFieldConfigData(self):
try:
with open('additional_questions\input.yaml') as input:
data = yaml.load(input, Loader=yaml.FullLoader)
except Exception as e:
print("Error in Parsing yaml : " + str(e))
return data
def radioConfigData(self):
try:
with open('additional_questions\\radio.yaml') as input:
data = yaml.load(input, Loader=yaml.FullLoader)
except Exception as e:
print("Error in Parsing yaml : " + str(e))
return data