Skip to content

Commit 27814df

Browse files
aribraychalmerlowegcf-owl-bot[bot]
authored
fix: remove type annotations from _struct.py (#733)
* fix: remove type annotations from _struct.py * pin geoalchemy2 dependency * lower sqlalchemy version * revert version change * Update _struct.py Removed unused imports to satisfy linter. * Update setup.py * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Chalmer Lowe <chalmerlowe@google.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent a3b8a5f commit 27814df

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sqlalchemy_bigquery/_struct.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1818
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1919

20-
from typing import Mapping, Tuple
21-
2220
import packaging.version
2321
import sqlalchemy.sql.default_comparator
2422
import sqlalchemy.sql.sqltypes
@@ -54,8 +52,8 @@ class STRUCT(sqlalchemy.sql.sqltypes.Indexable, sqlalchemy.types.UserDefinedType
5452

5553
def __init__(
5654
self,
57-
*fields: Tuple[str, sqlalchemy.types.TypeEngine],
58-
**kwfields: Mapping[str, sqlalchemy.types.TypeEngine],
55+
*fields,
56+
**kwfields,
5957
):
6058
# Note that because:
6159
# https://docs.python.org/3/whatsnew/3.6.html#pep-468-preserving-keyword-argument-order

0 commit comments

Comments
 (0)