"""Allows the user to select datafiles from an IPTS experiment."""
def__init__(
self,
v_model:str,
facility:str="",
instrument:str="",
prefix:str="",
select_strategy:str="all",
**kwargs:Any,
)->None:
"""Constructor for DataSelector.
Parameters
----------
v_model : str
The name of the state variable to bind to this widget. The state variable will contain a list of the files
selected by the user.
facility : str, optional
The facility to restrict data selection to. Options: HFIR, SNS
instrument : str, optional
The instrument to restrict data selection to. Please use the instrument acronym (e.g. CG-2).
prefix : str, optional
A subdirectory within the user's chosen experiment to show files. If not specified, the user will be shown a
folder browser and will be able to see all files in the experiment that they have access to.
select_strategy : str, optional
The selection strategy to pass to the `VDataTable component <https://trame.readthedocs.io/en/latest/trame.widgets.vuetify3.html#trame.widgets.vuetify3.VDataTable>`__.
If unset, the `all` strategy will be used.
**kwargs
All other arguments will be passed to the underlying