关闭框架按钮插件
CloeePy-Boto的Python项目详细描述
#cloeepy rabbitmq
cloeepy框架的boto插件将boto会话附加到cloeepy应用程序上下文。
并且支持基于文本的
配置。您只需确保在“cloeepy.plugins”下面列出
阅读
[boto3文档](https://boto3.read the docs.io/en/latest/guide/configuration.html《指南配置》
````
cloeepy
…
/>“app.boto”。或者,您可以指定一个不同的命名空间,通过“pluginnamespace”访问rabbitmq连接。
````
…
插件:
cloeepy_boto:
pluginnamespace:custombotons
```
,您将在应用程序上下文上访问您的boto连接,如下:
````
app=cloeepy()
result=app.custombotons.ping()
app.log.info(result)
````
` ` ` ` `
` ` ` `
` ` ` `
` ` ` ` ` `
` ` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` ` ` `
os.environ[“cloeepy config_path”]=“/example config.yml”
cloeepy框架的boto插件将boto会话附加到cloeepy应用程序上下文。
并且支持基于文本的
配置。您只需确保在“cloeepy.plugins”下面列出
阅读
[boto3文档](https://boto3.read the docs.io/en/latest/guide/configuration.html《指南配置》
````
cloeepy
…
/>“app.boto”。或者,您可以指定一个不同的命名空间,通过“pluginnamespace”访问rabbitmq连接。
````
…
插件:
cloeepy_boto:
pluginnamespace:custombotons
```
,您将在应用程序上下文上访问您的boto连接,如下:
````
app=cloeepy()
result=app.custombotons.ping()
app.log.info(result)
````
` ` ` ` `
` ` ` `
` ` ` `
` ` ` ` ` `
` ` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` ` ` `
os.environ[“cloeepy config_path”]=“/example config.yml”