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 config

credentials

(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 middleware

pass_headers

list 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 settings

thread_safe

(bool) - is this particular provider implementation thread safe

tile_options

(TileOptions, dict) - user configured tile options

url

(str) - the url of the service this refers to (if any)

Methods

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 key is not found, default is returned if given, otherwise KeyError is raised

popitem()

Remove and return a (key, value) pair as a 2-tuple.

setdefault(key[, default])

Insert key with a value of default if key is not in the dictionary.

update(*mapping, **kwargs)

values()