code: async def AddRelation(self, endpoints):
          '''
          endpoints : typing.Sequence[str]
          Returns -> typing.Mapping[str, ~CharmRelation]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='Application',
                     request='AddRelation',
                     version=3,
                     params=_params)
          _params['endpoints'] = endpoints
          reply = await self.rpc(msg)
          return replync def AddRelation(self, endpoints):
          '''
          endpoints : typing.Sequence[str]
          Returns -> typing.Mapping[str, ~CharmRelation]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='Application',
                     request='AddRelation',
                     version=3,
                     params=_params)
          _params['endpoints'] = endpoints
          reply = await self.rpc(msg)
          return reply
docs: endpoints : typing.Sequence[str]
          Returns -> typing.Mapping[str, ~CharmRelation]