forked from avocado-framework/avocado
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Podman: add synchronous version of utilities
While the Podman spawner benefits from the async APIs because of its requirement to also make async APIs available, most common uses of the utilities APIs are not in an async context. This introduces a Podman class that is not async. I've researched some prior art to avoid duplicating code, but it seems there's no magic and bulletproof way. Reference: https://github.com/elastic/elastic-transport-python/blob/main/elastic_transport/_transport.py Reference: https://github.com/elastic/elastic-transport-python/blob/main/elastic_transport/_async_transport.py Signed-off-by: Cleber Rosa <[email protected]>
- Loading branch information
Showing
3 changed files
with
172 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters