mik-laj commented on a change in pull request #14033:
URL: https://github.com/apache/airflow/pull/14033#discussion_r568831836
##########
File path: airflow/providers/google/cloud/example_dags/example_dlp.py
##########
@@ -177,3 +178,31 @@
)
# [END howto_operator_dlp_delete_job_trigger]
create_trigger >> update_trigger >> delete_trigger
+
+DEIDENTIFY_CONFIG = {
+ "info_type_transformations": {
+ "transformations": [
+ {
+ "primitive_transformation": {
+ "replace_config": {"new_value": {"string_value":
"[deidentified_number]"}}
+ }
+ }
+ ]
+ }
+}
+
+with models.DAG(
Review comment:
Can you add system tests? We have a rule that each DAG for GCP services
should have system tests to verify its correctness.
https://github.com/apache/airflow/blob/master/TESTING.rst#airflow-system-tests
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]