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

Create object library class #163

Open
spencerahill opened this issue Mar 28, 2017 · 0 comments
Open

Create object library class #163

spencerahill opened this issue Mar 28, 2017 · 0 comments
Labels
Milestone

Comments

@spencerahill
Copy link
Owner

Copying from #156 (comment), since it's not the main topic of that issue:

One idea: create an ObjectLibrary class, something like:

class ObjectLibrary(object):
    def __init__(self):
        self.projects = {}
        self.variables = {} 

I definitely want to implement this (although not necessarily with the exact API above). Among other things, the examples section of the docs, which gets compiled from aospy/docs, is unable to load the example_obj_lib module located in aospy/aospy/examples, without a hack-ish step of cd to the examples directory.

More generally, it just makes sense to have an actual class to represent this core data structure, rather than just having it be a module or package upon which we just require certain attributes.

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

No branches or pull requests

1 participant