Commit 6c35424f authored by Neeme Kahusk's avatar Neeme Kahusk

classes

parent eb309960
......@@ -17,6 +17,25 @@ from configure_columns import SIMPLE, NAMES
XPATHLIST = NAMES
class CommunicationInfo(object):
def __init__(self):
self.email = ''
self.url = ''
self.address = ''
self.zipCode = ''
self.city = ''
self.country = ''
self.telephoneNumber = ''
self.faxNumber = ''
class Person(object):
def __init__(self):
self.surname = ''
self.givenName = ''
self.communicationInfo = None
def make_filter(tabelifail: str = 'tulbad.csv') -> list:
"""Reads "columns file" (columns 'label', 'simplepath', 'xpath' etc. and returns
possible list of labels (possible columns for query).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment