Skip to content

Saving artifacts, In BaseArtifactService what if the artifact is required across sessions for the specific user? #125

@smartsastram

Description

@smartsastram

In BaseArtifactService

  @abstractmethod
  def save_artifact(
      self,
      *,
      app_name: str,
      user_id: str,
      session_id: str,
      filename: str,
      artifact: types.Part,
  ) -> int:

Saving artifacts, In runners.py, what if the fetched/uploaded file/artifact is required across sessions for the specific user?
I suggest removing the binding to the session_id or making it as optional argument.

Regards,
Ratnaker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions