Skip to content

HTTP

obstore.store.HTTPStore

Configure a connection to a generic HTTP server

from_url classmethod

from_url(
    url: str,
    *,
    client_options: Dict[ClientConfigKey, str] | None = None,
    retry_config: RetryConfig | None = None
) -> HTTPStore

Construct a new HTTPStore from a URL

Parameters:

  • url (str) –

    The base URL to use for the store.

Other Parameters:

  • client_options (Dict[ClientConfigKey, str] | None) –

    HTTP Client options. Defaults to None.

  • retry_config (RetryConfig | None) –

    Retry configuration. Defaults to None.

Returns: