Skip to content

Commit f571bff

Browse files
committed
fix: sort imports for ruff compliance
Signed-off-by: Jonathan Wrede <wrede.jonathan00@gmail.com>
1 parent d22bb4a commit f571bff

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

  • sdk/python/feast/infra/offline_stores/contrib/trino_offline_store

sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
22
import logging
33
import uuid
44
from datetime import date, datetime
5-
from typing import Any, Callable, ContextManager, Dict, Iterator, List, Literal, Optional, Tuple, Union
5+
from typing import (
6+
Any,
7+
Callable,
8+
ContextManager,
9+
Dict,
10+
Iterator,
11+
List,
12+
Literal,
13+
Optional,
14+
Tuple,
15+
Union,
16+
)
617

718
import numpy as np
819
import pandas as pd
@@ -407,9 +418,7 @@ def query_generator() -> Iterator[str]:
407418
finally:
408419
if isinstance(entity_df, pd.DataFrame):
409420
try:
410-
client.execute_query(
411-
f"DROP TABLE IF EXISTS {table_reference}"
412-
)
421+
client.execute_query(f"DROP TABLE IF EXISTS {table_reference}")
413422
except Exception:
414423
logger.exception(
415424
"Failed to drop temporary entity table %s",

0 commit comments

Comments
 (0)