Skip to content

Commit 0b87663

Browse files
committed
fmt
1 parent 7d64aa9 commit 0b87663

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

autogpt_platform/backend/test/test_data_creator.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
APIKeyCreateInput,
3434
CreditTransactionCreateInput,
3535
IntegrationWebhookCreateInput,
36-
LibraryAgentCreateInput,
3736
ProfileCreateInput,
3837
StoreListingReviewCreateInput,
3938
UserCreateInput,
@@ -213,12 +212,12 @@ async def main():
213212

214213
for i in range(num_agents):
215214
graph = available_graphs[i] # Use unique graph for each library agent
216-
215+
217216
# Get creator profile for this graph's owner
218217
creator_profile = next(
219218
(p for p in profiles if p.userId == graph.userId), None
220219
)
221-
220+
222221
library_agent = await db.libraryagent.create(
223222
data={
224223
"userId": user.id,

autogpt_platform/backend/test/test_data_updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ async def main():
304304
)
305305
print("\nTop 5 store listings by rating:")
306306
for row in sample_reviews:
307-
avg_rating = row['avg_rating'] if row['avg_rating'] is not None else 0.0
307+
avg_rating = row["avg_rating"] if row["avg_rating"] is not None else 0.0
308308
print(
309309
f" - Listing {row['storeListingId'][:8]}...: {avg_rating:.2f} ⭐ ({row['review_count']} reviews)"
310310
)

0 commit comments

Comments
 (0)