code: async def AddSubnets(self, subnets):
          '''
          subnets : typing.Sequence[~AddSubnetParams]
          Returns -> typing.Sequence[~ErrorResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='Subnets',
                     request='AddSubnets',
                     version=2,
                     params=_params)
          _params['subnets'] = subnets
          reply = await self.rpc(msg)
          return replync def AddSubnets(self, subnets):
          '''
          subnets : typing.Sequence[~AddSubnetParams]
          Returns -> typing.Sequence[~ErrorResult]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='Subnets',
                     request='AddSubnets',
                     version=2,
                     params=_params)
          _params['subnets'] = subnets
          reply = await self.rpc(msg)
          return reply
docs: subnets : typing.Sequence[~AddSubnetParams]
          Returns -> typing.Sequence[~ErrorResult]