Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update references to Jira to GH for the Python SDK #21831

Merged
merged 15 commits into from
Jun 14, 2022

Conversation

damccorm
Copy link
Contributor

@damccorm damccorm commented Jun 13, 2022

Part of #21812


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@asf-ci
Copy link

asf-ci commented Jun 13, 2022

Can one of the admins verify this patch?

4 similar comments
@asf-ci
Copy link

asf-ci commented Jun 13, 2022

Can one of the admins verify this patch?

@asf-ci
Copy link

asf-ci commented Jun 13, 2022

Can one of the admins verify this patch?

@asf-ci
Copy link

asf-ci commented Jun 13, 2022

Can one of the admins verify this patch?

@asf-ci
Copy link

asf-ci commented Jun 13, 2022

Can one of the admins verify this patch?

requires_partition_by = partitionings.Singleton(
reason=(
f"reset_index(level={level!r}) drops the entire index and "
"creates a new one, so it cannot currently be parallelized "
"(BEAM-12182)."))
"(Issue 20859)."))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a URL would be preferable in error messages for easy discovery. Previously BEAM-12182 could likely be found with a Google search, but "20859" will require the user to construct the URL.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ended up just moving everything to URLs. I think the same logic applies more generally than just in error messages.

@codecov
Copy link

codecov bot commented Jun 13, 2022

Codecov Report

Merging #21831 (7dc9d28) into master (4c6c969) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master   #21831      +/-   ##
==========================================
- Coverage   74.15%   74.13%   -0.03%     
==========================================
  Files         698      698              
  Lines       92417    92436      +19     
==========================================
- Hits        68530    68525       -5     
- Misses      22636    22660      +24     
  Partials     1251     1251              
Flag Coverage Δ
python 83.74% <66.66%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sdks/python/apache_beam/coders/coder_impl.py 93.97% <ø> (ø)
sdks/python/apache_beam/coders/row_coder.py 94.49% <ø> (ø)
sdks/python/apache_beam/dataframe/io.py 88.78% <ø> (ø)
...on/apache_beam/examples/complete/juliaset/setup.py 0.00% <ø> (ø)
...che_beam/examples/streaming_wordcount_debugging.py 92.42% <ø> (ø)
sdks/python/apache_beam/io/external/gcp/pubsub.py 0.00% <ø> (ø)
sdks/python/apache_beam/io/fileio.py 96.33% <ø> (ø)
sdks/python/apache_beam/io/gcp/bigquery.py 70.07% <ø> (ø)
...s/python/apache_beam/io/gcp/bigquery_file_loads.py 87.70% <ø> (ø)
sdks/python/apache_beam/io/gcp/bigtableio.py 74.69% <ø> (ø)
... and 66 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c6c969...7dc9d28. Read the comment docs.

@TheNeuralBit
Copy link
Member

Note you can run python -m yapf -i <filename> (from an environment with yapf installed) to have it format a file for you

@damccorm
Copy link
Contributor Author

Note you can run python -m yapf -i (from an environment with yapf installed) to have it format a file for you

Oh, just seeing this - well I guess I did it the hard way 🤷

@damccorm damccorm marked this pull request as ready for review June 14, 2022 17:48
@damccorm
Copy link
Contributor Author

R: @TheNeuralBit - I think this should be ready!

@TheNeuralBit TheNeuralBit merged commit 8a1aad6 into apache:master Jun 14, 2022
@damccorm damccorm deleted the users/damccorm/stringUpdatesPy branch June 14, 2022 21:52
bullet03 pushed a commit to akvelon/beam that referenced this pull request Jun 20, 2022
* Update references to Jira to GH for the Python SDK

* Fix a few breakages

* One more fix

* line length linting

* Fix string

* A few more replacements

* Use links instead of Issue #

* Formatting

* Formatting

* Formatting

* Formatting

* Formatting

* Formatting

* Extraneous space

* One more long line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants