Remove the code for computing filetype (extension) #702
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: ingestion server
Related to the ingestion/data refresh server
⛔ status: blocked
Blocked & therefore, not ready for work
Milestone
Blocked by #1560
Problem
We are currently using code to compute
extension
(filetype) for some images that do not have it in the database. This code should become unnecessary when we normalize data in the database.Description
We should remove the code that computes the
extension
during ES indexing as it should be available in thefiletype
field for all media items in the database.https://github.com/WordPress/openverse-api/blob/2e85caf7aede8aaf9d77cd5cb050f50b860ee58e/ingestion_server/ingestion_server/elasticsearch_models.py#L135-L144
The text was updated successfully, but these errors were encountered: