Skip to content

Align the input handling with the CLI #513

@Pijukatel

Description

@Pijukatel
  1. Storage client raises an error if there are multiple competing files for the same key.

For example, if there is INPUT and INPUT.json, then it should not try to guess which one should be used, but raise an error.

  1. Actor takes the input key name from the env var

Ordered from highest priority to lowest:
ACTOR_INPUT_KEY
APIFY_INPUT_KEY
CRAWLEE_INPUT_KEY
default="INPUT"

  1. When purging the directory, the input file will survive the purge. (Name of the surviving input file is based on the env var mentioned above)

Mainly to be aligned with CLI and Python implementation.
See: apify/apify-cli#960

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions