Skip to content

Commit 8926a58

Browse files
committed
INPUT.json is the default
1 parent 71a9e0c commit 8926a58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/apify/_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,11 +424,11 @@ def disable_browser_sandbox_on_platform(self) -> Self:
424424

425425
@property
426426
def canonical_input_key(self) -> str:
427-
return Path(self.input_key).stem
427+
return str(Path(self.input_key).with_suffix('.json'))
428428

429429
@property
430430
def input_key_candidates(self) -> set[str]:
431-
return {self.input_key, self.canonical_input_key, Path(self.canonical_input_key).with_suffix('.json').name}
431+
return {self.input_key, self.canonical_input_key, Path(self.canonical_input_key).stem}
432432

433433
@classmethod
434434
def get_global_configuration(cls) -> Configuration:

0 commit comments

Comments
 (0)