-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
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
[Python APIView] tree token parser conversion #9146
base: main
Are you sure you want to change the base?
Conversation
359b9d3
to
410f978
Compare
e3e4428
to
c6033fe
Compare
packages/python-packages/apiview-stub-generator/apistub/nodes/_argtype.py
Outdated
Show resolved
Hide resolved
apiview.add_line_marker(self.namespace_id, add_cross_language_id=True) | ||
apiview.add_keyword("class", False, True) | ||
apiview.add_text(self.full_name, definition_id=self.namespace_id) | ||
line = review_lines.create_review_line(related_to_line=self.namespace_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: This decorator is not showing up in the staging diff. Check that that issue is fixed before deploying to prod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a big diff due to stuff being refactored into separate files, so I'm relying a lot on the tests continuing to pass. I do recommend adding logic to test the "context" feature to your tests.
packages/python-packages/apiview-stub-generator/tests/_test_util.py
Outdated
Show resolved
Hide resolved
packages/python-packages/apiview-stub-generator/tests/apiview_test.py
Outdated
Show resolved
Hide resolved
packages/python-packages/apiview-stub-generator/tests/class_parsing_test.py
Outdated
Show resolved
Hide resolved
packages/python-packages/apiview-stub-generator/tests/class_parsing_test.py
Outdated
Show resolved
Hide resolved
@@ -1,5 +1,8 @@ | |||
# Release History | |||
|
|||
## Version 0.3.14 (Unreleased) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update release date.
closes #7944