-
Notifications
You must be signed in to change notification settings - Fork 42
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
Improve printing format #92
Comments
>>>show endpoints classEndpoints + CollectionEndpoints Class Endpoints +-----------------+-------------+------------------------------+---------------------------+ | b'p.properties' | b'p.type' | b'p.id' | b'p.operations' | +-----------------+-------------+------------------------------+---------------------------+ | b"['Location']" | b'Location' | b'vocab:EntryPoint/Location' | b"['POST', 'PUT', 'GET']" | +-----------------+-------------+------------------------------+---------------------------+ b'Query internal execution time: 0.231691 milliseconds' Collection Endpoints +----------------------------+---------------------------------------------+-------------------+ | b'p.type' | b'p.id' | b'p.operations' | +----------------------------+---------------------------------------------+-------------------+ | b'DroneCollection' | b'vocab:EntryPoint/DroneCollection' | b"['GET', 'PUT']" | | b'DatastreamCollection' | b'vocab:EntryPoint/DatastreamCollection' | b"['GET', 'PUT']" | | b'CommandCollection' | b'vocab:EntryPoint/CommandCollection' | b"['GET', 'PUT']" | | b'AnomalyCollection' | b'vocab:EntryPoint/AnomalyCollection' | b"['GET', 'PUT']" | | b'HttpApiLogCollection' | b'vocab:EntryPoint/HttpApiLogCollection' | b"['GET', 'PUT']" | | b'MessageCollection' | b'vocab:EntryPoint/MessageCollection' | b"['GET', 'PUT']" | | b'DroneLogCollection' | b'vocab:EntryPoint/DroneLogCollection' | b"['GET', 'PUT']" | | b'ControllerLogCollection' | b'vocab:EntryPoint/ControllerLogCollection' | b"['GET', 'PUT']" | +----------------------------+---------------------------------------------+-------------------+ b'Query internal execution time: 0.221227 milliseconds' Sample ^ |
looks fine. I will open a issue about making the agent leveraging Redis all-over the codebase. |
See references to older issues in #99 |
We have to use this data in demo/UI. This format may be difficult to handle it there otherwise it look fine. But I think redisgraph has updated the query output, so we also need to update or improve the printing method. |
The current printing format in client uses
show_data
method inquerying_mechanism
module. It prints the data fetched from redis in an inline manner. Instead of the current printing format we can use the inbuilt printing method in theredis-py
module which prints the data in a tabular form.The text was updated successfully, but these errors were encountered: