mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-22 00:14:15 +02:00
Fix for mypy errors
This commit is contained in:
parent
96fab69256
commit
52ea7d21f4
1 changed files with 8 additions and 8 deletions
|
|
@ -1704,18 +1704,18 @@ class Table(Queryable):
|
||||||
self,
|
self,
|
||||||
columns: Dict[str, Any],
|
columns: Dict[str, Any],
|
||||||
pk: Optional[Any] = DEFAULT,
|
pk: Optional[Any] = DEFAULT,
|
||||||
foreign_keys: Optional[ForeignKeysType] = DEFAULT,
|
foreign_keys: Union[Optional[ForeignKeysType], Default] = DEFAULT,
|
||||||
column_order: Optional[List[str]] = DEFAULT,
|
column_order: Union[Optional[List[str]], Default] = DEFAULT,
|
||||||
not_null: Optional[Iterable[str]] = DEFAULT,
|
not_null: Union[Optional[Iterable[str]], Default] = DEFAULT,
|
||||||
defaults: Optional[Dict[str, Any]] = DEFAULT,
|
defaults: Union[Optional[Dict[str, Any]], Default] = DEFAULT,
|
||||||
hash_id: Optional[str] = DEFAULT,
|
hash_id: Union[Optional[str], Default] = DEFAULT,
|
||||||
hash_id_columns: Optional[Iterable[str]] = DEFAULT,
|
hash_id_columns: Union[Optional[Iterable[str]], Default] = DEFAULT,
|
||||||
extracts: Optional[Union[Dict[str, str], List[str]]] = DEFAULT,
|
extracts: Union[Optional[Union[Dict[str, str], List[str]]], Default] = DEFAULT,
|
||||||
if_not_exists: bool = False,
|
if_not_exists: bool = False,
|
||||||
replace: bool = False,
|
replace: bool = False,
|
||||||
ignore: bool = False,
|
ignore: bool = False,
|
||||||
transform: bool = False,
|
transform: bool = False,
|
||||||
strict: bool = DEFAULT,
|
strict: Union[bool, Default] = DEFAULT,
|
||||||
) -> "Table":
|
) -> "Table":
|
||||||
"""
|
"""
|
||||||
Create a table with the specified columns.
|
Create a table with the specified columns.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue