feat: add Consent model, migration, and repository
This commit is contained in:
parent
16f3e039d9
commit
9ccc6c885f
7 changed files with 200 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from typing import runtime_checkable
|
||||
|
||||
from porchlight.store.protocols import (
|
||||
ConsentRepository,
|
||||
CredentialRepository,
|
||||
MagicLinkRepository,
|
||||
UserRepository,
|
||||
|
|
@ -11,3 +12,4 @@ def test_protocols_are_runtime_checkable() -> None:
|
|||
assert runtime_checkable(UserRepository) # type: ignore[arg-type]
|
||||
assert runtime_checkable(CredentialRepository) # type: ignore[arg-type]
|
||||
assert runtime_checkable(MagicLinkRepository) # type: ignore[arg-type]
|
||||
assert runtime_checkable(ConsentRepository) # type: ignore[arg-type]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue