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

Fix initialization without running loop (issue #689) #694

Merged
merged 2 commits into from
Dec 11, 2020

Conversation

ods
Copy link
Collaborator

@ods ods commented Dec 4, 2020

Changes

Return (temporary?) back an ability to instantiate AIOKafkaConsumer and AIOKafkaProducer without running loop by passing it explicitly. Fixes #689

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

@codecov
Copy link

codecov bot commented Dec 4, 2020

Codecov Report

Merging #694 (4fbea5c) into master (4fbea5c) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #694   +/-   ##
=======================================
  Coverage   97.92%   97.92%           
=======================================
  Files          29       29           
  Lines        5193     5193           
=======================================
  Hits         5085     5085           
  Misses        108      108           
Flag Coverage Δ
cext 87.63% <0.00%> (ø)
integration 97.88% <0.00%> (ø)
purepy 97.43% <0.00%> (ø)
unit 51.45% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 4fbea5c...ffd1526. Read the comment docs.

@lgtm-com
Copy link

lgtm-com bot commented Dec 4, 2020

This pull request fixes 1 alert when merging 0ef36d7 into 07e9bd3 - view on LGTM.com

fixed alerts:

  • 1 for Missing call to __init__ during object initialization

Copy link
Member

@tvoinarovskyi tvoinarovskyi left a comment

Choose a reason for hiding this comment

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

LGTM

@tvoinarovskyi
Copy link
Member

Thanks, looks great!

@lgtm-com
Copy link

lgtm-com bot commented Dec 7, 2020

This pull request fixes 1 alert when merging 28dca05 into 4fbea5c - view on LGTM.com

fixed alerts:

  • 1 for Missing call to __init__ during object initialization

@lgtm-com
Copy link

lgtm-com bot commented Dec 7, 2020

This pull request fixes 1 alert when merging ffd1526 into 4fbea5c - view on LGTM.com

fixed alerts:

  • 1 for Missing call to __init__ during object initialization

@ods ods merged commit 306ae6e into aio-libs:master Dec 11, 2020
@ods ods deleted the no_running_loop branch December 11, 2020 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RuntimeError: There is no current event loop in thread 'Thread-X'
2 participants