Skip to content

Commit

Permalink
showcase a use case
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Oct 5, 2023
1 parent cf905b3 commit 3ae2d51
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import re
from datetime import date
from enum import Enum, unique
from typing import Iterable, List, Optional, Set
from typing import Dict, Iterable, List, Optional, Set, Type
from uuid import UUID, uuid4

import serializable
Expand Down Expand Up @@ -48,6 +48,14 @@ class SchemaVersion4(ViewType):
pass


SCHEMAVERSION_MAP: Dict[int, Type[ViewType]] = {
1: SchemaVersion1,
2: SchemaVersion2,
3: SchemaVersion3,
4: SchemaVersion4,
}


class ReferenceReferences(BaseHelper):

@classmethod
Expand Down

0 comments on commit 3ae2d51

Please sign in to comment.