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

API and logic for optional or not-optional members? #188

Open
metaperl opened this issue Jan 27, 2023 · 1 comment
Open

API and logic for optional or not-optional members? #188

metaperl opened this issue Jan 27, 2023 · 1 comment

Comments

@metaperl
Copy link

  1. If defining a member is optional what syntax is used?
  2. If a member must be defined when constructing an instance, what syntax specifies this?
  3. If a member is optional and no default value has been specified what happens?
@MatthieuDartiailh
Copy link
Member

Atom does not generate automatically an __init__ so by default you can always create an instance. Extending the API to generate
meaningful init by default is on my mind but I do not have a concrete plan yet.

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

No branches or pull requests

2 participants