Commit eef329e
committed
fix(bigquery): use correct attribute to check routine type
The BigQuery Python client exposes routine type as `type_` (not
`routine_type`), since `type` is a Python builtin. Using
`RoutineType.PROCEDURE` from the library's enum avoids hardcoding
the string "PROCEDURE".1 parent 5a5eea2 commit eef329e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
589 | 590 | | |
590 | 591 | | |
591 | 592 | | |
592 | | - | |
| 593 | + | |
593 | 594 | | |
594 | 595 | | |
595 | 596 | | |
| |||
0 commit comments