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

[WIP] Computable inputs python #414

Closed
wants to merge 18 commits into from

Conversation

pigmej
Copy link
Contributor

@pigmej pigmej commented Dec 4, 2015

Merge #413 first, this PR is only about Python part.

Details:
Python part is implemented as simple repl like server, with simple sandbox "like" environment based on seccomp. internally Mgr ensures that this process is running when needed etc.

@pigmej pigmej changed the title Computable inputs python [WIP] Computable inputs python Dec 4, 2015
@pigmej
Copy link
Contributor Author

pigmej commented Dec 4, 2015

I added Jinja2 computable input types (it doesn't depend on Python computable input types though)

https://github.com/pigmej/solar/blob/computable_inputs_python/solar/dblayer/test/test_computable_inputs.py#L286 this is test for the same case as LUA and Python.

D is data with raw passed values
R is make_arr result
for jinja we also pass flat input as kwargs
@pigmej
Copy link
Contributor Author

pigmej commented Dec 7, 2015

Merged to computable_inputs Closing this #413 contains all changes.

@pigmej pigmej closed this Dec 7, 2015
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

Successfully merging this pull request may close these issues.

1 participant