-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
prefect-monte-carlo
v0.3.0
to block records
- Loading branch information
1 parent
7d64cf2
commit b2ea8de
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"prefect-monte-carlo": { | ||
"block_types": { | ||
"monte-carlo-credentials": { | ||
"name": "Monte Carlo Credentials", | ||
"slug": "monte-carlo-credentials", | ||
"logo_url": "https://images.ctfassets.net/gm98wzqotmnx/5OqrPNRdLMvqZzxo9f6Z25/f920dff0f1201fc014b0b083a6d2fdb1/image.png?h=250", | ||
"documentation_url": "https://prefecthq.github.io/prefect-monte-carlo/credentials/#prefect_monte_carlo.credentials.MonteCarloCredentials", | ||
"description": "Block used to manage Monte Carlo authentication. This block is part of the prefect-monte-carlo collection. Install prefect-monte-carlo with `pip install prefect-monte-carlo` to use this block.", | ||
"code_example": "Load stored Monte Carlo credentials:\n```python\nfrom prefect_monte_carlo.credentials import MonteCarloCredentials\nmontecarlo_credentials_block = MonteCarloCredentials.load(\"BLOCK_NAME\")\n```", | ||
"block_schema": { | ||
"checksum": "sha256:f70c3146fd0e2dad64c8b2e89fa562c4e63d16268b61c4ba4917a88f14085df2", | ||
"fields": { | ||
"title": "MonteCarloCredentials", | ||
"description": "Block used to manage Monte Carlo authentication.", | ||
"type": "object", | ||
"properties": { | ||
"api_key": { | ||
"title": "API Key", | ||
"description": "The token to authenticate with Monte Carlo's GraphQL API.", | ||
"type": "string", | ||
"writeOnly": true, | ||
"format": "password" | ||
}, | ||
"api_key_id": { | ||
"title": "API Key ID", | ||
"description": "The ID associated with the Monte Carlo API token.", | ||
"type": "string" | ||
}, | ||
"catalog_url": { | ||
"title": "Monte Carlo catalog URL", | ||
"description": "The URL of the Monte Carlo catalog.", | ||
"default": "https://getmontecarlo.com/catalog", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"api_key", | ||
"api_key_id" | ||
], | ||
"block_type_slug": "monte-carlo-credentials", | ||
"secret_fields": [ | ||
"api_key" | ||
], | ||
"block_schema_references": {} | ||
}, | ||
"capabilities": [], | ||
"version": "0.2.0" | ||
} | ||
} | ||
} | ||
} | ||
} |