fix(exporter): some methods had the wrong return types
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
92218e443b
commit
85c3be814d
1 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ class TypeExporter:
|
|||
|
||||
return f"from {filepath} import {class_name}", class_name
|
||||
|
||||
def _map_fieldtype(self, field) -> type | None:
|
||||
def _map_fieldtype(self, field) -> str | None:
|
||||
fieldtype = field.fieldtype.replace(" ", "")
|
||||
field_definition = ""
|
||||
|
||||
|
|
@ -194,7 +194,7 @@ class TypeExporter:
|
|||
|
||||
def _guess_indentation(
|
||||
self,
|
||||
) -> str:
|
||||
) -> None:
|
||||
from token import INDENT
|
||||
|
||||
with self.controller_path.open() as f:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue