Skip to content

D005 OMCSession - classes update - #435

Merged
adeas31 merged 6 commits into
OpenModelica:masterfrom
syntron:D005-OMCSession_classes_update
Apr 29, 2026
Merged

D005 OMCSession - classes update#435
adeas31 merged 6 commits into
OpenModelica:masterfrom
syntron:D005-OMCSession_classes_update

Conversation

@syntron

@syntron syntron commented Feb 27, 2026

Copy link
Copy Markdown
Contributor

(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
syntron added 2 commits April 21, 2026 22:05
[(_)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
[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
@syntron
syntron force-pushed the D005-OMCSession_classes_update branch from 8361414 to 684d32c Compare April 21, 2026 20:08
Comment thread OMPython/OMCSession.py Outdated
@syntron syntron mentioned this pull request Apr 29, 2026
@syntron
syntron force-pushed the D005-OMCSession_classes_update branch from 7246c36 to 8ff6d18 Compare April 29, 2026 17:29
* definition in OMSessionABC
* move `set_timeout()` to this class
* all other places use `timeout: Optional[float] = None`
@syntron
syntron force-pushed the D005-OMCSession_classes_update branch from 8ff6d18 to 39139e0 Compare April 29, 2026 17:31
@syntron
syntron force-pushed the D005-OMCSession_classes_update branch from 0b8cf5a to b6ec039 Compare April 29, 2026 17:40
@adeas31
adeas31 merged commit 11ecd58 into OpenModelica:master Apr 29, 2026
10 checks passed
@syntron
syntron deleted the D005-OMCSession_classes_update branch April 30, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants