1 2 3 4 5 6 7 8 9 10 11 12
from ricky.im import Im from ricky.imgrid.params import ImGridParams from ricky.config import IMGRID_URL class ImGrid(Im): def __init__(self): self.url = IMGRID_URL def params_init(self): new_params = ImGridParams() #new_params = self.get_from_server() new_params.api = self return new_params