Title: Restriction by a list with an empty list element fails · Issue #492 · datajoint/datajoint-python · GitHub
Open Graph Title: Restriction by a list with an empty list element fails · Issue #492 · datajoint/datajoint-python
X Title: Restriction by a list with an empty list element fails · Issue #492 · datajoint/datajoint-python
Description: The following restriction fails: MyTable() & [ [] ] This is caused by inappropriate parsing of the OrList elements expecting them to be strings, despite the fact that inner [] gets translated into False boolean value. or_list should be f...
Open Graph Description: The following restriction fails: MyTable() & [ [] ] This is caused by inappropriate parsing of the OrList elements expecting them to be strings, despite the fact that inner [] gets translated into ...
X Description: The following restriction fails: MyTable() & [ [] ] This is caused by inappropriate parsing of the OrList elements expecting them to be strings, despite the fact that inner [] gets translated i...
Opengraph URL: https://github.com/datajoint/datajoint-python/issues/492
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Restriction by a list with an empty list element fails","articleBody":"The following restriction fails:\r\n\r\n```python\r\nMyTable() \u0026 [ [] ]\r\n```\r\n\r\nThis is caused by inappropriate parsing of the OrList elements expecting them to be strings, despite the fact that inner `[]` gets translated into `False` boolean value. `or_list` should be first parsed to exclude `False` elements. ","author":{"url":"https://github.com/eywalker","@type":"Person","name":"eywalker"},"datePublished":"2018-10-08T13:50:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/492/datajoint-python/issues/492"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5f09b556-0dfe-4455-8514-5fe274ec9ecb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D062:FC5F:14CFAA6:1E2A40F:6A4E42DF |
| html-safe-nonce | 98422be3de6394279cabd8a6de84788ae81d48fd9888eb960475e5f045956da3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDYyOkZDNUY6MTRDRkFBNjoxRTJBNDBGOjZBNEU0MkRGIiwidmlzaXRvcl9pZCI6IjI4NzQ5MDcyMjgzMjE0OTc4MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9de4fca6c81a8af4b5b28032898bb6cadde63991e782d6267cd6be58dd789dd6 |
| hovercard-subject-tag | issue:367800251 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/492/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35e5d3cd286ea1eab54d91b8ac5823e16ef5762d994a08ee7a31d2bede19ac4b/datajoint/datajoint-python/issues/492 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35e5d3cd286ea1eab54d91b8ac5823e16ef5762d994a08ee7a31d2bede19ac4b/datajoint/datajoint-python/issues/492 |
| og:image:alt | The following restriction fails: MyTable() & [ [] ] This is caused by inappropriate parsing of the OrList elements expecting them to be strings, despite the fact that inner [] gets translated into ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eywalker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git |
| octolytics-dimension-user_id | 2375501 |
| octolytics-dimension-user_login | datajoint |
| octolytics-dimension-repository_id | 5866704 |
| octolytics-dimension-repository_nwo | datajoint/datajoint-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5866704 |
| octolytics-dimension-repository_network_root_nwo | datajoint/datajoint-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9fabff9b8b127e686a3ec86f91422e818056ca2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width