gnes.client.cli module

class gnes.client.cli.CLIClient(args, start_at_init=True)[source]

Bases: gnes.client.base.GrpcClient

bytes_generator
Return type:Iterator[bytes]
index()[source]
query()[source]
query_callback(req, resp)[source]

callback after get the query result override this method to customize query behavior

Parameters:
  • resp (Response) – response
  • req (Request) – query
Returns:

start()[source]
train()[source]
class gnes.client.cli.ProgressBar(bar_len=20, task_name='')[source]

Bases: object

update()[source]