fix integer set type

This commit is contained in:
Maxim Kurnikov
2019-02-20 02:38:39 +03:00
parent 78810f55b6
commit 5d8cdbcf29
10 changed files with 20 additions and 20 deletions

View File

@@ -246,7 +246,7 @@ def extract_primary_key_type_for_get(model: TypeInfo) -> Optional[Type]:
def make_optional(typ: Type):
return UnionType.make_simplified_union([typ, NoneTyp()])
return UnionType.make_union([typ, NoneTyp()])
def make_required(typ: Type) -> Type: