Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-04-06 23:20:20 -07:00
parent e96d50f4f0
commit d3dfc556e0
38 changed files with 40 additions and 40 deletions

View File

@ -736,7 +736,7 @@ def generateType(path: str, name: str, schema: dict):
property_type = property_type.replace( property_type = property_type.replace(
'#/components/schemas/', '') '#/components/schemas/', '')
f.write( f.write(
"\tfrom ...models import " + "\tfrom ..models import " +
property_type + property_type +
"\n") "\n")
f.write( f.write(
@ -844,7 +844,7 @@ def generateType(path: str, name: str, schema: dict):
property_type = property_type.replace( property_type = property_type.replace(
'#/components/schemas/', '') '#/components/schemas/', '')
f.write( f.write(
"\t\tfrom ...models import " + "\t\tfrom ..models import " +
property_type + property_type +
"\n") "\n")
f.write( f.write(
@ -1002,7 +1002,7 @@ def generateType(path: str, name: str, schema: dict):
property_type = property_type.replace( property_type = property_type.replace(
'#/components/schemas/', '') '#/components/schemas/', '')
f.write( f.write(
"\t\tfrom ...models import " + "\t\tfrom ..models import " +
property_type + property_type +
"\n") "\n")
f.write( f.write(

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, Optional, Union from typing import Any, Dict, Optional, Union, cast
import httpx import httpx

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr

View File

@ -1,5 +1,5 @@
import datetime import datetime
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr
from dateutil.parser import isoparse from dateutil.parser import isoparse

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr

View File

@ -1,5 +1,5 @@
import datetime import datetime
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr
from dateutil.parser import isoparse from dateutil.parser import isoparse

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr

View File

@ -1,5 +1,5 @@
import datetime import datetime
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr
from dateutil.parser import isoparse from dateutil.parser import isoparse

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr

View File

@ -1,5 +1,5 @@
import datetime import datetime
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr
from dateutil.parser import isoparse from dateutil.parser import isoparse

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr

View File

@ -1,5 +1,5 @@
import datetime import datetime
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr
from dateutil.parser import isoparse from dateutil.parser import isoparse

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr

View File

@ -1,5 +1,5 @@
import datetime import datetime
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr
from dateutil.parser import isoparse from dateutil.parser import isoparse

View File

@ -1,4 +1,4 @@
from typing import Any, Dict, List, Type, TypeVar, Union from typing import Any, Dict, List, Type, TypeVar, Union, cast
import attr import attr