📜  odoo 创建新的管理员用户命令行 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:23.196000             🧑  作者: Mango

代码示例1
import numpy as np

from functools import wraps
from time import time

def timing(f):
    @wraps(f)
    def wrap(*args, **kw):
        ts = time()
        result = f(*args, **kw)
        te = time()
        print('func:%r args:[%r, %r] took: %2.4f sec' % \
          (f.__name__, args, kw, te-ts))
        return result
    return wrap