Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Interpolation Engine #205

Open
snowman2 opened this issue Aug 6, 2020 · 1 comment
Open

Custom Interpolation Engine #205

snowman2 opened this issue Aug 6, 2020 · 1 comment
Milestone

Comments

@snowman2
Copy link

snowman2 commented Aug 6, 2020

Currently there are two interpolation engines supported in configobj. It would be nice to be able to create you own interpolation engine for custom use cases. One example would be to implement features such as the variables in the serverless project:

https://www.serverless.com/framework/docs/providers/aws/guide/variables/

For example: ${ssm:/path/to/variable}

One way to officially support this would be to create an abstract base class based on InterpolationEngine for other projects to inherit from and create their own. Then, add an interpolation_engine kwarg to pass in this class to use when doing interpolation.

Thoughts? Ideas?

@robdennis
Copy link
Member

This is an interesting idea that would require someone who wants to take this on project on after I muster up the maintenance release

@robdennis robdennis added this to the Someday milestone Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants