Skip to content

PyPI 1.8.3: kaggle competitions submissions crashes (page_number mismatch) #923

@drehero

Description

@drehero

Bug

kaggle competitions submissions fails with:

TypeError: KaggleApi.competition_submissions() got an unexpected keyword argument 'page_number'

Repro

python -m venv .venv
. .venv/bin/activate
pip install kaggle==1.8.3
kaggle competitions submissions <competition>

Expected

List of submissions.

Actual

TypeError: unexpected keyword argument 'page_number'

Evidence

In the PyPI wheel:

  • competition_submissions_cli() calls:
    competition_submissions(competition, page_number=page, page_token=..., page_size=...)
  • but competition_submissions() signature is:
    (self, competition, group, sort, page_token, page_size)
    (no page_number param)

Environment

  • macOS (arm64)
  • Python 3.12.8
  • kaggle 1.8.3 (PyPI)

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