code: def from_dict(data, ctx):
          
  
          data = data.copy()
  
          if data.get('steps') is not None:
              data['steps'] = [
                  ctx.transaction.LiquidityRegenerationScheduleStep.from_dict(d, ctx)
                  for d in data.get('steps')
              ]
  
          return LiquidityRegenerationSchedule(**data)
docs: Instantiate a new LiquidityRegenerationSchedule from a dict (generally
          from loading a JSON response). The data used to instantiate the
          LiquidityRegenerationSchedule is a shallow copy of the dict passed in,
          with any complex child types instantiated appropriately.