GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples

REGEX not matching all composer versions

未关闭
#12,580 0 条评论 0 个 reaction 已指派 1 人 已被 @engelke 认领 在 GitHub 查看
priority: p2 samples triage me type: bug
主要语言
Jupyter Notebook
星标
8.1k
派生
6.7k
平均合并
4 天 2 小时
30 天内合并 PR
16

描述

## 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'
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。