Opened 54 minutes ago

Last modified 44 minutes ago

#37164 assigned Cleanup/optimization

Support jsonl Deserializer subclasses' _get_lines methods

Reported by: Adam Johnson Owned by: Adam Johnson
Component: Core (Serialization) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The jsonl Deserializer class calls Deserializer._get_lines() directly, rather than via self, preventing subclasses from overriding this methods (for example, to use an alternative JSON library). This has been the case since ee5147cfd7de2add74a285537a8968ec074e70cd. Let's change it to use self.

Change History (1)

comment:1 by Adam Johnson, 44 minutes ago

Has patch: set
Note: See TracTickets for help on using tickets.
Back to Top