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