Python
You're viewing a free preview. Sign in free to read every tool guide.
A function that wraps another function Every automation script eventually needs the same handful of behaviors around otherwise unrelated functions: retry on failure, log how long something took, check a feature flag…
Decorators: Wrapping a Function Without Rewriting It
Sign in free to read this guide, along with the rest of the DevOps Tools library.
Sign in free