"""
byceps.typing
~~~~~~~~~~~~~

BYCEPS-specific type aliases for PEP 484 type hints

:Copyright: 2006-2017 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""

from uuid import UUID


UserID = UUID

BrandID = str

PartyID = str

"""
byceps.typing
~~~~~~~~~~~~~

BYCEPS-specific type aliases for PEP 484 type hints

:Copyright: 2006-2017 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""

from typing import NewType
from uuid import UUID


UserID = NewType('UserID', UUID)

BrandID = NewType('BrandID', str)

PartyID = NewType('PartyID', str)

Make BYCEPS-specific types actual lightweight types
Make BYCEPS-specific types actual lightweight types

This makes mypy report the custom type names in error messages instead of the existing types the alias.
