||The central reader for the exclusion of liability definitions. It is directly bound to a so called source|
The central reader for the exclusion of liability definitions. It is directly bound to a so called source which is defined by a pythonic dotted string to the class definition of this source. An instance of the passed source will be created on instantiation of this reader class by passing through the parameter kwargs.
Args: dotted_source_class_path (str orpyramid_oereb.lib.records.exclusion_of_liability.ExclusionOfLiabilityRecord): The path to the class which represents the source used by this reader. This class must exist and it must implement basic source behaviour of the api-pyramid_oereb-lib-sources-exclusion_of_liability-exclusionofliabilitybasesource.
- (kwargs): kwargs, which are necessary as configuration parameter for the above by
- dotted name defined class.
The read method of this reader. There we invoke the read method of the bound source.
If you subclass this class your implementation needs to offer this method in the same signature. Means the parameters must be the same and the return must be a list of api-pyramid_oereb-lib-records-availability-availabilityrecord. Otherwise the API like way the server works would be broken.
- list of pyramid_oereb.lib.records.exclusion_of_liability.ExclusionOfLiabilityRecord:
- The list of found records. Since these are not filtered by any criteria the list simply contains all records delivered by the source.