-
Couldn't load subscription status.
- Fork 20
config: Allow reading from multiple files #1091
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
Conversation
The file was moved from the `actor` package to the `config` package, but the tests location wasn't updated. This commit brings the test location in sync with the code location again. Signed-off-by: Leandro Lucarella <[email protected]>
| """ | ||
| await self.send_config() | ||
|
|
||
| parent_paths = {p.parent for p in self._config_paths} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unique_parent_paths = [..] for more clarity? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know, it is a set; is it really necessary to say that items in a set are unique?
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
ba0ce39 to
743bbaf
Compare
743bbaf to
5cd4b40
Compare
|
Enabled auto-merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a couple of minor comments to check for. And LGTM otherwise
The `ConfigManagingActor` can now take more than one config file, and will read multiple files one after the other, overriding the previous values. Signed-off-by: Leandro Lucarella <[email protected]>
c795bbf to
c0f9fd5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
ConfigManagingActorcan now take more than one config file, and will read multiple files one after the other, overriding the previous values.Fixes #65.