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 摘要。