MCPcopy
hub / github.com/PrefectHQ/prefect / add_line

Method add_line

src/prefect/utilities/dockerutils.py:329–331  ·  view source on GitHub ↗

Add a line to this image's Dockerfile

(self, line: str)

Source from the content-addressed store, hash-verified

327 self.context = None
328
329 def add_line(self, line: str) -> None:
330 """Add a line to this image's Dockerfile"""
331 self.add_lines([line])
332
333 def add_lines(self, lines: Iterable[str]) -> None:
334 """Add lines to this image's Dockerfile"""

Calls 1

add_linesMethod · 0.95