We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When parsing Python source files, StrictDoc's Python reader incorrectly extracts nested function names as class-level method names.
class Foo: def sort_by_name(people): def key_func(person): """@relation(REQ-1, scope=function)""" return person["name"].lower() return sorted(people, key=key_func) def sort_by_age(people): def key_func(person): """@relation(REQ-2, scope=function)""" return person["age"] return sorted(people, key=key_func)
[project] features = [ "REQUIREMENT_TO_SOURCE_TRACEABILITY", "SOURCE_FILE_LANGUAGE_PARSERS", "PROJECT_STATISTICS_SCREEN" ]
[DOCUMENT] TITLE: Decorated Method Test [REQUIREMENT] UID: REQ-1 TITLE: Requirement Title STATEMENT: Requirement Statement [REQUIREMENT] UID: REQ-2 TITLE: Requirement Title STATEMENT: Requirement Statement
strictdoc server .
the extracted name is function Foo.key_func()
function Foo.key_func()
the extracted name should be function Foo.sort_by_name.key_func()
function Foo.sort_by_name.key_func()
OS: Windows 11 Browser: MS Edge 136.0.3240.76 StrictDoc: 0.8.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When parsing Python source files, StrictDoc's Python reader incorrectly extracts nested function names as class-level method names.
To Reproduce
strictdoc server .
the extracted name is
function Foo.key_func()
Expected behavior
the extracted name should be
function Foo.sort_by_name.key_func()
Screenshots
Environment
OS: Windows 11
Browser: MS Edge 136.0.3240.76
StrictDoc: 0.8.0
Additional context
The text was updated successfully, but these errors were encountered: