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

Should we keep (Module, Bundle, Sim, etc) non-schema attributes around? #182

Open
dan-fritchman opened this issue Sep 7, 2023 · 0 comments

Comments

@dan-fritchman
Copy link
Owner

dan-fritchman commented Sep 7, 2023

Example:

@h.module 
class M:
  n = 5 
  i = h.Input(width=n)

M.n # <= the issue

The issue: is M.n

  • A thing (probably 5), or
  • An AttributeError

Current answer is the latter

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

1 participant