Skip to content

Commit 22d09e2

Browse files
fix pyright error
1 parent 39544b4 commit 22d09e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

installation_and_upgrade/part_truncate_archive.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ def main() -> None:
5555

5656
args = parser.parse_args()
5757

58-
# ignore pyright checking as oracle bug in type signature of close() method
58+
# ignore pyright checking as oracle bug in type signature of close() method
5959
with closing(
6060
mysql.connector.connect(
6161
user="root", password=args.password, host=args.host, database="archive"
62-
)
63-
) as conn: # pyright: ignore
62+
) # pyright: ignore
63+
) as conn:
6464
# this is so we don't cache query results and keep getting the same answer
6565
conn.autocommit = True
6666

0 commit comments

Comments
 (0)