Skip to content

Commit

Permalink
tpl / model / add missing typing import: `Tuple,Optional,BinaryIO,Tex…
Browse files Browse the repository at this point in the history
…tIO`
  • Loading branch information
Nementon authored and p1-ra committed May 12, 2021
1 parent 1649158 commit a751609
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import datetime
from io import BytesIO
from typing import Any, Dict, List, Type, TypeVar, Union, cast
from typing import Any, BinaryIO, Dict, List, Optional, TextIO, Tuple, Type, TypeVar, Union, cast

import attr
from dateutil.parser import isoparse
Expand Down
2 changes: 1 addition & 1 deletion openapi_python_client/templates/model.py.jinja
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Dict, Type, TypeVar
from typing import Any, Dict, Type, TypeVar, Tuple, Optional, BinaryIO, TextIO

{% if model.additional_properties %}
from typing import List
Expand Down

0 comments on commit a751609

Please sign in to comment.