tiled.client.from_context(context, structure_clients='numpy', prompt_for_reauthentication=None, username=None, auth_provider=None, node_path_parts=None)[source]

Advanced: Connect to a Node using a custom instance of httpx.Client or httpx.AsyncClient.

structure_clientsstr or dict, optional

Use “dask” for delayed data loading and “numpy” for immediate in-memory structures (e.g. normal numpy arrays, pandas DataFrames). For advanced use, provide dict mapping a structure_family or a spec to a client object.

prompt_for_reauthenticationbool, optional

If True, prompt interactively for credentials if needed. If False, raise an error. By default, attempt to detect whether terminal is interactive (is a TTY).