Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Dynamically providing parameters containing "." does not work #594

Open
jankrepl opened this issue Mar 21, 2022 · 0 comments
Open

Dynamically providing parameters containing "." does not work #594

jankrepl opened this issue Mar 21, 2022 · 0 comments
Labels
🐛 bug fix Something isn't working

Comments

@jankrepl
Copy link
Contributor

The following command:

bbs_database run -n  --luigi-config-args "AddTask.db_url:my.sqlite"

gives this error.

change = re.split(r"[.:]", param, maxsplit=3)
TypeError: set() takes from 3 to 4 positional arguments but 5 were given
  • Is there a way how I can make it work without changing the source code?
  • If not, then we should probably adjust the source to allow for parameters that have "." inside of them (e.g. filepath)

The exact line of code causing the problem is here:

change = re.split(r"[.:]", param, maxsplit=3)

@jankrepl jankrepl added the 🐛 bug fix Something isn't working label Mar 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug fix Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant