Skip to content

Upload additional files in run object  #1332

Open

Description

@Taniya-Das

Description

Implement upload of additional files (such as model in binary format etc.) in the run object.

Steps

To upload additional files, each file should be added as a tuple ("file_name", "file_content") to file_elements in https://github.com/openml/openml-python/blob/develop/openml/base.py#L132.

This has been implemented as a patch in this commit - openml/openml-tensorflow@259f356

Example XML with additional file

Example: https://www.openml.org/api/v1/xml/run/10594197

Activity

  1. PGijsbers commented on Mar 20, 2024

    @PGijsbers
    Member

    Specifically there is already a method for extensions that is supposed to be able to let the extension add additional files to the run, but it is not used from the generic extension code (supposedly). But it would also be good if the run object had some add_file function or something of that nature to allow anyone to add the extra files, and update OpenMLRun._get_file_elements accordingly.

  2. added this to the 0.16.0 milestone on Oct 14, 2024
  3. added a commit that references this issue on Apr 4, 2025
    21493ef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions