Developer Interface

Set

class koordinates.sets.SetManager(client)

Bases: koordinates.base.Manager

Accessor for querying Sets.

Access via the sets property of a koordinates.client.Client instance.

create(set)

Creates a new Set.

get(id, expand=[])

Fetches a Token determined by the value of id.

Parameters:id – ID for the new Token object.
list()

Fetches a set of Tokens

model

alias of Set

set_metadata(set_id, fp)

Set the XML metadata on a set.

Parameters:fp (file) – file-like object to read the XML metadata from.
class koordinates.sets.Set(**kwargs)

Bases: koordinates.base.Model

Represents a single set grouping of layers, tables, and documents.

save()

Saves changes to a Set.

set_metadata(fp)

Set the XML metadata on a set.

Parameters:fp (file) – file-like object to read the XML metadata from.