Graded Programming Assignment 3: Testing Data Quality with Great Expectations
Week 3 great expectations assignment. When trying to add the bucket parameter to the great expectation __init__() got an unexpected keyword argument 'bucket'
I made sure to follow the spacing
expectations_store:
class_name: ExpectationsStore
store_backend:
class_name: TupleFilesystemStoreBackend
bucket: de-c2w3a1-<AccountId_Redacted>-us-east-1-gx-artifacts
base_directory: expectations/
prefix: expectations/
I am not acquainted with this course but can you try giving the bucket as string and without space in the beginning!
Hello @jhinchley
First, please make sure that the expectations_store
is not in the same indentation as its parent, namely stores
. You can see the expected indentation levels here.
Secondly, your sample has the base_directory
key which shouldn’t be there. Moreover, the class_name
in store_backend
should be TupleS3StoreBackend
, not TupleFilesystemStoreBackend
. As the lab instructions say, the expectations_store
key should be like the following:
expectations_store:
class_name: ExpectationsStore
store_backend:
class_name: TupleS3StoreBackend
bucket: <GX-ARTIFACTS-BUCKET>
prefix: expectations/