looker-open-source / pylookml

A pythonic api for automatic lookml
https://pylookml.readthedocs.io/en/latest/introduction.html
MIT License
44 stars 22 forks source link

Support loading from cached version of project #19

Open tpakeman opened 4 years ago

tpakeman commented 4 years ago

It would be great if you could initialise a Project from a local directory, or have the option to use the cached version saved in .tmp instead of loading from git each time. This could speed up the development process

russlooker commented 4 years ago

You can access files raw from the filesystem -- but you're right, kind of designed it so the Project was more a connection to git. Can certainly add this as an enhancement in the next couple releases.

By speed up the development workflow is the download taking too long? Whats the usability feedback there?

Also just thinking it through, if we have an existing project in .tmp will still need to pull down any diffs so we're not operating on stale code.