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
Deprecate storage blocks with implementations in Prefect integration packages #12299
Conversation
✅ Deploy Preview for prefect-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
src/prefect/filesystems.py
Outdated
DEPRECATION WARNING: | ||
|
||
This class is deprecated as of March 2024 and will not be available after September 2024. | ||
It has been replaced by `S3Bucket` from the prefect-aws package, which offers enhanced functionality |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has been replaced by `S3Bucket` from the prefect-aws package, which offers enhanced functionality | |
It has been replaced by `S3Bucket` from the `prefect-aws` package, which offers enhanced functionality |
maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sure you're already thinking about this @desertaxle but the other PRs didn't have backticks on package names, so that might be good to be consistent on.
src/prefect/filesystems.py
Outdated
DEPRECATION WARNING: | ||
|
||
This class is deprecated as of March 2024 and will not be available after September 2024. | ||
It has been replaced by `AzureBlobStorageContainer` from the prefect-azuer package, which |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has been replaced by `AzureBlobStorageContainer` from the prefect-azuer package, which | |
It has been replaced by `AzureBlobStorageContainer` from the prefect-azure package, which |
|
||
This class is deprecated as of March 2024 and will not be available after September 2024. | ||
It has been replaced by `S3Bucket` from the prefect-aws package, which offers enhanced functionality | ||
and better a better user experience. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and better a better user experience. | |
and a better user experience. |
|
||
This class is deprecated as of March 2024 and will not be available after September 2024. | ||
It has been replaced by `GcsBucket` from the prefect-gcp package, which offers enhanced functionality | ||
and better a better user experience. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and better a better user experience. | |
and a better user experience. |
|
||
This class is deprecated as of March 2024 and will not be available after September 2024. | ||
It has been replaced by `AzureBlobStorageContainer` from the prefect-azuer package, which | ||
offers enhanced functionality and better a better user experience. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
offers enhanced functionality and better a better user experience. | |
offers enhanced functionality and a better user experience. |
src/prefect/filesystems.py
Outdated
|
||
This class is deprecated as of March 2024 and will not be available after September 2024. | ||
It has been replaced by `GitHubRepository` from the prefect-github package, which offers | ||
enhanced functionality and better a better user experience. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enhanced functionality and better a better user experience. | |
enhanced functionality and a better user experience. |
Adds deprecation warnings to the
S3
,GCS
,Azure
, andGitHub
blocks in thefilesystems
module. These blocks have implementations in Prefect integration packages that offer more functionality and a better user experience. These blocks will be removed from the core package to prevent confusion around blocks that appear to be duplicates.Requires PrefectHQ/prefect-azure#139
Example
Checklist
<link to issue>
"maintenance
,fix
,feature
,enhancement
,docs
.For documentation changes:
netlify.toml
for files that are removed or renamed.For new functions or classes in the Python SDK:
mkdocs.yml
navigation.