Skip to content

Commit

Permalink
typing: add missing inheritance from BaseHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
lonvia committed Sep 24, 2024
1 parent 3091925 commit 868f4dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osmium/_osmium.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class MergeInputReader:
"""


class SimpleWriter:
class SimpleWriter(BaseHandler):
""" Basic writer for OSM data. The SimpleWriter can write out
object that are explicitly passed or function as a handler and
write out all objects it receives. It is also possible to
Expand Down Expand Up @@ -182,7 +182,7 @@ class SimpleWriter:
def __exit__(self, *args: Any) -> None:...


class NodeLocationsForWays:
class NodeLocationsForWays(BaseHandler):
""" Handler for retriving and caching locations from ways
and adding them to ways.
"""
Expand Down

0 comments on commit 868f4dc

Please sign in to comment.