oorq:OpenObject Redis队列

时间:2021-05-08 15:44:46
【文件属性】:
文件名称:oorq:OpenObject Redis队列
文件大小:25KB
文件格式:ZIP
更新时间:2021-05-08 15:44:46
python redis queue asynchronous openerp OpenObject的RQ 使用执行OpenObject任务。 API兼容性 对于OpenERP v5,模块版本为v1.XX或更低版本,分支为api_v5 对于OpenERP v6,模块版本为v2.XX ,分支为api_v6 对于OpenERP v7,模块版本为v3.XX ,分支为api_v7 进行异步写入的示例。 将装饰器添加到函数中 from osv import osv from oorq . decorators import job class ResPartner ( osv . osv ): _name = 'res.partner' _inherit = 'res.partner' @ job ( async = True ) def write ( self , cursor , user , ids , vals , context
【文件预览】:
oorq-api_v5
----.gitignore(297B)
----oorq()
--------bin()
--------exceptions.py(204B)
--------tests()
--------ir_cron.py(529B)
--------worker.py(600B)
--------security()
--------oorq.py(17KB)
--------utils.py(373B)
--------tasks.py(7KB)
--------oorq_view.xml(15KB)
--------xmlrpc.py(250B)
--------__init__.py(508B)
--------__terp__.py(440B)
--------requirements.txt(45B)
--------decorators.py(9KB)
--------autoworker.py(2KB)
----README.md(1KB)
----tests()
--------tests_5_requirements.txt(71B)
--------test_api.py(1KB)
--------__init__.py(2KB)
--------test_jobspool.py(4KB)
--------test_monkeypatch.py(727B)
----requirements.txt(21B)
----.travis.yml(1KB)

网友评论