Skip to content

Comments

Async es client factory function#302

Open
samwnapier wants to merge 2 commits intodbfixtures:mainfrom
samwnapier:master
Open

Async es client factory function#302
samwnapier wants to merge 2 commits intodbfixtures:mainfrom
samwnapier:master

Conversation

@samwnapier
Copy link

Adding async ES client function.

Changes proposed.

@samwnapier
Copy link
Author

samwnapier commented May 4, 2021 via email

@fizyk
Copy link
Member

fizyk commented May 6, 2021

@samwnapier yes, it looks good. However I'm in the process of migrating all the pytest plugins I manage to github actions and it'll take me some time to focus on this. Worst case scenario, it'll be moved to examples in readme, as I'm not sure about requiring additional library, or it'll be a fixture that'll get activate whether the asyncio is present or not (so totally depending on the developer's requirements)

@samwnapier
Copy link
Author

samwnapier commented May 6, 2021 via email

@fizyk
Copy link
Member

fizyk commented May 7, 2021

@samwnapier okay, let's do it this way so that it's activated if the asyncio library is present.
I'd also require a test utilising that fixture, otherwise there's a risk we'd break it with some code update.

@samwnapier
Copy link
Author

samwnapier commented Jun 28, 2021 via email

@fizyk
Copy link
Member

fizyk commented Jun 29, 2021

@samwnapier yes, plus the conditional activation of the fixture :) (Don't want to have the asyncio as a hard dependency)

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