Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Expose AzureBlobStorageContainer block at top level to ensure it is registered with Prefect's ojbect registry #145

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

desertaxle
Copy link
Member

@desertaxle desertaxle commented Mar 18, 2024

Adds an import for AzureBlobStorageContainer at the top level of the package to ensure it is registered in the Prefect object registry. This will allow users to load this block type with Block.load(azure-blob-storage-container/{block_document_name}).

Closes #144

Example

Screenshots

Checklist

  • References any related issue by including "Closes #" or "Closes ".
    • If no issue exists and your change is not a small fix, please create an issue first.
  • Includes tests or only affects documentation.
  • Passes pre-commit checks.
    • Run pre-commit install && pre-commit run --all locally for formatting and linting.
  • Includes screenshots of documentation updates.
    • Run mkdocs serve view documentation locally.

… registered with Prefect's ojbect registry

 #Please enter the commit message for your changes. Lines starting
@desertaxle desertaxle requested a review from a team as a code owner March 18, 2024 13:51
@desertaxle desertaxle merged commit cdd20ef into main Mar 18, 2024
4 checks passed
@zzstoatzz zzstoatzz deleted the fix-block-resolution branch March 18, 2024 14:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AzureStorageBlobContainer not working as PREFECT_DEFAULT_RESULT_STORAGE_BLOCK
2 participants