diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index 5326ae5..2c3176d 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -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.