Skip to content

Return dict not protobuf message for ffs.default_config() #38

@peterVG

Description

@peterVG

Right now the user of the grpc-client has to import and use MessageToDict() from google.protobuf.json_format to convert the protobuf message to a Python dictionary. This should be abstracted away and done in the client which should just return a dictionary to the script calling ffs.default_config().

Note, this has already been done for the ffs.set_default_config() method. See

config = Parse(config, ffs_rpc_pb2.StorageConfig())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions