Skip to content
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

HP-2372: Replace APINotImplementedError with ProfileAlreadyExistsForUserError #485

Merged
merged 3 commits into from
Apr 12, 2024

Conversation

danipran
Copy link
Contributor

The TODO for OM-385/HP-2368 is obsolete, so replace the APINotImplementedError with something more descriptive (since it won't be implemented), i.e. ProfileAlreadyExistsForUserError. APINotImplementedError is not used anymore after this, so remove it as well.

Also remove another obsolete TODO (HP-2370).

@danipran danipran requested a review from a team April 12, 2024 09:11
profiles/schema.py Outdated Show resolved Hide resolved
open_city_profile/consts.py Outdated Show resolved Hide resolved
@terovirtanen
Copy link
Contributor

HELSINKI-PROFILE-API branch is deployed to platta: https://helsinki-profile-pr485.api.dev.hel.ninja 🚀🚀🚀

@danipran danipran force-pushed the HP-2372/replace-api-not-implemented-error branch from d27da82 to e2b5e31 Compare April 12, 2024 09:24
@danipran danipran requested a review from charn April 12, 2024 09:25
open_city_profile/views.py Outdated Show resolved Hide resolved
Replaces APINotImplementedError in
ClaimProfileMutation.

Refs: HP-2372
@danipran danipran force-pushed the HP-2372/replace-api-not-implemented-error branch from e2b5e31 to dcd0ce4 Compare April 12, 2024 09:28
@danipran danipran requested a review from charn April 12, 2024 09:29
Copy link
Contributor

@charn charn left a comment

Choose a reason for hiding this comment

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

LGTM! 👍 :shipit:

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 65%)
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@terovirtanen
Copy link
Contributor

HELSINKI-PROFILE-API branch is deployed to platta: https://helsinki-profile-pr485.api.dev.hel.ninja 🚀🚀🚀

@danipran danipran merged commit 0e523c8 into main Apr 12, 2024
22 of 23 checks passed
@danipran danipran deleted the HP-2372/replace-api-not-implemented-error branch April 12, 2024 09:41
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