Browse Source

Merge 5b42456d93 into 6df50d40fe

pull/12488/merge
Mateus Alves de Oliveira 4 days ago
committed by GitHub
parent
commit
3ba2eeaeee
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      fastapi/encoders.py

6
fastapi/encoders.py

@ -14,7 +14,7 @@ from ipaddress import (
from pathlib import Path, PurePath
from re import Pattern
from types import GeneratorType
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
from uuid import UUID
from fastapi.types import IncEx
@ -341,3 +341,7 @@ def jsonable_encoder(
custom_encoder=custom_encoder,
sqlalchemy_safe=sqlalchemy_safe,
)
DictIntStrAny = Dict[Union[int, str], Any]
SetIntStr = Set[Union[int, str]]

Loading…
Cancel
Save