Skip to content

[ModelicaSystem] rename getconn => session #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 102 commits into
base: master
Choose a base branch
from

Conversation

syntron
Copy link
Contributor

@syntron syntron commented Aug 14, 2025

just as final cleanup: rename getconn => session

on top of PR #333

syntron added 29 commits August 16, 2025 14:49
* not working: 3.10
* working:     3.12
* use modified pathlib.Path as OMCPath
* this is scripting output and, thus, it cannot be parsed
see commit ID: aa74b36 - [OMCPath] add more functionality and docstrings
* differentiate between
  * Python >= 3.12 uses OMCPath based on OMC for filesystem operation
  * Python <  3.12 uses a pathlib.Path based implementation which is
    limited to OMCProcessLocal
syntron added 28 commits August 16, 2025 15:13
* define file name based on result file name & Path
* simplify code
* allow different ways to define the path
remove pathlib - use OMCPath and (for type hints) os.PathLike
…te()

* no dependency loop OMCsessionZMQ => OMCProcess* => OMCSessionZMQ
* check if model executable exists will be handled via ModelicaSystemCmd
@syntron syntron force-pushed the ModelicaSystem_rename_getconn_session branch from c99d207 to 7bf3310 Compare August 16, 2025 13:26
@adeas31 adeas31 added this to the 4.1.0 milestone Aug 18, 2025
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