fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fcd9194bcb114d11dd77888f55c9f65374b88d7b
[librarian.git]
/
src
/
librarian
/
builders
/
__init__.py
1
from .txt import TxtBuilder
2
from .html import HtmlBuilder
3
from .sanitize import Sanitizer
4
5
6
builders = [
7
TxtBuilder,
8
HtmlBuilder,
9
Sanitizer,
10
]
11
12
13
def get_builder_class(builder_id):
14
return next(b for b in builders if b.identifier == builder_id)