diff --git a/docs/content/concepts/dagster-pipes/aws-glue.mdx b/docs/content/concepts/dagster-pipes/aws-glue.mdx index 6c4c584597ff0..8ecdc3b9e1eb4 100644 --- a/docs/content/concepts/dagster-pipes/aws-glue.mdx +++ b/docs/content/concepts/dagster-pipes/aws-glue.mdx @@ -46,24 +46,26 @@ Call `open_dagster_pipes` in the Glue job script to create a context that can be import boto3 from dagster_pipes import ( PipesCliArgsParamsLoader, + PipesDefaultMessageWriter, PipesS3ContextLoader, - PipesS3MessageWriter, open_dagster_pipes, ) client = boto3.client("s3") context_loader = PipesS3ContextLoader(client) -message_writer = PipesS3MessageWriter(client) params_loader = PipesCliArgsParamsLoader() def main(): with open_dagster_pipes( context_loader=context_loader, - message_writer=message_writer, params_loader=params_loader, ) as pipes: pipes.log.info("Hello from AWS Glue job!") + pipes.report_asset_materialization( + metadata={"some_metric": {"raw_value": 0, "type": "int"}}, + data_version="alpha", + ) if __name__ == "__main__": @@ -107,7 +109,7 @@ Next, add the `PipesGlueClient` resource to your project's