Question: any way to extend the library?
- Dominant language
- Python
- Stars
- 59
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
I'm very new to this library and the first question I have in mind (you may find it trivial): is there any flexible way to extend the list of features from https://github.com/mahmoud/ashes#compatibility?
More specifically, I am thinking about a way to inject external functions. If comfortable with the context, something similar to the Jinja filters. E.g.:
```python
context.register_feature('virtual_name', feature_function_name)
```
And use the feature as `virtual_name` inside the template.
Is this currently possible or on the roadmap?
Thanks,
Mircea
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the compatibility section in the repository README and inspect how features are currently exposed to templates. Determine whether external function injection is already supported; if not, define the intended registration API and how a registered name would be resolved inside a template.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100