Artifact

Properties

  • filename Filename of this (Artifact)

  • large If true, this (Artifact) has a large size

  • name

  • object_name


Methods

reset_url

reset_url()

Description

Reset url of this object


reset_url

reset_url()

Description

Reset url property of this Artifact by calling platform.

Returns

A url as str of this Artifact.


update

update(
   name: Optional[str] = None, filename: Optional[str] = None,
   object_name: Optional[str] = None, large: Optional[bool] = None
)

Description

Update this artifact with a new name, filename, object_name or large

Examples

this_artifact.update(object_name="another-path-to-artifact")

Arguments

  • name (str, optional) : New name of the artifact. Defaults to None.

  • filename (str, optional) : New filename of the artifact. Defaults to None.

  • object_name (str, optional) : New object_name of the artifact. Defaults to None.

  • large (bool, optional) : New large of the artifact. Defaults to None.


delete

delete()

Description

Delete this artifact

Examples

this_artifact.delete()