GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples

REGEX not matching all composer versions

Đang mở
#12,580 0 bình luận 0 reaction 1 người được giao Được @engelke nhận Xem trên GitHub
priority: p2 samples triage me type: bug
Ngôn ngữ chính
Jupyter Notebook
Star
8.1k
Fork
6.7k
Merge trung bình
4 ngày 2 giờ
Pull request đã merge (30 ngày)
16

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.