Skip to content

Commit

Permalink
Add hasher.UrlResult to the public objects
Browse files Browse the repository at this point in the history
Since the result of a UrlHasher.hash_url() call and the UrlHasher class itself
are the primary interfaces to this class, they should both be publicly
available.
  • Loading branch information
mcdonnnj committed Feb 16, 2021
1 parent b4c49d2 commit 3499d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hash_http_content/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
# package_name.__version__, which is used to get version information about this
# Python package.
from ._version import __version__ # noqa: F401
from .hasher import UrlHasher
from .hasher import UrlHasher, UrlResult

__all__: List[str] = ["UrlHasher"]
__all__: List[str] = ["UrlHasher", "UrlResult"]

0 comments on commit 3499d5c

Please sign in to comment.