everest.resources.service

Service.

class everest.resources.service.Service[source]

Bases: everest.resources.base.Resource

The service resource class.

The service resource is placed at the root of the resource tree and provides traversal (=URL) access to all exposed collection resources.

__getitem__(key)[source]

Overrides __getitem__ to return a clone of the requested collection.

Parameters:key (str) – collection name.
Returns:object implementing everest.resources.interfaces.ICollectionResource.
register(irc)[source]

Registers the given resource interface with this service.

start()[source]

Starts the service.

This adds all registered resource interfaces to the service. Multiple calls to this method will only perform the startup once.

Project Versions

Previous topic

everest.resources.repository

Next topic

everest.resources.system

This Page