def get_limits_for_pool(self, pool):
pool_limits = self.cache.get("<STR_LIT>" % pool)<EOL>if pool_limits is None:<EOL><INDENT>return {}<EOL><DEDENT>return json_loads(pool_limits)<EOL>
meterer.get_limits_for_pool(pool) -> dict

Returns the limits for the given pool. If the pool does not have limits
set, {} is returned.

The resulting dict has the following format. Each item is optional and
indicates no limit for the specified time period.
{
    "year": int,
    "month": int,
    "week": int,
    "day": int,
    "hour": int,
}