Skip to content

Feature/async support#13

Merged
moigagoo merged 2 commits intomoigagoo:developfrom
flusflas:feature/async_support
Dec 11, 2019
Merged

Feature/async support#13
moigagoo merged 2 commits intomoigagoo:developfrom
flusflas:feature/async_support

Conversation

@flusflas
Copy link
Contributor

Description

This feature adds simple support for asynchronous functions in Cliar subclasses. If a function is a coroutine, it is executed in an event loop until it ends. This avoids added complexity when dealing with asynchronous processes (HTTP requests, DB queries...). It has been tested in Python 3.6, 3.7 and 3.8.

@codecov
Copy link

codecov bot commented Dec 11, 2019

Codecov Report

Merging #13 into develop will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop    #13   +/-   ##
======================================
  Coverage      100%   100%           
======================================
  Files            3      3           
  Lines          173    177    +4     
======================================
+ Hits           173    177    +4
Impacted Files Coverage Δ
cliar/cliar.py 100% <100%> (ø) ⬆️

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 badc02c...7e5b6e7. Read the comment docs.

@moigagoo
Copy link
Owner

Thank you so much for the PR! I'll review it today or tomorrow, merge it, and release a new version.

@moigagoo moigagoo merged commit e2f3076 into moigagoo:develop Dec 11, 2019
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.

2 participants