Permit multiple threads to share a common Environment
@Quantum0uasar is already working on this.
Since Jun 1, 2026.
Assessment
This issue has not been assessed yet.
Description
The Environment class saves a copy of the most recently-created Runnable program instance.
This can make it awkward to have an Environment shared by multiple threads creating thread-specific Runnable objects to do concurrent evaluations of CEL expressions.
Remove the self.runnable attribute and return the Runnable instance from Environment.program()
See issue #38
- Dominant language
- Python
- Stars
- 174
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloud-custodian/cel-python
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cloud-custodian/cel-python#180 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
cloud-custodian/cel-python#194 ·
-
documentation enhancement tracking
Difficulty 3/5 1-2 days Newbie friendliness 68/100
cloud-custodian/cel-python#182 ·
-
Refresh Features Opendependencies
cloud-custodian/cel-python#172 · 2 comments · 1 assignee ·
-
bug
cloud-custodian/cel-python#145 · 4 comments · 2 assignees ·
All issues in cloud-custodian/cel-python
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100