-
Notifications
You must be signed in to change notification settings - Fork 102
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
[IMPORT][SYNTHESE] Sélection du JDD ligne par ligne #2943
[IMPORT][SYNTHESE] Sélection du JDD ligne par ligne #2943
Conversation
7337b3a
to
d2c2eec
Compare
586bc52
to
0e8d355
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feat/import #2943 +/- ##
===============================================
+ Coverage 81.81% 81.83% +0.02%
===============================================
Files 120 120
Lines 9291 9297 +6
===============================================
+ Hits 7601 7608 +7
+ Misses 1690 1689 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
3213f05
to
c0882c9
Compare
...end/geonature/migrations/versions/imports/6e1852ecfea2_add_column_unique_dataset_id_to_t_.py
Show resolved
Hide resolved
f442346
to
887757e
Compare
887757e
to
3ccd8c8
Compare
- Revision alembic to add column unique_dataset_id and src_unique_dataset_id - Add into bib_fields and into cor_entity_fields - change the model Synthese Geonature to add unique_dataset_id Reviewed-by: andriacap
In database these two fields are nullable then change type to allow "None" value Reviewed-by: andriacap
Reviewed-by: andriacap
Fix errors based on adding unique_dataset_id Reviewed-by: andriacap
utiliser la colonne id_dataset de la table t_import_synthese plutôt que d’utiliser la valeur litéral imprt.id_dataset
3ccd8c8
to
ad3a932
Compare
ad3a932
to
1dc1532
Compare
@@ -143,11 +143,25 @@ def new_import(synthese_destination, users, import_dataset): | |||
|
|||
|
|||
@pytest.fixture() | |||
def uploaded_import(new_import, import_file_name): | |||
def uploaded_import(client, new_import, datasets, import_file_name): |
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.
def uploaded_import(client, new_import, datasets, import_file_name): | |
def uploaded_import(new_import, datasets, import_file_name): |
Reviewed-by: andriacap
Reviewed-by: andriac
Reviewed-by: andriac
Based on Elie's review Reviewed-by: andriac
1dc1532
to
a2cb5a9
Compare
Salut, Je fais une passe sur nos PR et je voulais savoir si cette PR n'était pas censée être fermée ?Car si j'ai bien compris cette PR : #3129 a repris le travail fait ici ? Merci d'avance :) |
22e3600
to
3cc485f
Compare
Repris dans #3129 |
Tâche liée projet IMPORT V3 [BACKEND][SYNTHESE] Sélection du jdd ligne par ligne
Alembic
unique_dataset_id
andsrc_unique_dataset_id
bib_fields
Checks
voir :
GeoNature/contrib/gn_module_occhab/backend/gn_module_occhab/imports/__init__.py
Lines 99 to 106 in ac3fb19
Test backend
voir ce qui est fait pour occhab :
GeoNature/backend/geonature/tests/imports/test_imports_occhab.py
Lines 81 to 107 in ac3fb19
Reviewed-by: andriacap