Skip to content

bib.bibtexparser.middlewares.block.number_volume

Classes

ConvertStrNumberVolumeToInt

ConvertStrNumberVolumeToInt(
    allow_inplace_modification=True,
)

Bases: BlockMiddleware

Convert the field number or volume value of an entry when it is str to int type if possible.

Source code in pybibtexer/bib/bibtexparser/middlewares/block/number_volume.py
def __init__(self, allow_inplace_modification: bool = True):
    super().__init__(allow_inplace_modification=allow_inplace_modification, allow_parallel_execution=True)