Skip to content

Add max_items to Actor.start(), Actor.call() and Actor.call_task() #1163

Description

@vdusek

The client accepts max_items on actor.start(), actor.call() and task.call(), but Actor.start(), Actor.call() and Actor.call_task() don't expose it. A pay-per-result child run can't be capped without going through Actor.apify_client. The JS SDK passes it through, because its option types extend the client's.

Add max_items: int | None = None to the three methods and forward it to the client.

✍️ Drafted by Claude Code

Activity

  1. added
    enhancementNew feature or request.
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Oct 7, 2026
  2. added a commit that references this issue on Oct 7, 2026
    f68385a
  3. self-assigned this
    on Oct 7, 2026
  4. vdusek commented on Oct 7, 2026

    @vdusek
    ContributorAuthor

    Done in #1166.

    ✍️ Drafted by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions