Commit 11ecd58
authored
D005 OMCSession - classes update (#435)
* (D004) define OMSessionRunner
[(_)OMPathRunnerLocal] improve definition
* fix return values
* additional cleanups
[__init__] define OMPathRunnerLocal for public interface
[_OMPathRunnerBash] define class
[__init__] define OMPathRunnerBash for public interface
[OMSessionRunner] update code such that it can be used by OMPathRunnerLocal and OMPathRunner Bash
* (D005) update classes in OMCSession
[OMCSessionPort] fix timeout handling
[OMCSessionDocker*] improve data handling
* move more code to OMCSessionDockerHelper
* use _docker_omc_start() to differentiate classes
* define cmd_prefix
[OMCSessionWSL] define cmd_prefix
[OMCSessionWSL] layout fix
* fix docstrings; replace old OMCPathDummy by OM*Path* to indicate it will work for any of these classe
* update timeout hadnling - define default value only once
* definition in OMSessionABC
* move `set_timeout()` to this class
* all other places use `timeout: Optional[float] = None`
* add log message on timeout change1 parent df69fab commit 11ecd58
1 file changed
Lines changed: 136 additions & 88 deletions
0 commit comments