Source code for

# -*- coding: utf-8 -*-
"""Core interface for transactioninfo metadata objects to interface with CherryPy."""
from import TransactionLookup
from import TransactionSearch
from import TransactionLast
from import FileLookup
from import TransactionsMultiSearch
from import TransactionReleaseState

# pylint: disable=too-few-public-methods
[docs]class TransactionInfoAPI(object): """TransactionInfoAPI API.""" exposed = True
[docs] def __init__(self): """Create local objects for subtree items.""" self.by_id = TransactionLookup() = TransactionSearch() self.files = FileLookup() self.last = TransactionLast() self.release_state = TransactionReleaseState() self.multisearch = TransactionsMultiSearch()