GeocodeGlib.MockBackendQuery¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
error |
r/w |
error returned by the query, or |
|
is_forward |
r/w |
|
|
params |
r/w |
query parameters, in the format accepted by |
|
results |
r/w |
results returned by the query, or |
Methods¶
None
Details¶
- class GeocodeGlib.MockBackendQuery¶
The details of a forward or reverse query which was performed on a
GeocodeGlib.MockBackend
by application code. This includes the input (params, is_forward), and the output which was returned (results or error).Empty result sets are represented by the
GeocodeGlib.Error.NO_MATCHES
error (for forward queries) or theGeocodeGlib.Error.NOT_SUPPORTED
error (for reverse queries), rather than an empty results list.New in version 3.23.1.