amsync/obj.py
async def search(
        uids: str | list[str],
        com:  str | None = None
    ) -> DataUser | list[DataUser]:
        """
        Get profile information for a community user
        """

        com = com or actual_com
        uids = to_list(uids)

        async def foo(uid: str) -> DataUser:
            return DataUser._make((await _req('get', f'x{com}/s/user-profile/{uid}')).json['userProfile'])

        return one_or_list(await gather(*[foo(uid) for uid in uids]))

        Get profile information for a community user
        
Get profile information for a community user
Get profile information for a community user
async def search(
        uids: str | list[str],
        com:  str | None = None
    ) -> DataUser | list[DataUser]:
        com = com or actual_com
        uids = to_list(uids)
        async def foo(uid: str) -> DataUser:
            return DataUser._make((await _req('get', f'x{com}/s/user-profile/{uid}')).json['userProfile'])
        return one_or_list(await gather(*[foo(uid) for uid in uids]))
async def search ( uids : str | list [ str ] , com : str | None = None ) -> DataUser | list [ DataUser ] : com = com or actual_com uids = to_list ( uids ) async def foo ( uid : str ) -> DataUser : return DataUser . _make ( ( await _req ( 'get' , f'x{com}/s/user-profile/{uid}' ) ) . json [ 'userProfile' ] ) return one_or_list ( await gather ( * [ foo ( uid ) for uid in uids ] ) )
Get profile information for a community user
Get profile information for a community user
"""
        Get profile information for a community user
        """
uids
str | list[str]
com
str | None