Skip to content

get_metadata() doesn't return a dict #30

@rgaudin

Description

@rgaudin

get_metadata()'s docstring announces a returned dict with the file's metadata.

Instead, it expects a parameter, the metadata Key and returns a memory-view of the value for this key.

  • we probably want str values (about all use cases) here as the raw content would still be available at r.get_article("M/Tags").content
  • shall we have that dict of all defined meta somewhere? It would definitely be useful.
  • docstring should be adjusted to the chosen behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions