Skip to content

Mark secondary arguments as keyword-only #1863

@vdusek

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 Apify 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.

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
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions