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

Special value for environment source #89

Open
hazmat345 opened this issue Aug 6, 2018 · 0 comments
Open

Special value for environment source #89

hazmat345 opened this issue Aug 6, 2018 · 0 comments

Comments

@hazmat345
Copy link
Contributor

  • Yapcon version: 0.3.3
  • Python version: 3.6.1
  • Operating System: Centos 7

This arose out of #88:

Would it be possible to have a sort of dummy class defined in yapconf that can represent the environment source? That way instead of having to use a magic string you could pass an object.

# Current
spec.load_config('ENVIRONMENT')

# Proposed
spec.load_config(yapconf.env)
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

1 participant