mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Make SUPPORTS_DYNAMIC an optional property, defaulting to False
This commit is contained in:
@@ -16,13 +16,14 @@ class BaseSource(object):
|
||||
if not hasattr(self, 'SUPPORTS_GEO'):
|
||||
raise NotImplementedError('Abstract base class, SUPPORTS_GEO '
|
||||
'property missing')
|
||||
if not hasattr(self, 'SUPPORTS_DYNAMIC'):
|
||||
raise NotImplementedError('Abstract base class, SUPPORTS_DYNAMIC '
|
||||
'property missing')
|
||||
if not hasattr(self, 'SUPPORTS'):
|
||||
raise NotImplementedError('Abstract base class, SUPPORTS '
|
||||
'property missing')
|
||||
|
||||
@property
|
||||
def SUPPORTS_DYNAMIC(self):
|
||||
return False
|
||||
|
||||
def populate(self, zone, target=False, lenient=False):
|
||||
'''
|
||||
Loads all records the provider knows about for the provided zone
|
||||
|
Reference in New Issue
Block a user