Skip to content

list of models using json format to pipe is cap to 65536 chars #520

@marciowb

Description

@marciowb

All commands bellow give me the same output.

lms ls --json
lms ls --json >> `tty`

lms ls --json > /tmp/models.txt
cat /tmp/models.txt

Using wc /tmp/models.txt I know that the model list has 65889 characters.

But when I pipe the output, only the first 65536 characters are supplied.
lms ls --json | cat

And using lms ls --json | wc the result is 65536 characters.

To reproduce the problem you need to have a lot of models like the list attached.
models.txt

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