Skip to content

Added async wrappers to the decorators to work with async functions#250

Open
darindf wants to merge 1 commit into
pythonprofilers:masterfrom
darindf:master
Open

Added async wrappers to the decorators to work with async functions#250
darindf wants to merge 1 commit into
pythonprofilers:masterfrom
darindf:master

Conversation

@darindf

@darindf darindf commented Sep 20, 2019

Copy link
Copy Markdown

Added async wrappers to the decorators to work with async functions, so this will be profiled

@profile
async def func():
     pass

@fabianp

fabianp commented Sep 23, 2019

Copy link
Copy Markdown
Collaborator

test fail in 2.7 and 3.4

@darindf

darindf commented Sep 23, 2019

Copy link
Copy Markdown
Author

test fail in 2.7 and 3.4

Yes, it's using the async syntax used in 3.5 and later.

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