Bug 1433 - Convert classes factory methods to using class methods
Summary: Convert classes factory methods to using class methods
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: DTS (show other bugs)
Version: unspecified
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Luca Vizzarro
URL:
Depends on:
Blocks:
 
Reported: 2024-05-02 15:44 CEST by Luca Vizzarro
Modified: 2024-05-02 15:44 CEST (History)
2 users (show)



Attachments

Description Luca Vizzarro 2024-05-02 15:44:39 CEST
- Convert all the classes factory methods used as `@staticmethod` to `@classmethod`
- Requires to use `Self` and add `typing_extensions` to the Poetry requirements
- Mypy needs to be updated in order to use `Self`

Note You need to log in before you can comment on or make changes to this bug.