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)
| 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, |