Skip to content

Commit

Permalink
Minor type updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerbinns committed Nov 27, 2022
1 parent e78568c commit 9000b1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apsw/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import sys
from typing import Union, Tuple, List, Optional, Callable, Any, Dict, \
Iterator, Sequence, Literal, Set
from collections.abc import Mapping
from array import array
from types import TracebackType
import array
import types

if sys.version_info >= (3, 8):
from typing import Protocol
Expand Down
6 changes: 3 additions & 3 deletions apsw/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from dataclasses import dataclass, make_dataclass

from typing import Optional, Tuple, Union, List, Any, Dict, Callable
from typing import Optional, Tuple, Union, List, Any, Dict, Callable, Sequence
import functools
import abc

Expand Down Expand Up @@ -420,9 +420,9 @@ class QueryDetails:
":attr:`Cursor.is_explain <apsw.Cursor.is_explain>`"
is_readonly: bool
":attr:`Cursor.is_readonly <apsw.Cursor.is_readonly>`"
description: Tuple[[str, str], ...]
description: Tuple[Tuple[str, str], ...]
":meth:`Cursor.getdescription <apsw.Cursor.getdescription>`"
description_full: Optional[Tuple[[str, str, str, str, str], ...]]
description_full: Optional[Tuple[Tuple[str, str, str, str, str], ...]]
":attr:`Cursor.description_full <apsw.Cursor.description_full>`"
expanded_sql: Optional[str]
":attr:`Cursor.expanded_sql <apsw.Cursor.expanded_sql>`"
Expand Down
4 changes: 2 additions & 2 deletions src/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from typing import Union, Tuple, List, Optional, Callable, Any, Dict, \
Iterator, Sequence, Literal, Set
from collections.abc import Mapping
from array import array
from types import TracebackType
import array
import types

if sys.version_info >= (3, 8):
from typing import Protocol
Expand Down

0 comments on commit 9000b1b

Please sign in to comment.