Skip to content
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

Specs cleanup #477

Merged
merged 4 commits into from
Dec 15, 2021
Merged

Specs cleanup #477

merged 4 commits into from
Dec 15, 2021

Conversation

IKupriyanov-HORIS
Copy link
Collaborator

No description provided.

return obj


def _cleanup_spec(obj: dict):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks tricky, has too much knowledge about internals, trying to do too much when this is not required.

Lets's use _filter_none (move it to core, may be rename) in _specs_to_dict(opts_raw) when v is a dict.

@alshan alshan merged commit 614693b into master Dec 15, 2021
@IKupriyanov-HORIS IKupriyanov-HORIS deleted the to-dict-cleanup branch December 16, 2021 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants