|
Methods defined here:
- __init__(self)
- image = method(self, **kwargs)
- Returns the scaled/cropped image attached to a freebase node.
Args:
maxwidth: integer, Maximum width in pixels for resulting image.
maxheight: integer, Maximum height in pixels for resulting image.
fallbackid: string, Use the image associated with this secondary id if no image is associated with the primary id.
pad: boolean, A boolean specifying whether the resulting image should be padded up to the requested dimensions.
mode: string, Method used to scale or crop image.
Allowed values
fill - TODO(bendrees)
fillcrop - TODO(bendrees)
fillcropmid - TODO(bendrees)
fit - TODO(bendrees)
id: string, Freebase entity or content id, mid, or guid. (required) (repeated)
- mqlread = method(self, **kwargs)
- Performs MQL Queries.
Args:
lang: string, The language of the results - an id of a /type/lang object.
cursor: string, The mql cursor.
indent: integer, How many spaces to indent the json.
callback: string, JS method name for JSONP callbacks.
uniqueness_failure: string, How MQL responds to uniqueness failures.
Allowed values
hard - Be strict - throw an error.
soft - Just return the first encountered object.
html_escape: boolean, Whether or not to escape entities.
cost: boolean, Show the costs or not.
query: string, An envelope containing a single MQL query. (required)
as_of_time: string, Run the query as it would've been run at the specified point in time.
- text = methodResource(self)
- A collection resource.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|