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

moban version 6 api update #4

Open
chfw opened this issue Aug 11, 2019 · 2 comments
Open

moban version 6 api update #4

chfw opened this issue Aug 11, 2019 · 2 comments

Comments

@chfw
Copy link
Member

chfw commented Aug 11, 2019

_reference: moremoban/moban#302

No longer, the first parameter is a list of directories but an instance of fs.multifs.MultFS.

as the following:

class Engine(object):
    def __init__(self, template_fs, options=None):
```_
@chfw
Copy link
Member Author

chfw commented May 29, 2020

without this update, moban-mako will not be compatible with moban 0.6.x +.

And a program endeavour is required to write a new template lookup using pyfilesystem 2 interface

https://github.com/sqlalchemy/mako/blob/master/mako/lookup.py

class PyfilesystemLookup(TemplateLookup):
     ...

@chfw
Copy link
Member Author

chfw commented May 29, 2020

@PrajwalM2212 any interests in updating it?

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