Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, **kwargs):
self.country = 'DE'
self.prov = kwargs.pop('prov', 'SH')
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = "FI"
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = 'CO'
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = "BD"
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = 'England'
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = 'Ireland'
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = 'UK'
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = "VN"
HolidayBase.__init__(self, **kwargs)
def __init__(self, country, **kwargs):
self.country = country
self.holidays = []
if getattr(h1, 'holidays', False):
for h in h1.holidays:
self.holidays.append(h)
else:
self.holidays.append(h1)
if getattr(h2, 'holidays', False):
for h in h2.holidays:
self.holidays.append(h)
else:
self.holidays.append(h2)
HolidayBase.__init__(self, **kwargs)
def __init__(self, **kwargs):
self.country = 'US'
HolidayBase.__init__(self, **kwargs)