-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Switch node config format (#39)
* read local nodes from JSON instead of env var and handle missing nodes gracefully * update local node setting in tests and test new warnings * handle cases where local nodes JSON is not a list or is an empty dict * update unit test of local nodes parser * replace template .env with template nodes config JSON * update instructions to use local nodes config in README * update docstring and warning message * remove unneeded tmp path fixture
- Loading branch information
Showing
6 changed files
with
208 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"NodeName": "First Node", | ||
"ApiURL": "https://myfirstnode.org/" | ||
}, | ||
{ | ||
"NodeName": "Second Node", | ||
"ApiURL": "https://mysecondnode.org/" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.