Docs
https://prefecthq.github.io/prefect-bitbucket/
Code
Examples
from prefect_bitbucket import BitBucketRepository
public_repo = "https://bitbucket.org/my-workspace/my-repository.git"
# Creates a public BitBucket repository BitBucketRepository block
public_bitbucket_block = BitBucketRepository(
repository=public_repo
)
# Saves the BitBucketRepository block to your Prefect workspace (in the Blocks tab)
public_bitbucket_block.save("my-bitbucket-block")