Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79ff3bf

Browse files
committed
Formatting
1 parent53b5b52 commit79ff3bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/rushdb/api/records.py‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,11 @@ def find(
474474
data=typing.cast(typing.Dict[str,typing.Any],search_queryor {}),
475475
headers=headers,
476476
)
477-
return [Record(self.client,record)forrecordinresponse.get("data")],response.get('total')
477+
return [
478+
Record(self.client,record)forrecordinresponse.get("data")
479+
],response.get("total")or0
478480
exceptException:
479-
return []
481+
return [],0
480482

481483
defimport_csv(
482484
self,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp