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

[feature request] Add is_defined #28

Open
erogol opened this issue Nov 25, 2021 · 0 comments
Open

[feature request] Add is_defined #28

erogol opened this issue Nov 25, 2021 · 0 comments

Comments

@erogol
Copy link
Member

erogol commented Nov 25, 2021

Use coqpit.is_defined('field') to check if "field" in coqpit and coqpit.field is not None:

It is a common condition when you parse out a coqpit object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant