-
Notifications
You must be signed in to change notification settings - Fork 1
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
Doc'd the debugger #33
base: master
Are you sure you want to change the base?
Conversation
|
||
The three arguments are the same arguments one would pass to receptor itself. | ||
|
||
data_path: points to the data path where the manifest and message store will reside |
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 still don't entirely get what this is. Is this a filesystem path encoded as a string?
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.
yes
Run |
listen: defines the url that the receptor server will start on | ||
node_id: declares the name of the node, or the node_id | ||
|
||
The API exposes 4 endpoints: |
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.
Which API exposes four endpoints? The receptor process' socket address as defined by the listen
parameter?
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.
Your're right............sigh
@@ -13,34 +13,65 @@ | |||
|
|||
|
|||
class DiagNode: | |||
""" | |||
A DiagNode takes a datapath, a node_id and a listener port and spins up an instance of a |
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.
Can this docstring start by stating what a DiagNode
is, before progressing to the parameters it takes? Something like:
"""A wrapper around a receptor process that's configured to provide debugging info.
Accepts the following parameters:
...
"""
Or whatever is appropriate. I see some references to web.run_app
and flask, so apparently there's a web app somewhere?
Doc'd the debugger