Skip to content

Commit

Permalink
tweak config
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed May 11, 2024
1 parent e981e10 commit e37755b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/v1/examples/flux/submit-job.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import json
import argparse
from rainbow.client import RainbowClient
from jobspec.core import Jobspec
from jobspec.core import Jobspec, converter

# Your host should be in the rainbow-config.yaml
def get_parser():
Expand Down
2 changes: 2 additions & 0 deletions python/v1/rainbow/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def get(self, value, default=None):
"""
Easy access to get to underlying data.
"""
if not self._cfg:
return default
return self.cfg.get(value, default)

@property
Expand Down
2 changes: 1 addition & 1 deletion python/v1/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if __name__ == "__main__":
setup(
name="rainbow-scheduler",
version="0.0.16",
version="0.0.17",
author="Vanessasaurus",
author_email="[email protected]",
maintainer="Vanessasaurus",
Expand Down

0 comments on commit e37755b

Please sign in to comment.