cloud-custodian / cloud-custodian/cel-python

Question usage of .contains()

未关闭
#128 6 条评论 1 个 reaction 已指派 1 人 已被 @slott56 认领 在 GitHub 查看
enhancement
主要语言
Python
星标
174
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

After the upgrade to version 0.4 the syntax field.contains("value") doesn't work when evaluating a json input.
Is this by design or do I need to change anything on my implementation?

The error I am getting is: Rule evaluation error: ('no such overload', , ("'str' object has no attribute 'contains'",))

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。