set_input

DatomaJob.set_input(input_dictionary, preserve_name=False)[source]

Sets the input of the job. If the input is a local file, it will be uploaded to S3 (if it isn’t already there). You can also specify a directory.

Parameters:
  • input_dictionary (dict) – Dictionary with specified files/folders for each input.

  • preserve_name (bool, optional) – If True, the name of the file will be preserved in S3, defaults to False.