Closed noyainrain closed 4 years ago
Draft:
class List:
def users(self, name: str = '') -> typing.List[User]:
"""
.. http:get:: /api/lists/(id)/users?name=
Query users who interacted with the list and (partially) match *name*.
*name* defaults to an empty string, matching all users. A maximum of 10 items is
returned.
"""
# Acquaintances (future reference)
class User:
def acquaintances(self, name: str = '', context: List = None) -> typing.List[User]:
...
Depends on noyainrain/micro#93 .
Provide a convenient way to reference users who interacted with a list.