1 2 3 4 5 6 7 8 9 10 11 12 13 14
from ricky.pb import Pb from ricky.pbgrid.params import Params from ricky.config import IMGRID_URL class PbGrid(Pb): def __init__(self): self.url = IMGRID_URL def params_init(self): new_params = Params() # new_params = self.get_from_server() new_params.api = self return new_params