Corrections to docstrings for delete method in providers: mongo, geojson (and base) (#504)

This commit is contained in:
Ian Edwards
2020-07-31 19:07:48 +01:00
committed by GitHub
parent 1a1dae6d8e
commit b98f8c2528
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ class BaseProvider:
raise NotImplementedError()
def delete(self, identifier):
"""Updates an existing feature id with new_feature
"""Deletes an existing feature
:param identifier: feature id
"""
+1 -1
View File
@@ -185,7 +185,7 @@ class GeoJSONProvider(BaseProvider):
dst.write(json.dumps(all_data))
def delete(self, identifier):
"""Updates an existing feature id with new_feature
"""Deletes an existing feature
:param identifier: feature id
"""
+1 -1
View File
@@ -172,7 +172,7 @@ class MongoProvider(BaseProvider):
{'_id': ObjectId(identifier)}, {"$set": data})
def delete(self, identifier):
"""Delets an existing feature
"""Deletes an existing feature
:param identifier: feature id
"""