MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / clone

Method clone

tools/python-3.11.9-amd64/Lib/pipes.py:101–107  ·  view source on GitHub ↗

t.clone() returns a new pipeline template with identical initial state as the current one.

(self)

Source from the content-addressed store, hash-verified

99 self.steps = []
100
101 def clone(self):
102 """t.clone() returns a new pipeline template with identical
103 initial state as the current one."""
104 t = Template()
105 t.steps = self.steps[:]
106 t.debugging = self.debugging
107 return t
108
109 def debug(self, flag):
110 """t.debug(flag) turns debugging on or off."""

Callers 1

send_messageMethod · 0.45

Calls 1

TemplateClass · 0.70

Tested by

no test coverage detected