Skip to content

FluentConnection refactoring #4931

@seanpearsonuk

Description

@seanpearsonuk

FluentConnection class refactoring will help towards the work of making PyFluent flexible to support REST in addition to gRPC connectivity.

FluentConnection covers many concerns. A clue that this is so is the almost twenty construction arguments.

Fluent's PyConsole switches off gRPC connectivity by passing in channel='' which is consistent with the fact that the concept of gRPC connectivity is (incorrectly) embedded in FluentConnection itself, rendering it less flexible. Note that channel='' is itself a bug waiting to explode and that the FluentConnection constructor does not properly handle such irregular inputs.

We should address this early in the task to allow PyFluent to support REST. I will add more details later.

@prmukherj @mayankansys

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

2026 Q1 Jan - Mar

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions