Skip to content

Python version  #40

Description

@GijsGroote

Python 3.10 allows dataclasses to become keyword_only, see this

This would allow a base class to handle optional parameters such as color, mass, and orientation and put the functionality in the base class. While child classes can handle required classes such as geometry.

This will lower redundant code.

I think we must now wait for casadi to support python 3.10 as mentioned here casadi/casadi#2877

after that, we could (not should) move toward python 3.10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions