Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ This component lets you run your own Python code directly within Keboola, with s
## Configuration

- `code`: JSON encoded Python code to run.
- `packages`: List of extra packages to be installed.
- `packages`: Array of extra packages to be installed.
- `user_properties`: Object containing custom configuration parameters. The key names prefixed with `#` will be encrypted upon saving.

If you're not sure whether you need to install certain package or not, you can run the command `uv pip list` via subprocess (see the example below).

Expand All @@ -24,6 +25,8 @@ print("See the full list of preinstalled packages:")
subprocess.check_call(["uv", "pip", "list"])
```

The above code in the `config.json` file format for local testing:

```json
{
"parameters": {
Expand All @@ -46,6 +49,8 @@ ci = CommonInterface()
print(ci.configuration.parameters)
```

The above code in the `config.json` file format for local testing:

```json
{
"parameters": {
Expand Down