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

specifying tornado settings in cmdline #1407

Open
eyalk11 opened this issue Oct 15, 2023 · 0 comments
Open

specifying tornado settings in cmdline #1407

eyalk11 opened this issue Oct 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@eyalk11
Copy link

eyalk11 commented Oct 15, 2023

Description

Probably not your bug strictly, but I tried a lot of things.
I want to change tornado settings ,and every time I tried (i.e.):

C:\Users\ekarni\.pyenv\pyenv-win\versions\3.10\python.EXE -m voila  --Voila.tornado_settings `{"allow_origin":"*","disable_check_xsrf":"true"`} defaultnotebook.ipynb

I get:

[Voila] CRITICAL | Bad config encountered during initialization: The 'tornado_settings' trait of a Voila instance expected a dict, not the list ['`{"allow_origin":"*","disable_check_xsrf"'].

Voila 0.4.3. The `} is because of powershell . But didn't work in cmd without it. Also didn't work in Voila 0.5.4.

@eyalk11 eyalk11 added the bug Something isn't working label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant