mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +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,
|
||||
columns: Dict[str, Any],
|
||||
pk: Optional[Any] = DEFAULT,
|
||||
foreign_keys: Optional[ForeignKeysType] = DEFAULT,
|
||||
column_order: Optional[List[str]] = DEFAULT,
|
||||
not_null: Optional[Iterable[str]] = DEFAULT,
|
||||
defaults: Optional[Dict[str, Any]] = DEFAULT,
|
||||
hash_id: Optional[str] = DEFAULT,
|
||||
hash_id_columns: Optional[Iterable[str]] = DEFAULT,
|
||||
extracts: Optional[Union[Dict[str, str], List[str]]] = DEFAULT,
|
||||
foreign_keys: Union[Optional[ForeignKeysType], Default] = DEFAULT,
|
||||
column_order: Union[Optional[List[str]], Default] = DEFAULT,
|
||||
not_null: Union[Optional[Iterable[str]], Default] = DEFAULT,
|
||||
defaults: Union[Optional[Dict[str, Any]], Default] = DEFAULT,
|
||||
hash_id: Union[Optional[str], Default] = DEFAULT,
|
||||
hash_id_columns: Union[Optional[Iterable[str]], Default] = DEFAULT,
|
||||
extracts: Union[Optional[Union[Dict[str, str], List[str]]], Default] = DEFAULT,
|
||||
if_not_exists: bool = False,
|
||||
replace: bool = False,
|
||||
ignore: bool = False,
|
||||
transform: bool = False,
|
||||
strict: bool = DEFAULT,
|
||||
strict: Union[bool, Default] = DEFAULT,
|
||||
) -> "Table":
|
||||
"""
|
||||
Create a table with the specified columns.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue