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.

貢獻者指南