internetarchive / internetarchive/openlibrary

Remove residual references to subject_people objects

Open
#1,043 1 comment 0 reactions 0 assignees View on GitHub
Affects: Data Lead: @cdrini Priority: 3 Type: Refactor/Clean-up
Dominant language
Python
Stars
6.7k
Forks
2k
Avg merge
2d 19h
Merged PRs (30d)
138

Description

Some `subject_people` fields used to have the form `{ type: "/type/text", value: String }` instead of just plain strings, like:

```json
{
"key" : "/works/OL55497W",
"subject_people" : [
{
"type" : "/type/text",
"value" : "Anton Pavlovich Chekhov (1860-1904)"
}
]
}
```

This is no longer the case, so any code checks for this (or worse, introduces it) can be removed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.