-
Notifications
You must be signed in to change notification settings - Fork 45
(DS-2816)[API] feat: handle titelive music product synchronization, c… #20399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(DS-2816)[API] feat: handle titelive music product synchronization, c… #20399
Conversation
4b65019 to
9fb531f
Compare
9fb531f to
8b452ea
Compare
tcoudray-pass
left a comment
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 👍
471fc5b to
f17414d
Compare
tcoudray-pass
left a comment
There was a problem hiding this 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
| # We receive gtl_ids without leading zeros, and sometimes without trailing ones. | ||
| # We must add them to have an 8-character code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quel bonheur 😄 !
805e58b to
aaf8065
Compare
…reate abstract for titelive synchronization
aaf8065 to
65f182e
Compare
…reate abstract for titelive synchronization
🎯 Related Ticket or 🔧 Changes Made
Ticket Notion