Store TMDB entries in the database

Abierto
#23 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
django, python
Área
backend, database

Línea de trabajo

Start by locating the Arr database API fetch, the current TMDB cache or model, and the code used by the “My/All Issues” load. Trace how stored entries can be compared with the fetched data, then verify that removed entries are deleted and existing and new entries are synchronized without repeated cache pulls.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Store TMDB entries in the database in order to avoid pulling each entry from cache.
Currently pulling them from cache causes slow "My/All Issues" load when multiple items exist

Implementation ideas
After grabbing the Arr database via API, do the following:

  1. Fetch Conreq's currently stored model of the Arr database
  2. Calculate the difference and delete any IDs that have been removed
  3. Calculate the intersection and call MODEL_NAME.objects.bulk_update on anything pre-existing
  4. Call MODEL_NAME.objects.bulk_create on anything new
Lenguaje dominante
Python
Estrellas
151
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Archmonger/Conreq

Todos los issues de Archmonger/Conreq

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.