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
CustomTypes Doc Updates #635
Conversation
jcampbell
commented
Aug 19, 2019
- also adds a missing test for interactive evaluation.
@@ -23,6 +21,9 @@ a SqlAlchemyDataset corresponding to that batch of data and ready for validation | |||
Since opinionated DAG managers such as airflow, dbt, prefect.io, dagster can also act as datasources | |||
and/or generators for a more generic datasource. | |||
|
|||
When adding custom expectations by subclassing an existing DataAsset type, use the data_asset_type parameter |
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.
Minor nit: data_asset.type
, right? As opposed to data_asset_type
...?
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.
No, it is data_asset_type:
datasources:
my_datasource:
class_name: PandasDatasource
data_asset_type:
module_name: custom_pandas_datasource
class_name: CustomPandasDatasource
generators:
default:
type: subdir_reader
base_directory: /data
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.
LGTM!