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

Call a Python function from ysv #59

Open
anatoly-scherbakov opened this issue Oct 15, 2020 · 0 comments
Open

Call a Python function from ysv #59

anatoly-scherbakov opened this issue Oct 15, 2020 · 0 comments

Comments

@anatoly-scherbakov
Copy link
Collaborator

Depends on: #58

integrations:
    python:
        interpreter: python3.8
        module: my_python_module.ysv_functions
columns:
    - first_name:
        - python: fake_first_name
        - uppercase

integrations key permits us to support multiple integrations with different programming languages. If at least one python command appears in the ysv configuration, the system must spawn a Python interpreter attached to every worker thread.

Python module specified in the module argument will be imported into that interpreter.

For every cell, specified Python function will be called, and the result of its execution will be used as cell value.

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