repository.services.record module

Service integration module for reading the canonical record.

class repository.services.record.RepositoryService(storage, sources, stream, name='all')[source]

Bases: arxiv.canonical.role.role.Repository

classmethod current_session()[source]

Get or create a RepositoryService session for this context.

Return type

RepositoryService

classmethod get_session(app=None)[source]

Get a new session with the RepositoryService.

Return type

RepositoryService

classmethod init_app(app)[source]

Set default configuration parameters for an app instance.

Return type

None