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

Multiple GeneralOption instances may have conflicts HPC-5407 #179

Open
itkovian opened this issue Jul 16, 2015 · 1 comment
Open

Multiple GeneralOption instances may have conflicts HPC-5407 #179

itkovian opened this issue Jul 16, 2015 · 1 comment

Comments

@itkovian
Copy link
Member

  • They can have different option sets
  • The second one currently still sees the options from the first one also sees and thus borks, because it does not recognise them

Maybe processed options should be removed.

@stdweird
Copy link
Member

until this gets resolved in a nother way, you can do

o = MyOptions()
p = OtherOptions(go_args=[], envvar_prefix="OTHER_OPTIONS")

then by setting environment variables OTHER_OPTIONS_YADDA_YADDA=1 you can pass things to OtherOptions

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