Skip to content

Commit

Permalink
proto in mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Jan 8, 2021
1 parent 6b66abb commit e08982c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pyramid_basemodel/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@
]

import logging
import sys

from datetime import datetime
from typing import Callable, Protocol, List, Union, Tuple
from typing import Callable, List, Union, Tuple
if sys.version_info[0] == 3 and sys.version_info[1] <= 7:
from typing_extensions import Protocol
else:
from typing import Protocol

from sqlalchemy import Column
from sqlalchemy import Unicode
Expand Down

0 comments on commit e08982c

Please sign in to comment.