S3StorageBlock is not working with Minio as we cannot specify the endpoint_url. This is something I added on the collection-aws.
Will this block move to the collection-aws ? If not, how can I do a push request to the branch ?
great question! as part of the latest release, storage blocks, including default storage and storage CLI were removed in favor of filesystems - you would need to use a RemoteFileSystem with your minio S3 endpoint instead
from prefect import task, flow
from prefect import get_run_logger
from prefect.deployments import Deployment
from prefect.packaging import FilePackager
from prefect.filesystems import RemoteFileSystem
logger = get_run_logger()
<http://logger.info|logger.info>("Hello %s!", user_name)
@flowdefhello(user: str = "world"):
if you can't set up your endpoint properly with settings on RemoteFileSystem, please LMK and I'll open an issue
2 months ago
Good point. Forgot about that one using fsspec. Let me try it