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