Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/jsoniqmagic/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ def run(self, line, cell=None, timed=False):
print("Usual reasons: firewall, misconfigured proxy.")
return
if len(capplusone) > rumble.getRumbleConf().getResultSizeCap():
count = response.count()
print("The query output %s items, which is too many to display. Displaying the first %s items:" % (count, rumble.getRumbleConf().getResultSizeCap()))
print("The query output too many items to display. Displaying the first %s items:" % (rumble.getRumbleConf().getResultSizeCap()))
Comment on lines 159 to +160

@McLavish McLavish Aug 10, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @ghislainfourny I should disable automatic copilot reviews, they are really nitpicky and mostly pointless

for e in capplusone[:rumble.getRumbleConf().getResultSizeCap()]:
print(json.dumps(json.loads(e.serializeAsJSON()), indent=2))

Expand Down