GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples

REGEX not matching all composer versions

Offen
#12,580 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @engelke Auf GitHub ansehen
priority: p2 samples triage me type: bug
Vorherrschende Sprache
Jupyter Notebook
Sterne
8.1k
Forks
6.7k
Ø Merge
4 T. 2 Std.
Gemergte PRs (30 T.)
16

Beschreibung

## In which file did you encounter the issue?
File: `composer/tools/composer_dags.py`

## Did you change the file? If so, how?
No

## Describe the issue
The current regex expression does not work for environment versions that do not include minor and or patch

## Error
```
Traceback (most recent call last):
File "/home/rkillkelley/composer_dags.py", line 229, in
main(
File "/home/rkillkelley/composer_dags.py", line 168, in main
).groups()
AttributeError: 'NoneType' object has no attribute 'groups'
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.