Skip to content

Commit

Permalink
♻️ Don't require middleware key on block middleware extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
MiWeiss committed Jan 18, 2024
1 parent 2f2aa2c commit cdc1928
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bibtexparser/middlewares/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ class BlockMiddleware(Middleware, abc.ABC):
except if `allow_inplace_modification` is true.
"""

@staticmethod
@abc.abstractmethod
def metadata_key() -> str:
"""Identifier of the middleware.
This key is used to identify the middleware in a blocks metadata.
"""
pass

# docstr-coverage: inherited
def transform(self, library: "Library") -> "Library":
# TODO Multiprocessing (only for large library and if allow_multi..)
Expand Down

0 comments on commit cdc1928

Please sign in to comment.