For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python class
ArtifactFile
ArtifactFile
class max.pipelines.lib.artifact.ArtifactFile(name, content)
Bases: object
A file stored inside the .m artifact directory.
When serializing, str content is written as UTF-8 text, bytes are
written as-is, and a Path is copied. After
deserialization, content is always the path of the file inside the
artifact directory.
-
Parameters:
content
name
name: str
sha256()
sha256()
Returns the hex sha256 digest of the bytes this file writes.
-
Return type: