Skip to content

fix/correct hitting stat aliases#247

Open
ichiro-wang wants to merge 1 commit into
zero-sum-seattle:mainfrom
ichiro-wang:fix/get_player_stats
Open

fix/correct hitting stat aliases#247
ichiro-wang wants to merge 1 commit into
zero-sum-seattle:mainfrom
ichiro-wang:fix/get_player_stats

Conversation

@ichiro-wang
Copy link
Copy Markdown

Why

Out-related batting statistics such as walkoffs, flyouts, groundouts, and popouts were returning None values even when the MLB Stats API returned valid data.

What

Updated hitting statistic field aliases to correctly match the MLB Stats API response keys.

Tests

Ran test suite with:
poetry run pytest

Risk and impact

What is the risk level of the change and why?

Risk level: Minimal

This change only updates field alias mappings and does not modify application logic or API behavior.

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.

1 participant