Skip to content

Commit

Permalink
Define __all__ to re-export classes (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobcheatley authored Oct 19, 2024
1 parent f80bc08 commit 6cb8383
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/jinjax/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
from .catalog import Catalog # noqa
from .component import Component # noqa
from .catalog import Catalog
from .component import Component
from .exceptions import * # noqa
from .jinjax import JinjaX # noqa
from .html_attrs import HTMLAttrs, LazyString # noqa
from .html_attrs import HTMLAttrs, LazyString
from .jinjax import JinjaX


__all__ = [
"Catalog",
"Component",
"ComponentNotFound",
"DuplicateDefDeclaration",
"HTMLAttrs",
"InvalidArgument",
"JinjaX",
"LazyString",
"MissingRequiredArgument",
]

0 comments on commit 6cb8383

Please sign in to comment.