Skip to content

Update metadata for collection releases #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 30, 2023
52 changes: 52 additions & 0 deletions collections/prefect-databricks/blocks/v0.2.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"prefect-databricks": {
"block_types": {
"databricks-credentials": {
"name": "Databricks Credentials",
"slug": "databricks-credentials",
"logo_url": "https://images.ctfassets.net/gm98wzqotmnx/5GTHI1PH2dTiantfps6Fnc/1c750fab7f4c14ea1b93a62b9fea6a94/databricks_logo_icon_170295.png?h=250",
"documentation_url": "https://prefecthq.github.io/prefect-databricks/credentials/#prefect_databricks.credentials.DatabricksCredentials",
"description": "Block used to manage Databricks authentication. This block is part of the prefect-databricks collection. Install prefect-databricks with `pip install prefect-databricks` to use this block.",
"code_example": "Load stored Databricks credentials:\n```python\nfrom prefect_databricks import DatabricksCredentials\ndatabricks_credentials_block = DatabricksCredentials.load(\"BLOCK_NAME\")\n```",
"block_schema": {
"checksum": "sha256:58bae1446ee7a01ec90d15cf756f8acc221329e3b3580b077b508ff0f2425e35",
"fields": {
"title": "DatabricksCredentials",
"description": "Block used to manage Databricks authentication.",
"type": "object",
"properties": {
"databricks_instance": {
"title": "Databricks Instance",
"description": "Databricks instance used in formatting the endpoint URL.",
"type": "string"
},
"token": {
"title": "Token",
"description": "The token to authenticate with Databricks.",
"type": "string",
"writeOnly": true,
"format": "password"
},
"client_kwargs": {
"title": "Client Kwargs",
"description": "Additional keyword arguments to pass to AsyncClient.",
"type": "object"
}
},
"required": [
"databricks_instance",
"token"
],
"block_type_slug": "databricks-credentials",
"secret_fields": [
"token"
],
"block_schema_references": {}
},
"capabilities": [],
"version": "0.2.1"
}
}
}
}
}
Loading