Skip to content

Commit 0ce00ac

Browse files
committed
chore: updates imports to ensure correct type hint processing under Py3.8
1 parent e9d589b commit 0ce00ac

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

packages/pandas-gbq/pandas_gbq/core/resource_references.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Use of this source code is governed by a BSD-style
33
# license that can be found in the LICENSE file.
44

5+
from __future__ import annotations
6+
57
import dataclasses
68
import re
79
from typing import Union

packages/pandas-gbq/pandas_gbq/schema/pyarrow_to_bigquery.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright (c) 2023 pandas-gbq Authors All rights reserved.
22
# Use of this source code is governed by a BSD-style
33
# license that can be found in the LICENSE file.
4+
5+
from __future__ import annotations
46

57
from typing import Optional, cast
68

0 commit comments

Comments
 (0)