Python GreengrassCoreIPCClientV2()的get_configuration()的工作示例。

0

【以下的问题经过翻译处理】 我试图寻找一个python示例,GreengrassCoreIPCClientV2()后跟get_configuration(),但是谷歌没有给我任何结果。我无法很好地遵循API参考来弄清楚如何处理返回类型GetConfigurationResponse。??

profile picture
EXPERT
asked 5 months ago50 views
1 Answer
0

【以下的回答经过翻译处理】 嗨。就像这样(对于具有配置参数“foo”和“bar”的组件):

        response = ipc_client.get_configuration()
        foo = response.value['foo']
        bar = response.value['bar']
profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions