MCPcopy Index your code
hub / github.com/wechaty/python-wechaty / metadata

Method metadata

src/wechaty/plugin.py:418–430  ·  view source on GitHub ↗

get the default nav metadata Returns: NavMetadata: the instance of metadata

(self)

Source from the content-addressed store, hash-verified

416 self._setting_wechaty_setting: WechatySetting = WechatySetting(self.setting_file)
417
418 def metadata(self) -> NavMetadata:
419 """get the default nav metadata
420
421 Returns:
422 NavMetadata: the instance of metadata
423 """
424 return NavMetadata(
425 author=self.AUTHOR,
426 author_link=self.AUTHOR_LINK,
427 icon=self.ICON,
428 avatar=self.AVATAR,
429 view_url=self.VIEW_URL
430 )
431
432 @property
433 def setting(self) -> WechatySetting:

Callers 1

get_plugins_navMethod · 0.80

Calls 1

NavMetadataClass · 0.90

Tested by

no test coverage detected