Skip to content

Conversation

@aparajit-pratap
Copy link
Contributor

@aparajit-pratap aparajit-pratap commented Aug 19, 2020

Purpose

https://jira.autodesk.com/browse/DYN-2988
Add custom fixer for:

instance.None => getattr(instance, 'None')

image

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated

Reviewers

@SHKnudsen
@mmisol
@mjkkirschner

@aparajit-pratap aparajit-pratap changed the title Add custom fixer for instance.None [DYN-2988] Add custom fixer for instance.None Aug 19, 2020
@mmisol
Copy link
Collaborator

mmisol commented Aug 19, 2020

Please also add a test. You can base on the ones here https://github.com/DynamoDS/Dynamo/blob/master/test/DynamoCoreTests/PythonMigrationAssistantTests.cs

@aparajit-pratap aparajit-pratap added the PTAL Please Take A Look 👀 label Aug 19, 2020
Copy link
Collaborator

@mmisol mmisol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one final comment regarding the output folder name.

@aparajit-pratap
Copy link
Contributor Author

@mmisol changed the name as suggested. @mjkkirschner added some code comments to fixer.

@aparajit-pratap aparajit-pratap merged commit 9413baf into DynamoDS:master Aug 19, 2020
@aparajit-pratap aparajit-pratap deleted the fixer branch August 19, 2020 20:53
aparajit-pratap added a commit to aparajit-pratap/Dynamo that referenced this pull request Aug 19, 2020
* add custom fixer for instance.None

* cleanup

* cleanup

* add post build step to copy custom fixers to output directory

* add unit test

* review comments

* edit fixer code comments
aparajit-pratap added a commit that referenced this pull request Aug 19, 2020
* add custom fixer for instance.None

* cleanup

* cleanup

* add post build step to copy custom fixers to output directory

* add unit test

* review comments

* edit fixer code comments
aparajit-pratap added a commit that referenced this pull request Aug 28, 2020
* [DYN-2988] Add custom fixer for instance.None (#11022)

* add custom fixer for instance.None

* cleanup

* cleanup

* add post build step to copy custom fixers to output directory

* add unit test

* review comments

* edit fixer code comments

* turn on anti-aliasing (#11068)

* update base images for image comparison tests after anti-aliasing fix
aparajit-pratap added a commit that referenced this pull request Sep 2, 2020
* [DYN-2988] Add custom fixer for instance.None (#11022)

* add custom fixer for instance.None

* cleanup

* cleanup

* add post build step to copy custom fixers to output directory

* add unit test

* review comments

* edit fixer code comments

* turn on anti-aliasing (#11068)

* update base images for image comparison tests after anti-aliasing fix

* Guard against parser errors detected while migrating python code (#11080)

* guard against parser errors detected while migrating python code

* transfer Error state between side-by-side and inline diff views

* revert whitespace in unchanged file

* disable accept button for error state

* update migration message

* address review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PTAL Please Take A Look 👀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants