Skip to content

Commit b9476e6

Browse files
committed
style: fix formatting and clean up imports
1 parent 1624846 commit b9476e6

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

packages/bigframes/bigframes/operations/blob.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,10 @@
1414

1515
from __future__ import annotations
1616

17-
import os
18-
import warnings
19-
from typing import Literal, Optional, Union, cast
20-
21-
import pandas as pd
22-
import requests
2317

2418
import bigframes.dataframe
25-
import bigframes.exceptions as bfe
2619
import bigframes.operations as ops
2720
import bigframes.series
28-
from bigframes import clients, dtypes
2921
from bigframes.core.logging import log_adapter
3022

3123
FILE_FOLDER_REGEX = r"^.*\/(.*)$"

packages/bigframes/bigframes/session/polars_executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _is_node_polars_executable(node: nodes.BigFrameNode):
122122
return False
123123
for expr in node._node_expressions:
124124
if isinstance(expr, agg_expressions.Aggregation):
125-
if not type(expr.op) in _COMPATIBLE_AGG_OPS:
125+
if type(expr.op) not in _COMPATIBLE_AGG_OPS:
126126
return False
127127
if isinstance(expr, expression.Expression):
128128
if not set(map(type, _get_expr_ops(expr))).issubset(_COMPATIBLE_SCALAR_OPS):

0 commit comments

Comments
 (0)