fix CSW constructor
This commit is contained in:
parent
95a8cb931c
commit
143250ea9c
|
@ -67,8 +67,8 @@ class CswService(OwsService):
|
||||||
"""
|
"""
|
||||||
from owslib.csw import CatalogueServiceWeb as _Implementation
|
from owslib.csw import CatalogueServiceWeb as _Implementation
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, endpoint=None):
|
||||||
super(CswService, self).__init__()
|
super(CswService, self).__init__(endpoint)
|
||||||
self.sortby = SortBy([SortProperty('dc:identifier')])
|
self.sortby = SortBy([SortProperty('dc:identifier')])
|
||||||
|
|
||||||
def getrecords(self, qtype=None, keywords=[],
|
def getrecords(self, qtype=None, keywords=[],
|
||||||
|
|
Loading…
Reference in New Issue