This repository provides a minimal reproducible example of an unexpected behavior exhibited by the GcsBucket class from the prefect-gcp package.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
$ python build_gcs_bucket_block.py$ python example.py
The current working directory is uploaded to the bucket path
gs://prefect-gcp-mre/example/v0.1.0/
The current working directory is upload to the bucket path
gs://prefect-gcp-mre/example/v0.1.0/example/v0.1.0/