Skip to content

Commit

Permalink
fix: finish pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
elsapet committed Jun 4, 2024
1 parent 96fb2db commit 428f1a7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion rules/python/third_parties/google_dataflow.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
imports:
- python_shared_lang_datatype
- python_shared_lang_import1
patterns:
- pattern: beam.Create($<...>$<DATA_TYPE>$<...>)
- pattern: $<CREATE>($<...>$<DATA_TYPE>$<...>)
filters:
- variable: CREATE
detection: python_shared_lang_import1
scope: cursor
filters:
- variable: MODULE1
values: [apache_beam]
- variable: NAME
values: [Create]
- variable: DATA_TYPE
detection: python_shared_lang_datatype
scope: result
Expand Down

0 comments on commit 428f1a7

Please sign in to comment.