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

empty __init__.py files or not? #480

Open
Morganizer opened this issue Sep 12, 2017 · 0 comments
Open

empty __init__.py files or not? #480

Morganizer opened this issue Sep 12, 2017 · 0 comments

Comments

@Morganizer
Copy link

Morganizer commented Sep 12, 2017

changes.rst says
"The init.py file import statements should now contain the following:
from ZenPacks.zenoss.ZenPackLib import zenpacklib
CFG = zenpacklib.load_yaml()
schema = CFG.zenpack_module.schema"
Which is in contrast to what I have been going by on the wiki, for example https://zenpack-sdk.zenoss.com/en/latest/tutorial-http-api/modeler-plugin.html Which is right? What would the symptoms be if the empty files were impactful?

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