BosonConfig#
- class geodesic.boson.BosonConfig(*args, **kwargs)[source]#
BosonConfig Provider Configuration.
This tells Boson how it should access the underlying data.
Attributes
cache(
CacheConfig, dict) - user configured cache configcredentials(dict) - credentials that are needed by this provider
max_get_pixels_features(int) - max number of input rasters to mosaic in a get_pixels request
max_page_size(int) - the max number of records this provider can page through
middleware(
MiddlewareConfig, dict) - user configured middlewarepass_headerslist of headers that this provider should pass to backend
properties(dict) - additional provider-specific properties
provider_name(str) - the name of the provider this Boson uses
servicer_settings(
ServicerSettings, dict) - user configured servicer settingsthread_safe(bool) - is this particular provider implementation thread safe
tile_options(
TileOptions, dict) - user configured tile optionsurl(str) - the url of the service this refers to (if any)
Methods
append_middleware(middleware)Adds a middleware to the end of the middleware chain.
clear()copy()fromkeys([value])Create a new dictionary with keys from iterable and values set to value.
get(key[, default])Return the value for key if key is in the dictionary, else default.
items()keys()pop(k[,d])If the key is not found, return the default if given; otherwise, raise a KeyError.
popitem()Remove and return a (key, value) pair as a 2-tuple.
set_middleware(middleware)Sets the middleware on this BosonConfig.
set_time_enabled(interval, interval_units[, ...])setdefault(key[, default])Insert key with a value of default if key is not in the dictionary.
update(*mapping, **kwargs)values()