This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new additional strict differ (#1190)
Closes #1230. ### Summary of Changes - new additional differ that filters mappings of api elements out whose parents are not mapped together. - `__repr__` method for api elements with only the id of the element. ### Testing Instructions run the `migrate` command before and after applying these improvements
- Loading branch information
Showing
13 changed files
with
1,055 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
package-parser/package_parser/processing/migration/model/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
from ._api_mapping import APIMapping | ||
from ._differ import AbstractDiffer, SimpleDiffer | ||
from ._mapping import ( | ||
APIMapping, | ||
ManyToManyMapping, | ||
ManyToOneMapping, | ||
Mapping, | ||
OneToManyMapping, | ||
OneToOneMapping, | ||
) | ||
from ._strict_differ import StrictDiffer |
Oops, something went wrong.