Skip to content

Commit 1838bed

Browse files
committed
fix: lints
1 parent baa0fb5 commit 1838bed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stacrs.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ async def read(
212212
>>> item = await stacrs.read("item.json")
213213
"""
214214

215-
async def from_arrow(
215+
def from_arrow(
216216
table: arro3.core.Table,
217217
) -> dict[str, Any]:
218218
"""
@@ -227,7 +227,7 @@ async def from_arrow(
227227
dict[str, Any]: The STAC item collection
228228
"""
229229

230-
async def to_arrow(
230+
def to_arrow(
231231
items: list[dict[str, Any]] | dict[str, Any],
232232
) -> arro3.core.Table:
233233
"""

tests/test_duckdb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ def test_search_to_arrow(client: DuckdbClient) -> None:
4646
table = client.search_to_arrow("data/100-sentinel-2-items.parquet")
4747
data_frame = GeoDataFrame.from_arrow(table)
4848
assert len(data_frame) == 100
49-
table = data_frame.to_arrow()
50-
item_collection = stacrs.from_arrow(table)
49+
data_frame_table = data_frame.to_arrow()
50+
item_collection = stacrs.from_arrow(data_frame_table)
5151
assert len(item_collection["features"]) == 100

0 commit comments

Comments
 (0)