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

python: raise if row is None in get_latest_ride_status #564

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

kyoto7250
Copy link
Member

status が存在しない場合には HTTPException を raise させます。

Go実装でも常に raise していること、 ride に対応する ride_status が存在しないことはドメインから考えても異常系である(ride 挿入時に常に ride_status は挿入されているはず)ので、本対応で問題ないと考えています

@kyoto7250 kyoto7250 self-assigned this Dec 2, 2024
@kyoto7250 kyoto7250 force-pushed the raise_get_latest_ride_stauts branch from aefb4b1 to ed7d9a1 Compare December 4, 2024 01:52
@kyoto7250 kyoto7250 changed the title wip: python: raise if row is None in get_latest_ride_status python: raise if row is None in get_latest_ride_status Dec 4, 2024
@kyoto7250 kyoto7250 requested a review from zhanpon December 4, 2024 01:58
@kyoto7250 kyoto7250 force-pushed the raise_get_latest_ride_stauts branch from 3b0780c to eda7f54 Compare December 4, 2024 06:10
@kyoto7250 kyoto7250 merged commit 586d645 into main Dec 4, 2024
4 checks passed
@kyoto7250 kyoto7250 deleted the raise_get_latest_ride_stauts branch December 4, 2024 06:39
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.

2 participants