Did I find the right examples for you? yes no

All Samples(9)  |  Call(7)  |  Derive(0)  |  Import(2)

src/r/a/ralph_pricing-HEAD/src/ralph_pricing/views/ventures.py   ralph_pricing(Download)
from ralph.util import plugin as plugin_runner
from ralph_pricing.plugins import reports  # noqa
from ralph_pricing.plugins.reports.base import AttributeDict
 
 
        for but in base_usage_types:
            but_info = AttributeDict(
                name=but.name,
                plugin_name=but.get_plugin_name(),
                plugin_kwargs={
        for rut in regular_usage_types:
            rut_info = AttributeDict(
                name=rut.name,
                plugin_name=rut.get_plugin_name(),
                plugin_kwargs={
        for service in services:
            service_info = AttributeDict(
                name=service.name,
                plugin_name=service.get_plugin_name(),
                plugin_kwargs={
        """
        base_plugins = [
            AttributeDict(name='Information', plugin_name='information'),
        ]
        extra_cost_plugins = [

src/r/a/ralph_pricing-HEAD/src/ralph_pricing/plugins/reports/usage.py   ralph_pricing(Download)
from ralph_pricing import utils
from ralph_pricing.plugins.base import register
from ralph_pricing.plugins.reports.base import AttributeDict, BaseReportPlugin
 
logger = logging.getLogger(__name__)
                    forecast_cost=Sum('forecast_cost'),
                )
                usage_prices = [AttributeDict(up) for up in usage_prices]
                # sort by start date
                usage_prices = sorted(usage_prices, key=lambda x: x.start)
                usage_prices = usage_prices.filter(warehouse=warehouse)
            usage_prices = usage_prices.order_by('start')
            usage_prices = [AttributeDict(up) for up in usage_prices]
 
            if usage_type.by_warehouse: