fafbseg.flywire.get_user_information¶
- fafbseg.flywire.get_user_information(user_ids, field=None, raise_missing=True, dataset=None)[source]¶
Fetch (and cache) user information (name, affiliation, etc.) from their IDs.
- Parameters:
user_ids (list of integers) – List of IDs for which to find user information.
field (str, optional) – If provided will only return given field (e.g “name”).
raise_missing (bool) – If True (default), will raise an error if any of the queried user IDs can not be found. If False, will return None for missing IDs.
dataset ("public" | "production", optional) – Against which FlyWire dataset to query. If
None
will fall back to the default dataset (see alsoset_default_dataset()
).
- Return type:
list