FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

api-client-python/docs/sdks/indexingdatasource/README.md at main · danielkov/api-client-python · GitHub

Latest commit

 

History

History
52 lines (31 loc) · 2.23 KB

File metadata and controls

52 lines (31 loc) · 2.23 KB

IndexingDatasource

(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 */*

Back | FazBrowse Home | New Git URL