Skip to content

Upgrade to python-mlb-statsapi 1.1.0 and adopt async support #31

Description

@Mattsface

Goal

Upgrade python-mlb-statsapi to 1.1.0 and update this app to use its async API where it improves ingestion.

Scope

  • Bump dependency to python-mlb-statsapi==1.1.0
  • Identify current sync MLB calls used during ingestion
  • Convert appropriate ingestion/network paths to async
  • Preserve DB-only browser requests
  • Keep existing normalization, persistence, and completeness semantics unchanged
  • Avoid mixing async network I/O with long-lived database transactions

Tests

  • Existing offline suite stays green
  • Add focused async-path tests
  • Preserve ingestion/idempotence behavior

Out of scope

  • UI changes
  • Analytics changes
  • New MLB data features

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions