8000 Make it easy to create a class that behaves like a Session · Issue #832 · larray-project/larray · GitHub
[go: up one dir, main page]

Skip to content
8000
Make it easy to create a class that behaves like a Session #832
Closed
@alixdamman

Description

@alixdamman

The main idea of the present issue is to benefit from both auto-completion of PyCharm (by defining user classes) and all (nice) features offered by the Session class.

This implies to develop a mechanism to:

  • inherit from Session class,
  • automatically push all attributes defined in the sub-class to the self._objects attribute of Session.

Another (big) advantage of using user-defined classes is to reduce significantly the number of global variables and function parameters in the models that are developed in house.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0