code: async def GetResourceInfo(self, resource_names):
          '''
          resource_names : typing.Sequence[str]
          Returns -> typing.Union[_ForwardRef('ErrorResult'), typing.Sequence[~UnitResourceResult]]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='ResourcesHookContext',
                     request='GetResourceInfo',
                     version=1,
                     params=_params)
          _params['resource-names'] = resource_names
          reply = await self.rpc(msg)
          return replync def GetResourceInfo(self, resource_names):
          '''
          resource_names : typing.Sequence[str]
          Returns -> typing.Union[_ForwardRef('ErrorResult'), typing.Sequence[~UnitResourceResult]]
          '''
          # map input types to rpc msg
          _params = dict()
          msg = dict(type='ResourcesHookContext',
                     request='GetResourceInfo',
                     version=1,
                     params=_params)
          _params['resource-names'] = resource_names
          reply = await self.rpc(msg)
          return reply
docs: resource_names : typing.Sequence[str]
          Returns -> typing.Union[_ForwardRef('ErrorResult'), typing.Sequence[~UnitResourceResult]]