---
title: "OmegaPhi (@ywyt738) | Hashnode"
description: "DevOps. Read the latest articles by OmegaPhi on Hashnode."
url: "https://hashnode.com/@ywyt738"
---

@ywyt738

# OmegaPhi

@ywyt738 · Shanghai,China · Joined May 2019

DevOps

[Website](https://www.omegaphi.me/)

### [Python Decorator Template](https://ywyt738.hashnode.dev/python-decorator-template?utm_source=hashnode&utm_medium=feed)

without arguments from functools import wraps def decorate(func): @wraps(func) def wrapper(\*args, \*\*kwargs): # some actions before func # ... \_r = func(\*args, \*\*kwargs) # some actions after func # ......

1 min read · [ywyt738.hashnode.dev](https://ywyt738.hashnode.dev/python-decorator-template?utm_source=hashnode&utm_medium=feed)

[May 13, 2021](https://hashnode.com/posts/python-decorator-template/609d19a2b684eb4cd52c3d93)
