Skip to content

Commit

Permalink
feat: add beartype checking for rdfproxy
Browse files Browse the repository at this point in the history
beartype offers high performance runtime type checking based on type annotations.
Runtime checking can contribute to a healthier code base (see fixes)
and also allows fast failures with meaningful exceptions for library users.

Closes #152.
  • Loading branch information
lu-pl committed Dec 1, 2024
1 parent 5146914 commit a65c42a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rdfproxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
from beartype.claw import beartype_this_package
beartype_this_package()

from rdfproxy.adapter import SPARQLModelAdapter # noqa: F401
from rdfproxy.mapper import ModelBindingsMapper # noqa: F401
from rdfproxy.utils._types import SPARQLBinding # noqa: F401
from rdfproxy.utils.models import Page # noqa: F401


0 comments on commit a65c42a

Please sign in to comment.