octodns.source.base

class octodns.source.base.BaseSource(id)[source]

Bases: object

SUPPORTS_MULTIVALUE_PTR = False
SUPPORTS_POOL_VALUE_STATUS = False
SUPPORTS_ROOT_NS = False
SUPPORTS_DYNAMIC_SUBNETS = False
__init__(id)[source]
property SUPPORTS_DYNAMIC
populate(zone, target=False, lenient=False)[source]

Loads all records the provider knows about for the provided zone

When target is True the populate call is being made to load the current state of the provider.

When lenient is True the populate call may skip record validation and do a “best effort” load of data. That will allow through some common, but not best practices stuff that we otherwise would reject. E.g. no trailing . or missing escapes for ;.

When target is True (loading current state) this method should return True if the zone exists or False if it does not.

supports(record)[source]
__repr__()[source]

Return repr(self).