Skip to content

The shape of the new metadata object #502

Closed

Description

@almarklein

See #362 for the meta-data overview issue.

Three methods were named: #362 (comment), but things evolve.

# What seemed to be what we converged to
{
    'standardized_field1': xxxx,
    'standardized_field2': xxxx,
    'raw': original_format_specific_meta_data,
}

# But I think I'm starting to like this more
{
    'standard': {
        'standardized_field1': xxxx,
         'standardized_field2': xxxx,
 'raw': { 
        **original_format_specific_meta_data,
    }
}

Anyway, we should probably resolve the other questions first, because the answers might effect what we do here.

Activity

  1. almarklein commented on Feb 12, 2021

    @almarklein
    MemberAuthor

    @FirefoxMetzger Back when this was discussed I think we concluded that putting all metadata in the same (flat) dict would not be ideal, because of potential name-clashes (which can be avoided by using a prefix, but yuk ). If all non-standard fields are in a separate dict, the user can discard all of it very easily. This discussion is very much open.

    For your current PR, just go with anything, and let's refine it later :)

  2. FirefoxMetzger commented on Feb 10, 2022

    @FirefoxMetzger
    Contributor

    closed via #739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions