Skip to content

Conversation

@jmontagnat-pass
Copy link
Contributor

…reate abstract for titelive synchronization

🎯 Related Ticket or 🔧 Changes Made

Ticket Notion

  • Travail pair testé en environnement de preview

@jmontagnat-pass jmontagnat-pass force-pushed the jmontagnat/handle-titelive-music-synhcro-with-data branch from 4b65019 to 9fb531f Compare November 26, 2025 13:20
@jmontagnat-pass jmontagnat-pass marked this pull request as ready for review November 26, 2025 14:04
@jmontagnat-pass jmontagnat-pass force-pushed the jmontagnat/handle-titelive-music-synhcro-with-data branch from 9fb531f to 8b452ea Compare November 27, 2025 08:06
Copy link
Contributor

@tcoudray-pass tcoudray-pass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le retour principale c'est qu'il faut simplifier les serializers pour aider à la compréhension et à la maintenabilité :)

from pcapi.connectors.big_query.queries.base import BaseQuery
from pcapi.connectors.serialization.titelive_serializers import TiteLiveBookArticle
from pcapi.core.offers.models import OfferExtraData
from pcapi.connectors.serialization.titelive_serializers import TiteliveArticle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alors la PR est déjà énorme donc c'est pas trop le moment de le faire, mais est-ce qu'à un moment dans les deux semaines qui viennent, tu pourrais faire passer les modèles Titelive sur pydantic V2 :) ? Ça serait grandement apprécié :). Le ticket est ici

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, je vais faire la migration dans une PR a part 👍

@jmontagnat-pass jmontagnat-pass force-pushed the jmontagnat/handle-titelive-music-synhcro-with-data branch 2 times, most recently from 471fc5b to f17414d Compare December 1, 2025 14:23
Copy link
Contributor

@tcoudray-pass tcoudray-pass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mes retours sont des détails

Comment on lines +27 to +24
# We receive gtl_ids without leading zeros, and sometimes without trailing ones.
# We must add them to have an 8-character code.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quel bonheur 😄 !

@jmontagnat-pass jmontagnat-pass force-pushed the jmontagnat/handle-titelive-music-synhcro-with-data branch from 805e58b to aaf8065 Compare December 2, 2025 16:18
@jmontagnat-pass jmontagnat-pass force-pushed the jmontagnat/handle-titelive-music-synhcro-with-data branch from aaf8065 to 65f182e Compare December 2, 2025 16:19
@jmontagnat-pass jmontagnat-pass merged commit 7643fd9 into master Dec 2, 2025
61 of 62 checks passed
@jmontagnat-pass jmontagnat-pass deleted the jmontagnat/handle-titelive-music-synhcro-with-data branch December 2, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants