ansys / ansys/pyfluent

Add an abstract base class type for session argument in context manager

Open
#4,918 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
497
Forks
77
Avg merge
22h 37m
Merged PRs (30d)
45

Description

### 📝 Description of the feature

The "session" argument could have an abstract base class type that would show up in intellisense.

using(....

### 💡 Steps for implementing the feature

Create an Abstract base class for session type (for solver, meshing or FileSession)

### 🔗 Useful links and references

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the session argument types used by solver, meshing, and FileSession context managers; the issue does not name specific files or tests. Define the shared abstract session type so it is exposed for IntelliSense, and verify that all three context-manager variants use it consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.