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

Pretty print for metadata causes error #218

Closed
marcverhagen opened this issue Apr 24, 2024 · 1 comment
Closed

Pretty print for metadata causes error #218

marcverhagen opened this issue Apr 24, 2024 · 1 comment
Labels
🐛B Something isn't working

Comments

@marcverhagen
Copy link
Contributor

Bug Description

When pinging the app with the GET method you get an error:

  File "/Applications/ADDED/venv/clams/app-swt/lib/python3.10/site-packages/clams/app/__init__.py", line 338, in cast
    assert isinstance(vs, list), f"Expected a list of values for key {k}, but got {vs} of type {type(vs)}"
AssertionError: Expected a list of values for key pretty, but got true of type <class 'str'>

Reproduction steps

With any app running on localhost

curl localhost:5000?pretty=True

Expected behavior

No response

Log output

No response

Screenshots

No response

Additional context

No response

@marcverhagen marcverhagen added the 🐛B Something isn't working label Apr 24, 2024
@clams-bot clams-bot added this to infra Apr 24, 2024
@github-project-automation github-project-automation bot moved this to Todo in infra Apr 24, 2024
@keighrim
Copy link
Member

keighrim commented Jun 7, 2024

should be fixed in #222 (via 3d5bc76), closing as complete. Please re-open when the issue persist in 1.2.2

@keighrim keighrim closed this as completed Jun 7, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in infra Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛B Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants