[umbrello] [Bug 432688] New: Python code generator does not add typehints

patrick bugzilla_noreply at kde.org
Tue Feb 9 12:59:07 GMT 2021


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: umbrello-devel at kde.org
          Reporter: patrickelectric at gmail.com
  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 the assignee for the bug.


More information about the umbrello-devel mailing list