GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples
REGEX not matching all composer versions
Ouverte
priority: p2
samples
triage me
type: bug
- Langage dominant
- Jupyter Notebook
- Étoiles
- 8.1k
- Forks
- 6.7k
- Merge moyen
- 4 j 2 h
- PR mergées (30 j)
- 16
Description
## 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'
```
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.