StackGuardian/tirith

Remove required_ from meta.required_provider and preserve backward compatibility

开放

#166 创建于 2024年8月8日

 (1 条评论) (0 个反应) (0 位负责人)Python (41 个派生)auto 404
good first issue

仓库指标

星标
 (168 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

We need to remove the required_ prefix from the meta.required_provider key in policies. The new key should be meta.provider. Also, we must ensure backward compatibility so that existing policies using meta.required_provider continue to function correctly.

  • Update the core, specifically the function start_policy_evaluation_from_dict to handle the above case
  • Write tests to ensure that policies with required_provider, and provider, both work.

贡献者指南