Skip to content

Mark secondary arguments as keyword-only #881

Closed

Description

@vdusek

Reshape function/method signatures across the public API so that secondary parameters must be passed as keyword arguments. Primary "subject" arguments stay positional.

This mirrors what was done in the client: apify/apify-client-python#766.

Why

Keyword-only parameters at API boundaries make call sites self-documenting and prevent breakage when new options are added between existing arguments.

Activity

  1. added
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Apr 29, 2026
  2. self-assigned this
    on Apr 29, 2026
  3. added
    debtCode quality improvement or decrease of technical debt.
    on Apr 29, 2026
  4. added this to the 4.0 milestone on Apr 29, 2026
  5. added a commit that references this issue on Jun 5, 2026
    eb94c99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

debtCode quality improvement or decrease of technical debt.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions