FIRST :: MetadataServer¶
MetadataServer(data, address=None, engine_info=None)
Class to contain a FIRST match and its data.
FIRST Metadata container, it encapsulates the data received from the FIRST server.
- data (
dict) – Dictionary with the following key values set: name, prototype, creator, id, comment, rank
- address (
int) – The VA associated with the function the instance refers to.
- engine_info (
dict) – Dictionary with engine names mapping to the engine’s description.
FIRST.Error– If data is not a
dictor does not have the required keys.
int– The virtual address associated with the function.
str– The comment associated with the function.
str– The handle of the annotation creator.
dict– The mapping from engine name to its description.
str– The FIRST ID associated with this metadata.
str– The name of the function
str– The prototype of the function
int– The number of unqiue applies of this metadata.
float– The percentage of similarity between this function and the original queried for function. This value can be very rough estimate depending on the engine.
- data (