MCPcopy
hub / github.com/wechaty/python-wechaty / load

Method load

src/wechaty/user/friendship.py:69–77  ·  view source on GitHub ↗

load friendship without payload, which loads in a lazy way Args: friendship_id: the id of the friendship Returns: Friendship: initialized friendship

(cls, friendship_id: str)

Source from the content-addressed store, hash-verified

67
68 @classmethod
69 def load(cls, friendship_id: str) -> Friendship:
70 """
71 load friendship without payload, which loads in a lazy way
72 Args:
73 friendship_id: the id of the friendship
74 Returns:
75 Friendship: initialized friendship
76 """
77 return cls(friendship_id)
78
79 @classmethod
80 async def search(cls, weixin: Optional[str] = None,

Callers 3

searchMethod · 0.45
contactMethod · 0.45
from_jsonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected