Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 2.2 KB

File metadata and controls

51 lines (30 loc) · 2.2 KB

Indexing.Datasource

Overview

Available Operations

  • status - Beta: Get datasource status

status

Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.

Tip: Refer to the Troubleshooting tutorial for more information.

Example Usage

from glean.api_client import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as glean:

    res = glean.indexing.datasource.status(datasource="<value>")

    # Handle response
    print(res)

Parameters

Parameter Type Required Description
datasource str ✔️ The datasource to get debug status for.
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

models.DebugDatasourceStatusResponse

Errors

Error Type Status Code Content Type
errors.GleanError 4XX, 5XX */*