feat: resource tags in dataset#2090
Conversation
Linchin
left a comment
There was a problem hiding this comment.
Thank you so much for adding resource tags in dataset! The PR looks great overall, I just made some minor modifications. I wonder if you could add a system test, as well as a unit test for setter with None? Please let us know if you need any help. Happy holidays!
Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
Hi @Linchin, thanks for the review. I added system tests in system/test_clients.py I fixed unittests for None, and added more tests for invalid values. See test_resource_tags_setter_bad_value. Merry Christmas and happy new year! |
|
Thank you for the prompt reply! Adding a prefix lgtm. I think there was something wrong with the test infra, I hope it's just flaky and doesn't happen again. |
Linchin
left a comment
There was a problem hiding this comment.
Thank you for your contribution, now all tests have passed! 🎉
LGTM.
Thank you so much! It was a pleasant review process with you, @Linchin :) |
|
It was a pleasure working with you! @keunsoopark Let's first see if the original author of #2093 responses, then we can decide what to do next. |
* feat: resource tags in dataset * fix: fix unittets * Delete dataset/pyvenv.cfg * Update google/cloud/bigquery/dataset.py Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com> * Update google/cloud/bigquery/dataset.py Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com> * added system tests & fix unittest for none * add missing assert * remove venv * include resourcemanager in noxfile.py * fix fixture for tag keys * register tags before using in tests * handle alreadyexist error * fix: tag keys & values creation & deletion * fix comment * make tag keys unique * remove unused import --------- Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
Fixes #2091 🦕