query_generator

module wandb.apis.public


method QueryGenerator.filter_to_mongo

filter_to_mongo(filter)

Returns dictionary with filter format converted to MongoDB filter.


classmethod QueryGenerator.format_order_key

format_order_key(key: str)

Format a key for sorting.


method QueryGenerator.key_to_server_path

key_to_server_path(key)

Convert a key dictionary to the corresponding server path string.


method QueryGenerator.keys_to_order

keys_to_order(keys)

Convert a list of key dictionaries to an order string.


method QueryGenerator.mongo_to_filter

mongo_to_filter(filter)

Returns dictionary with MongoDB filter converted to filter format.


method QueryGenerator.order_to_keys

order_to_keys(order)

Convert an order string to a list of key dictionaries.


method QueryGenerator.server_path_to_key

server_path_to_key(path)

Convert a server path string to the corresponding key dictionary.