Skip to content

Remove Record.__getslice__ - #1172

Merged
robsdedude merged 2 commits into
neo4j:6.xfrom
robsdedude:remove-record-getslice
May 15, 2025
Merged

Remove Record.__getslice__#1172
robsdedude merged 2 commits into
neo4j:6.xfrom
robsdedude:remove-record-getslice

Conversation

@robsdedude

@robsdedude robsdedude commented May 14, 2025

Copy link
Copy Markdown
Member

This magic method has been removed in Python 3.0.

If you were calling it directly, please use Record.__getitem__(slice(...)) or simply record[...] instead.

@AndyHeap-NeoTech AndyHeap-NeoTech left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I do like to see deprecation removals

@robsdedude
robsdedude enabled auto-merge (squash) May 15, 2025 13:53
@robsdedude
robsdedude merged commit eb98759 into neo4j:6.x May 15, 2025
@robsdedude
robsdedude deleted the remove-record-getslice branch May 15, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants