Skip to content

enhancement: csv parser "raw" can perhaps just use the relevant cell #417

@Artoria2e5

Description

@Artoria2e5

Currently we have

yield BatchCommand(
index=index,
json=command,
raw=row,
action=action,
operation=operation,
status=BatchCommand.STATUS_INITIAL,
user_summary=user_summary,

which causes the whole row to be dumped on error:

Image Image

This is a little jarring and frankly not totally helpful. Just providing the cell would help narrow down the problem. There would be no information loss because the old thing does not really tell you which column went wrong either -- how can you tell when there are many identical columns?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions