tiled.client.from_uri
- tiled.client.from_uri(uri, structure_clients='numpy', *, cache=<UNSET>, remember_me=True, username=None, auth_provider=None, api_key=None, verify=True, prompt_for_reauthentication=None, headers=None, timeout=None, include_data_sources=False)[source]
Connect to a Node on a local or remote server.
- Parameters:
- uristr
e.g. “http://localhost:8000”
- 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.
- cacheCache, optional
- remember_mebool
Next time, try to automatically authenticate using this session.
- usernamestr, optional
DEPRECATED. Ignored, and issues a warning if passed.
- auth_providerstr, optional
DEPRECATED. Ignored, and issues a warning if passed.
- api_keystr, optional
API key based authentication.
- verifybool, optional
Verify SSL certifications. True by default. False is insecure, intended for development and testing only.
- prompt_for_reauthenticationbool, optional
DEPRECATED. Ignored, and issue a warning if passed.
- headersdict, optional
Extra HTTP headers.
- timeouthttpx.Timeout, optional
If None, use Tiled default settings. (To disable timeouts, use httpx.Timeout(None)).
- include_data_sourcesbool, optional
Default False. If True, fetch information about underlying data sources.