继承这个包中的FuncClass写一个它的子类,重写它的predict方法可以从/register/接口来动态运行这个predict方法, 然后通过post方式将代码放入请求的body体中,就可以动态运行这个方法。可以通过/add/和/reduce/减少可以可以同时存在的子类数量。 启动工程方法 实例 pyengine run -p 5000 -n 50
Project description
eds sdk for python
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyengine-0.0.1.tar.gz
(2.3 kB
view details)
File details
Details for the file pyengine-0.0.1.tar.gz
.
File metadata
- Download URL: pyengine-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfce81ca9fa7d4200fae1e0ecf925f062dd6546ad0e6a40b2f18958ea0632cff |
|
MD5 | 5b9cc54f56ecbb9b9f04775294ce486f |
|
BLAKE2b-256 | d8f46de074a0e3335da1dfba6893519e5e07d497eaae93d4eec11676a460e91b |