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

Add generic node script to examples #96

Merged
merged 4 commits into from
Apr 12, 2021

Conversation

raminqaf
Copy link
Contributor

@raminqaf raminqaf commented Apr 6, 2021

This should close #91

examples/node.py Outdated Show resolved Hide resolved
examples/node.py Outdated Show resolved Hide resolved
examples/node.py Outdated
Comment on lines 24 to 25
parser.add_argument("-k", "--key", help="key", type=str, default=None)
parser.add_argument("-v", "--value", help="value", type=str, default=None)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the idea is to just have a generalized node script that could either be a bootstrap or just connect to other nodes - I don't think it would/should set a key/value (that would be up to set.py as an example)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bmuller Good point I'll remove these arguments including the server.set and server.stop functions

raminqaf and others added 3 commits April 7, 2021 10:35
Co-authored-by: Brian Muller <bamuller@gmail.com>
Co-authored-by: Brian Muller <bamuller@gmail.com>
@raminqaf raminqaf requested a review from bmuller April 7, 2021 08:38
@bmuller bmuller merged commit 1194bda into bmuller:master Apr 12, 2021
@bmuller
Copy link
Owner

bmuller commented Apr 12, 2021

Thanks @raminqaf!

@raminqaf raminqaf deleted the example/generic-node-script branch July 27, 2021 10:58
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

Successfully merging this pull request may close these issues.

Consider add a second_node.py example
2 participants