Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Conversation

Aclrian
Copy link
Contributor

@Aclrian Aclrian commented Jan 8, 2023

Closes #1184.

Summary of Changes

By inferencing over the attribute name, other types of the attribute can be found. They are added to the related attribute.

Testing Instructions

Convert an api via the migrate command and view the json file or run the test file package-parser/tests/processing/api/test_instance_attributes.py.

@Aclrian Aclrian linked an issue Jan 8, 2023 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Jan 8, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ JSON eslint-plugin-jsonc 2 0 0 21.04s
✅ JSON jsonlint 2 0 0.82s
✅ JSON prettier 2 0 0 14.87s
✅ JSON v8r 2 0 2.02s
✅ PYTHON bandit 4 0 0.6s
✅ PYTHON black 4 0 0 1.57s
✅ PYTHON flake8 4 0 0.44s
✅ PYTHON isort 4 0 0 1.26s
✅ PYTHON mypy 4 0 2.51s
✅ PYTHON pylint 4 0 5.34s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@Aclrian Aclrian force-pushed the 1184-improve-detection-of-attributes branch from baf8aae to f83a48f Compare January 8, 2023 15:13
@Aclrian Aclrian marked this pull request as ready for review January 8, 2023 15:45
@Aclrian Aclrian requested a review from lars-reimann as a code owner January 8, 2023 15:45
@Aclrian Aclrian merged commit 1422023 into main Jan 8, 2023
@Aclrian Aclrian deleted the 1184-improve-detection-of-attributes branch January 8, 2023 15:45
@github-actions
Copy link

github-actions bot commented Jan 8, 2023

🎉 This PR is included in version 1.86.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Included in a release label Jan 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve detection of attributes
1 participant