Skip to content

printing af.tree.keys() prints the whole tree #2009

@Cadair

Description

@Cadair
with asdf.open(filename) as af:
    print(af.tree.keys())

Instead of just printing the keys it prints (presumably) both the keys and the str representation of the whole tree which is super unhelpful when you are trying to interactively explore a tree.

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