PnX-SI / gn_module_import

Module GeoNature d'import de données
7 stars 11 forks source link

Support import to multiple destination #495

Open bouttier opened 11 months ago

bouttier commented 11 months ago

Databases changes:

All backend routes are prefixed with destination. For now, the frontend calls the route with hard-coded "synthese" destination.

codecov[bot] commented 11 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (b719991) 91.18% compared to head (690a03b) 90.61%.

:exclamation: Current head 690a03b differs from pull request most recent head d896722. Consider uploading reports for the commit d896722 to get more accurate results

Files Patch % Lines
...kend/gn_module_import/checks/dataframe/__init__.py 87.50% 1 Missing :warning:
backend/gn_module_import/routes/imports.py 98.61% 1 Missing :warning:
backend/gn_module_import/routes/mappings.py 93.33% 1 Missing :warning:
backend/gn_module_import/utils.py 96.15% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #495 +/- ## =========================================== - Coverage 91.18% 90.61% -0.57% =========================================== Files 18 20 +2 Lines 1645 1567 -78 =========================================== - Hits 1500 1420 -80 - Misses 145 147 +2 ``` | [Flag](https://app.codecov.io/gh/PnX-SI/gn_module_import/pull/495/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PnX-SI) | Coverage Δ | | |---|---|---| | [pytest](https://app.codecov.io/gh/PnX-SI/gn_module_import/pull/495/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PnX-SI) | `90.61% <98.29%> (-0.57%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PnX-SI#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

jacquesfize commented 9 months ago

Ne pas oublier de passer les requêtes SQLA en style 2.0 et compatible 1.4 :)