Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

IS-1112: Allow list and dict as score parameter #470

Merged

Conversation

goldworm-icon
Copy link
Member

@goldworm-icon goldworm-icon commented Jul 1, 2020

  • List and TypedDict are available for score parameter
  • Refactor IconScoreBaseMeta and IconScoreBase
  • Verify internal call arguments

Chiwon Cho and others added 26 commits July 2, 2020 00:30
* Put TODO comments to the locations of some codes that are needed to be fixed for score param conversion
* Unittest does not work
* Rename ConstBitFlag to ScoreFlag
* Change type from IntEnum to Flag
* Add functions for ScoreFlag management
* Fix a minor bug in IconScoreBase.__is_func_readonly()
* Remove useless unittests
* Fix minor bugs in test_element.py
* Optimize code
* Some unitests remain failed
* Revision handling is needed
* New params type conversion caused some unittest failures.
* One unittest still remains failed
* Fix unittest failures caused by IconScoreEngine._convert_score_params_by_annotations()
* Add ScoreFlag.FALLBACK
* Add unittest
* Applying new type conversion to on_install and on_update is under development
* verify_internal_call_arguments is under development
* Bugfix normalize_signature()
* Add normalize_return_annotation()
* All subclasses and functions associated with ScoreElement are also renamed
@goldworm-icon goldworm-icon requested a review from a team July 1, 2020 15:41
goldworm-icon and others added 8 commits July 3, 2020 22:34
* a: int = None -> a: Union[int, None] = None
* Add is_struct_valid() and check_if_struct_is_valid()
* Fix a bug in merge_arguments
* Replace dict with OrderedDict in str_to_object()
* Revision handling
* Fix unittest failures
* Deny Dict type as SCORE parameter
* Bugfix in set_default_value_to_params()
* Add related unittests
@goldworm-icon goldworm-icon marked this pull request as ready for review July 6, 2020 15:09
@goldworm-icon goldworm-icon merged commit 3d00bd7 into release/1.7.0 Jul 6, 2020
@goldworm-icon goldworm-icon deleted the IS-1112-allow-list-and-dict-as-score-parameter branch September 2, 2020 06:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants