Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Async support to dynamic and hybrid library APIs #4803

Closed
@WisniewskiP

Description

@WisniewskiP

For our Lib we are using framework that is async and we have to await for results.
our lib works similar to Remote Lib to get the keywords and arguments but communication is done using asyncio.

with RF 6.1 run_keyword can be made async but functions for getting keywords/arguments/etc. can't.

as a workaround I'm getting context with EXECUTION_CONTEXTS.current and run async operations with context.asynchronous.run_until_complete().
this works but if the implementation of EXECUTION_CONTEXTS changes the library will break.

would it be possible to add async to get_* functions in Dynamic & Hybrid Lib interfaces?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions