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

Error if joinable tables API gets a table with no links #3747

Closed
seancolsen opened this issue Aug 8, 2024 · 0 comments · Fixed by #3748
Closed

Error if joinable tables API gets a table with no links #3747

seancolsen opened this issue Aug 8, 2024 · 0 comments · Fixed by #3748
Assignees
Labels
ready Ready for implementation work: backend Related to Python, Django, and simple SQL

Comments

@seancolsen
Copy link
Contributor

If I run tables.list_joinable on a table with no inbound or outbound links, I get:

TypeError: 'NoneType' object is not iterable

Instead, I'd like to see:

{
  "joinable_tables": [],
  "target_table_info": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Ready for implementation work: backend Related to Python, Django, and simple SQL
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants