PnX-SI / UsersHub-authentification-module

Module Flask d'authentification de UsersHub
GNU General Public License v3.0
5 stars 12 forks source link

feat(api): add Organism schema and add it to User #83

Closed mvergez closed 6 months ago

mvergez commented 6 months ago

Pour l'utilisation dans le schéma de Synthese pour cette PR https://github.com/PnX-SI/GeoNature/pull/2571. Il était nécessaire de sérialiser l'organisme (backref dans le model User) et donc d'ajouter un Schéma de l'organisme et d'y faire référence dans UserSchema

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d8749fe) 51.47% compared to head (f820604) 51.54%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #83 +/- ## =========================================== + Coverage 51.47% 51.54% +0.06% =========================================== Files 14 14 Lines 713 714 +1 =========================================== + Hits 367 368 +1 Misses 346 346 ``` | [Flag](https://app.codecov.io/gh/PnX-SI/UsersHub-authentification-module/pull/83/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/UsersHub-authentification-module/pull/83/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=PnX-SI) | `51.54% <100.00%> (+0.06%)` | :arrow_up: | 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.