ImageIgnoreFileOptions

class baseten.sandbox.ImageIgnoreFileOptions(*, rel_path, is_directory)

Bases: object

A candidate path in a directory being pushed, for an ignore function.

Parameters:
  • rel_path (str)

  • is_directory (bool)

is_directory: bool

Whether the path is a directory, not a link to one.

rel_path: str

Path relative to the directory’s root, with forward slashes on all platforms.