question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"TypeError: 'str' object is not callable" on "Show record" in "Saved Queries"

See original GitHub issue

A clear and concise description of what the bug is.

Expected results

Displays the metadata of the target saved query

Actual results

The error TypeError: 'str' object is not callable is thrown

How to reproduce the bug

  1. Set up a query from SQL Editor in SQL Lab
  2. Save the query (with or without description)
  3. Go to Saved Queries in SQL Lab
  4. Click on Show record on any saved query

Environment

(please complete the following information):

  • superset version: Superset 0.999.0dev
  • python version: Python 3.8.5
  • node.js version: v11.0.0
  • npm version: 6.14.7

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dpgasparcommented, Sep 1, 2020

ok, found the cause, I’ll make a fix ASAP

0reactions
dpgasparcommented, Sep 1, 2020

Still unclear, working on it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve TypeError: 'str' object is not callable in Python
This tutorial explains How to resolve Typeerror: 'str' object is not callable in Python. To resolve this error, you need to change the...
Read more >
Why does code like `str = str(...)` cause a TypeError, but only ...
You are redefining what str() means. str is the built-in Python name of the string type, and you don't want to change it....
Read more >
How to Fix Type Error: Str Object is Not Callable - YouTube
Are you looking for a way on how to fix type error str object is not callable in your Python code? Here we...
Read more >
Python typeerror: 'str' object is not callable Solution
The “typeerror: 'str' object is not callable” error is raised when you try to call a string as a function. To solve this...
Read more >
base.py: TypeError: 'str' object is not callable when importing a ...
If you specify a module which does not import (it has syntax error or missing dependendies), base.py will raise mysterious TypeError.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found