https://bugs.kde.org/show_bug.cgi?id=432688

            Bug ID: 432688
           Summary: Python code generator does not add typehints
           Product: umbrello
           Version: 2.33.1 (KDE releases 20.12.1)
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: exporter
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Python code that is generated does not include typehints
ref: https://docs.python.org/3/library/typing.html

STEPS TO REPRODUCE
1. Create UML diagram
2. Export code as python

OBSERVED RESULT
The functions will not have typehint
`def create(self, videoStreamInformation):`


EXPECTED RESULT
Code with typehint
`def create(self, videoStreamInformation: VideoAndStreamInformation):`

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: arch 5.10.12-arch1-1
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to